Why is there no secret key?

Ayoub Misherghi ayoubhm at gmail.com
Mon Jul 20 20:25:05 CEST 2020


ayoub at vboxpwfl:~/testdir$ ls

textfile


ayoub at vboxpwfl:~/testdir$ gpg -r develop1 -e textfile
ayoub at vboxpwfl:~/testdir$ ls

textfile  textfile.gpg



ayoub at vboxpwfl:~/testdir$ gpg -u develop1 -o textfile.dcr -d textfile.gpg
gpg: encrypted with 256-bit ECDH key, ID 367BD2210D4E904D, created 
2020-07-09
       "develop1"
gpg: public key decryption failed: End of file

gpg: decryption failed: No secret key



ayoub at vboxpwfl:~/testdir$ gpg --list-secret-keys
/home/ayoub/.gnupg/pubring.kbx
------------------------------
sec   ed25519 2020-07-09 [SC] [expired: 2020-07-19]
       3C5B212A55B966881E2D2718A45398B520BEE91E
uid           [ expired] sentry

sec   ed25519 2020-07-09 [SC] [expires: 2021-07-09]
       7A675D7F52BC905C22F8249091556BC29D4C595E
uid           [ultimate] develop1
ssb   cv25519 2020-07-09 [E] [expires: 2021-07-09]

ayoub at vboxpwfl:~/testdir$




More information about the Gnupg-users mailing list