Today I tried to sign and verify a document with openssl dgst. Everything
worked ok when I used rsa keys. However when I used dsa key, the
verification failed with error about the private key. That puzzled me as
verification should use only the public key. Anybody with similar experience
to share? Many thanks.