pubring.kbx, no secring?

Matthias Apitz guru at unixarea.de
Tue Dec 22 13:28:28 CET 2015


Hello,

I was using GnuPG v1.x mostly to cipher some private files, i.e. not for
mail and information exchange with other. I will now create a new key to use
this for mail and move to GnuPG v2.x. I have a short question. I created
(until now for test) the key like this:

$ gpg2 --version
gpg (GnuPG) 2.1.6
libgcrypt 1.6.3
...

$ gpg2 --full-gen-key

$ gpg2 --armor --output revoke.asc --gen-revoke guru

the list keys show:

$ gpg2 --list-secret-keys
/home/guru/.gnupg/pubring.kbx
                  ^^^^^^^----------------????
-----------------------------
sec   dsa2048/FFEE762B922A6CBB 2015-12-22
uid               [ultimate] Matthias Apitz (GnuPGv2) <guru at unixarea.de>
ssb   elg2048/6C7E963A56E2D675 2015-12-22

$ gpg2 --list-public-keys
/home/guru/.gnupg/pubring.kbx
-----------------------------
pub   dsa2048/FFEE762B922A6CBB 2015-12-22
uid               [ultimate] Matthias Apitz (GnuPGv2) <guru at unixarea.de>
sub   elg2048/6C7E963A56E2D675 2015-12-22

and I have the following files:

$ find .gnupg
.gnupg
.gnupg/gpg.conf
.gnupg/trustdb.gpg
.gnupg/pubring.kbx~
.gnupg/private-keys-v1.d
.gnupg/private-keys-v1.d/EF8AE0E0D3D7EBBFA6A0230CD105E0DFC04D9DE1.key
.gnupg/private-keys-v1.d/8FB0DD8249EC4A24E2A73B4721098FCDE815FEBB.key
.gnupg/pubring.kbx
.gnupg/openpgp-revocs.d
.gnupg/openpgp-revocs.d/812E69DC246DB739AE84473BFFEE762B922A6CBB.rev
.gnupg/S.gpg-agent
.gnupg/revoke.asc

Question: Why I do not have a file .gnupg/secring.kbx (as I have had
with v1.x)? And, why are the keys stored in .gnupg/private-keys-v1.d?

Thanks


	matthias


-- 
Matthias Apitz, ✉ guru at unixarea.de, 🌐 http://www.unixarea.de/  ☎ +49-176-38902045



More information about the Gnupg-users mailing list