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

node-sshpk#93 sha384 certificate signatures can't be used #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arekinath
Copy link
Contributor

This resolves #93 and also cleans up some other weird behaviour in the Signature toBuffer implementation (such as accepting random invalid strings as format names)

break;
case 'sha512':
stype = 'rsa-sha2-512';
break;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Silly question. Why is there no case for 'sha384'? Pardon any ignorance; is it non-standard/not-supported? Does the 'sha1'/undefined case cover it?

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.

Support for SHA384
2 participants