No private key could be found

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
LVL 1
JElsterAsked:
Who is Participating?
 
Dave HoweConnect With a Mentor Software and Hardware EngineerCommented:
List-keys shows public (encrypt) keys. List-secret-keys is needed to show private (decrypt) keys....
0
 
Dave HoweSoftware and Hardware EngineerCommented:
--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
 
JElsterAuthor Commented:
My key is listed using -list-keys
Don't understand why I get NO PRIVATE KEY COULD BE FOUND FOR DECRYPTION
0
All Courses

From novice to tech pro — start learning today.