Skip to content

Commit

Permalink
fix example in the readme (#114)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Fossati <thomas.fossati@arm.com>
  • Loading branch information
thomas-fossati committed Nov 18, 2022
1 parent f72b6bc commit 4dbb9a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ import (

func VerifyP256(publicKey crypto.PublicKey, sig []byte) error {
// create a verifier from a trusted private key
verifier, err := cose.NewVerifier(cose.AlgorithmES512, publicKey)
verifier, err := cose.NewVerifier(cose.AlgorithmES256, publicKey)
if err != nil {
return err
}
Expand Down

0 comments on commit 4dbb9a7

Please sign in to comment.