help with missing keys

Fernan Aguero fernan.aguero at gmail.com
Wed Jun 19 15:50:37 CEST 2019


Hi,

I've been using gnupg just fine for a while (gpg, then moved to gpg2,
created new keys), mostly to encrypt/sign password using the pass (zx2c4)
passwordstore.

Then all of a sudden things broke and I cannot decrypt things, even though
keys are apparently there ...

I'd appreciate some help in trying to recover my system. Any clues on what
may be going on? This is Ubuntu 16.04.

$ gpg2 --list-secret-keys
/home/fernan/.gnupg/pubring.kbx
-------------------------------
sec   rsa4096/5DCD6D91 2019-01-23 [SC]
uid         [ultimate] Fernan Aguero (personal gmail) <
fernan.aguero at gmail.com>
ssb   rsa4096/AD08B3BC 2019-01-23 [E]

$ gpg2 --decrypt file.gpg
gpg: encrypted with 4096-bit RSA key, ID AD08B3BC, created 2019-01-23
      "Fernan Aguero (personal gmail) <fernan.aguero at gmail.com>"
gpg: public key decryption failed: No such file or directory
gpg: decryption failed: No secret key

$ ls -la ~/.gnupg/
total 156
drwx------   5 fernan fernan  4096 Jun 19 10:27 .
drwxr-xr-x 139 fernan fernan 20480 Jun 19 10:21 ..
drwx------   2 fernan fernan  4096 Dec 16  2016 crls.d
-rw-------   1 fernan fernan  9419 Jun 19 10:27 gpg.conf
-rw-rw-r--   1 fernan fernan     0 Jan 23 10:39 .gpg-v21-migrated
drwx------   2 fernan fernan  4096 Jan 23 10:51 openpgp-revocs.d
drwx------   2 fernan fernan  4096 Jan 23 10:51 private-keys-v1.d
-rw-------   1 fernan fernan 43438 May  6 13:59 pubring.gpg
-rw-------   1 fernan fernan 43438 May  6 13:59 pubring.gpg~
-rw-rw-r--   1 fernan fernan  2408 Jan 23 10:51 pubring.kbx
-rw-------   1 fernan fernan    32 Dec 16  2016 pubring.kbx~
-rw-------   1 fernan fernan   600 Jun 12 12:05 random_seed
-rw-------   1 fernan fernan     0 Oct 29  2012 secring.gpg
srwx------   1 fernan fernan     0 Jun 19 10:31 S.gpg-agent
-rw-------   1 fernan fernan  1280 May  9 14:11 trustdb.gpg


-- 
fernan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20190619/57a070fd/attachment.html>


More information about the Gnupg-users mailing list