5 lines
331 B
Plaintext
5 lines
331 B
Plaintext
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 |