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

Mvayngrib curves #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Mvayngrib curves #3

wants to merge 3 commits into from

Conversation

shea256
Copy link
Contributor

@shea256 shea256 commented Sep 16, 2016

No description provided.

@shea256
Copy link
Contributor Author

shea256 commented Sep 16, 2016

This failed with the following:

/home/ubuntu/key-encoder-js/test.js:173
        var ecdh = crypto.createECDH(aliases[curveName])
                          ^
TypeError: Object #<Object> has no method 'createECDH'
    at Test.<anonymous> (/home/ubuntu/key-encoder-js/test.js:173:27)
    at Test.bound [as _cb] (/home/ubuntu/key-encoder-js/node_modules/tape/lib/test.js:63:32)
    at Test.run (/home/ubuntu/key-encoder-js/node_modules/tape/lib/test.js:82:10)
    at Test.bound [as run] (/home/ubuntu/key-encoder-js/node_modules/tape/lib/test.js:63:32)
    at Object.next [as _onImmediate] (/home/ubuntu/key-encoder-js/node_modules/tape/lib/results.js:70:15)
    at processImmediate [as _immediateCallback] (timers.js:345:15)
npm ERR! Test failed.  See above for more details.

@mvayngrib It looks like createECDH isn't present as a method in the crypto library supplied with the specific node version they're running. Any idea how wide the support is for this method?

@shea256 shea256 mentioned this pull request Sep 16, 2016
@mvayngrib
Copy link

re: createECDH, it's available starting with node 0.12: https://nodejs.org/docs/v0.12.0/api/crypto.html

re: test vectors, i haven't been able to find them so far...

@CLAassistant
Copy link

CLAassistant commented Nov 16, 2023

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants