Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]浏览器PDF密签创建失败。 #47

Open
afeiiiii opened this issue Sep 15, 2021 · 0 comments
Open

[BUG]浏览器PDF密签创建失败。 #47

afeiiiii opened this issue Sep 15, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@afeiiiii
Copy link
Contributor

afeiiiii commented Sep 15, 2021

Bug 描述

简要描述您碰到的问题

  1. 系统环境: CentOs7
  2. Ehoney版本: V2.0
  3. CommitID: 5b6544a
  4. 具体问题: 浏览器PDF密签创建失败

Bug 重现步骤

  1. 进入密签管理,新建BrowserPDF类型密签。
  2. 切换至蜜罐管理,新建密签选择上述建的密签

目前结果

提示浏览器PDF密签创建失败

预期结果

能够正确创建BrowserPDF

image

./TraceBrowserPDF -w 1234567890 -o test.pdf -u http://127.0.0.1:5000/api/msgreceive?tracecode=d3732218-fcdc-4c24-9c11-a95e2d09a09f Error: Type of text must be string or Array. "20" is not recognized. at Object.text (/snapshot/pdfhoneytoken/node_modules/jspdf/dist/jspdf.node.min.js:57:38628) at Object.<anonymous> (/snapshot/pdfhoneytoken/pdfhoneytoken.js) at Module._compile (pkg/prelude/bootstrap.js:1751:22) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Function.runMain (pkg/prelude/bootstrap.js:1804:12) at internal/main/run_main_module.js:17:47

@afeiiiii afeiiiii added the bug Something isn't working label Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant