It appears that 3C5B212A55B966881E2D2718A45398B520BEE91E does not have the [E] usage for encryption, nor does it have any subkeys with that usage. This subkey would have been created by default when the master key was created. See if you can recover it?
>From your prior message on 2020-07-13, it has the ID >F2A76096E857E2AF607DD144D17AA44F49BB5A08. On 2020-07-27T15:52:04-0700 Ayoub Misherghi via Gnupg-users <gnupg-users@gnupg.org> wrote 1.8K bytes: > > Not obvious to me why that is happening: > > > ayoub@vboxpwfl:~/testdir$ ls > > textfile > > > ayoub@vboxpwfl:~/testdir$ gpg -r sentry -e textfile > > gpg: sentry: skipped: Unusable public key > gpg: textfile: encryption failed: Unusable public key > > > > ayoub@vboxpwfl:~/testdir$ gpg --list-keys > > /home/ayoub/.gnupg/pubring.kbx > ------------------------------ > pub ed25519 2020-07-09 [SC] [expires: 2020-09-25] > 3C5B212A55B966881E2D2718A45398B520BEE91E > uid [ultimate] sentry > > pub ed25519 2020-07-09 [SC] [expires: 2021-07-09] > 7A675D7F52BC905C22F8249091556BC29D4C595E > uid [ultimate] develop1 > sub cv25519 2020-07-09 [E] [expires: 2021-07-09] > > > > ayoub@vboxpwfl:~/testdir$ gpg --list-secret-keys > /home/ayoub/.gnupg/pubring.kbx > ------------------------------ > sec ed25519 2020-07-09 [SC] [expires: 2020-09-25] > 3C5B212A55B966881E2D2718A45398B520BEE91E > uid [ultimate] 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 _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users