Skip to content

fix: use native node crypto instead of forge for RS\d{3}#202

Closed
panva wants to merge 1 commit into
cisco:masterfrom
panva:node-native-rsassa
Closed

fix: use native node crypto instead of forge for RS\d{3}#202
panva wants to merge 1 commit into
cisco:masterfrom
panva:node-native-rsassa

Conversation

@panva

@panva panva commented Jul 14, 2018

Copy link
Copy Markdown
Contributor

See

node -e 'console.log(crypto.getHashes())' | grep 'RSA-SHA'

The hash name passed in was wrong and native crypto was never used.

Furthermore rsa-util convertToPem now caches public/private separately, else the tests that reuse the same key object and call the method once true then false were failing.

See
```
node -e 'console.log(crypto.getHashes())' | grep 'RSA-SHA'
```
The hash name passed in was wrong and native crypto was never used.
Furthermore rsa-util convertToPem now caches public/private separately,
else the tests that reuse the same key object and call the method
once true then false were failing.
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.

1 participant