Files
it-sec-exercises/sheet02/a2/c.txt
Leo d3aa96fa84
All checks were successful
zip and release / build-and-release (push) Successful in 4s
feat: a2 c
2026-05-01 01:32:01 +02:00

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