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

Unhandled promise rejection. Error: Unknown point format #11

Open
brannondorsey opened this issue Sep 25, 2018 · 0 comments
Open

Unhandled promise rejection. Error: Unknown point format #11

brannondorsey opened this issue Sep 25, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@brannondorsey
Copy link
Owner

I need to look into this more, but I believe this occurs in an invalid digital signature.

(node:19671) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:19671) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:19671) UnhandledPromiseRejectionWarning: Error: Unknown point format
    at ShortCurve.decodePoint (/home/braxxox/Documents/code/chattervox/node_modules/elliptic/lib/elliptic/curve/base.js:285:9)
    at KeyPair._importPublic (/home/braxxox/Documents/code/chattervox/node_modules/elliptic/lib/elliptic/ec/key.js:99:28)
    at new KeyPair (/home/braxxox/Documents/code/chattervox/node_modules/elliptic/lib/elliptic/ec/key.js:17:10)
    at Function.fromPublic (/home/braxxox/Documents/code/chattervox/node_modules/elliptic/lib/elliptic/ec/key.js:25:10)
    at EC.keyFromPublic (/home/braxxox/Documents/code/chattervox/node_modules/elliptic/lib/elliptic/ec/index.js:50:18)
    at Keystore.verify (/home/braxxox/Documents/code/chattervox/build/Keystore.js:121:28)
    at Messenger.<anonymous> (/home/braxxox/Documents/code/chattervox/build/Messenger.js:111:46)
    at Generator.next (<anonymous>)
    at fulfilled (/home/braxxox/Documents/code/chattervox/build/Messenger.js:4:58)
    at <anonymous>
(node:19671) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
@brannondorsey brannondorsey added the bug Something isn't working label Sep 25, 2018
@brannondorsey brannondorsey self-assigned this Sep 25, 2018
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