gpg- decryption failed- No secret key

Solution Unverified - Updated -

Issue

  • Unable to decrypt the file using gpg-key.
# gpg --output output.tar.gz --decrypt files.tar.gz.gpg
gpg: encrypted with RSA key, ID A32A72BA
gpg: decryption failed: No secret key

Environment

  • Red Hat Enterprise Linux 7.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In