ayoub@vboxpwfl:~/testdir$ ls
textfile
ayoub@vboxpwfl:~/testdir$ gpg -r develop1 -e textfile
ayoub@vboxpwfl:~/testdir$ ls
textfile textfile.gpg
ayoub@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@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@vboxpwfl:~/testdir$
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users