Solved

No private key could be found

Posted on 2014-12-03
3
580 Views
Last Modified: 2014-12-08
Trying to decrypt a file.
--list-keys  shows my keys

trying the following

pgp --decrypt test.pgp

I get  1080 NO PRIVATE KEY COULD BE FOUND FOR DECRYPTION

Any Ideas
thx
0
Comment
Question by:JElster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 33

Expert Comment

by:Dave Howe
ID: 40478359
--list-secret-keys should show you which of the public keys returned by --list-keys has a secret key.

I don't have pgp cli any more (I went to gpg ages ago) but seem to recall -v (verbose) mode on the decrypt gave more info on what it was trying to use to decrypt? the message implies that you have one or more of the public keys encrypted to, but not the private key required to decrypt
0
 
LVL 1

Author Comment

by:JElster
ID: 40480532
My key is listed using -list-keys
Don't understand why I get NO PRIVATE KEY COULD BE FOUND FOR DECRYPTION
0
 
LVL 33

Accepted Solution

by:
Dave Howe earned 500 total points
ID: 40480632
List-keys shows public (encrypt) keys. List-secret-keys is needed to show private (decrypt) keys....
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

As a financial services provider, your business is impacted by two of the strictest federal regulations on record: the Sarbanes-Oxley Act and the Gramm-Leach-Bliley Act. Correctly implementing faxing into your organization to provide secure, real-ti…
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
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 …
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 …

696 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