gpg: decryption failed: No secret key 2


When decrypt a gpp-file (gpg-d file.gpg> file) i got the error-message “gpg: decryption failed: No secret key”. It’s funny, the key is certainly there.

A simple
chmod o + rw $ (tty)
has helped.

Apparently gpg has inside the su environment a few problems. Sure, you can also set the necessary variables differently.


Leave a comment

Your email address will not be published. Required fields are marked *

2 thoughts on “gpg: decryption failed: No secret key