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
Encryption

Avatar of undefined
Last Comment
Dave Howe
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
JElster
Flag of United States of America image

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

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Encryption
Encryption

Encryption is the process of encoding messages or information in such a way that only authorized parties can read it. In an encryption scheme, the intended communication information or message, referred to as plaintext, is encrypted using an encryption algorithm, generating ciphertext that can only be read if decrypted. For technical reasons, an encryption scheme usually uses a pseudo-random encryption key generated by an algorithm. An authorized recipient can easily decrypt the message with the key provided by the originator to recipients, but not to unauthorized interceptors.

8K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo