Link to home
Start Free TrialLog in
Avatar of JElster
JElsterFlag for United States of America

asked on

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
Avatar of Dave Howe
Dave Howe
Flag of United Kingdom of Great Britain and Northern Ireland image

--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
Avatar of JElster

ASKER

My key is listed using -list-keys
Don't understand why I get NO PRIVATE KEY COULD BE FOUND FOR DECRYPTION
ASKER CERTIFIED SOLUTION
Avatar of Dave Howe
Dave Howe
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial