Solved

No private key could be found

Posted on 2014-12-03
3
506 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
  • 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
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 …

777 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