It may be a dumb question, but I haven't been able to find an answer so far...
I've created a key-pair some time ago, and I can see that
ls -l ~/.gnupg
-rw------- 1 xxx xxx 7912 sept. 24 20:08 gpg.conf
-rw------- 1 xxx xxx 1202 oct. 11 2014 pubring.gpg
-rw------- 1 xxx xxx 600 sept. 24 20:40 random_seed
-rw------- 1 xxx xxx 2580 oct. 11 2014 secring.gpg
-rw------- 1 xxx xxx 1280 oct. 11 2014 trustdb.gpg
since secring.gpg
is 2580 bits, I guess I have a 2048 bits key.
It's confirmed by the maven-gpg plugin since when I use it, it logs
You need a passphrase to unlock the secret key for
user: xxx
2048-bit RSA key, ID 0F1F7C52, created 2014-10-11
However, what is the canonical method to find my key length? And its associated algorithm?