Solved

GPG - Decryption failed : secret key not available

Posted on 2014-01-22
1
1,929 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

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.
Cybersecurity has become the buzzword of recent years and years to come. The inventions of cloud infrastructure and the Internet of Things has made us question our online safety. Let us explore how cloud- enabled cybersecurity can help us with our b…
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 …
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…

832 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