Skip to content

Conversation

@arekinath
Copy link

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)

lib/signature.js Outdated
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