This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
copy the publickey into a .pem file that starts with -----BEGIN PUBLIC KEY----- and ends with -----END PUBLIC KEY----- and has linebreaks after 64 chars.
|
||||
then decode the base64 signature
|
||||
base64 -d b-signature.txt > signature.bin
|
||||
verify using openssl
|
||||
openssl dgst -sha256 -verify c-pubkey.pem -signature signature.bin plaintext.txt
|
||||
Reference in New Issue
Block a user