echo -n "This private key has been compromised. Challenge: " | openssl dgst -sha256 -sign priv.key | base64

: or
: or