Solved

GPG - Decryption failed : secret key not available

Posted on 2014-01-22
1
1,937 Views
Last Modified: 2014-01-22
Hi..
I have a public key that I installed on the key ring.
Trying to decrypt a file and get the following
Decryption failed : secret key not available

What am I missing?  How do I get the secret key. I have no secret keys

gpg --list-secet-keys

thanks inadvance
0
Comment
Question by:JElster
1 Comment
 
LVL 33

Accepted Solution

by:
Dave Howe earned 500 total points
ID: 39800276
You cannot decrypt an encrypted message/file using a public key.

in gpg, you use the private key to decrypt or sign.
you use the public key to encrypt or verify signatures.

so, with the public key only, you could encrypt more files, but not decrypt any of them.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

You cannot be 100% sure that you can protect your organization against crypto ransomware but you can lower down the risk and impact of the infection.
Worried about if Apple can protect your documents, photos, and everything else that gets stored in iCloud? Read on to find out what Apple really uses to make things secure.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question