Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Decryption of a gpg file using gpg command

Krishna RajaAug 4 2017 — edited Aug 4 2017

Hi,

Please let me the syntax to decrypt of a gpg file using gpg command.

I tried to decrypt using the below command. It gives the error "Decryption Failed: No secret key"

-bash-4.1$ gpg --use-embedded-filename --verbose test.xml.gpg

Version: BCPG v1.47

gpg: armor header:

gpg: public key is 8ACF6864

gpg: encrypted with RSA key, ID 8ACF6864

gpg: decryption failed: No secret key

Please let me know the correct syntax for the same.

Thanks,

Krishna

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 1 2017
Added on Aug 4 2017
7 comments
2,465 views