forked from go-jose/go-jose
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return the proper algorithm for ECDSA keys (go-jose#45)
Each ECDSA key type can only use a single signature algorithm. The previous version returned ES256, ES384, and ES512 for all ECDSA keys. Now we only return the one algorithm which matches the actual key type. This fixes the "This could be more precise" comment.
- Loading branch information
Showing
2 changed files
with
86 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters