gpg 2.1.19 fails to generate key pair

Matthias Apitz guru at unixarea.de
Fri Sep 22 22:19:36 CEST 2017


it works with:

phablet at ubuntu-phablet-bq:~$ ./gpg2.sh --version
gpg-agent[28499]: enabled debug flags: mpi crypto memory cache memstat hashing ipc
gpg-agent: a gpg-agent is already running - not starting a new one
gpg-agent: random usage: poolsize=600 mixed=0 polls=0/0 added=0/0
              outmix=0 getlvl1=0/0 getlvl2=0/0
gpg-agent: secmem usage: 0/32768 bytes in 0 blocks
gpg (GnuPG) 2.2.1
libgcrypt 1.8.1
...


phablet at ubuntu-phablet-bq:~$ ~/gpg2.sh --full-generate-key
...
                      ┌──────────────────────────────────────────────────────┐
                      │ Please re-enter this passphrase                      │
                      │                                                      │
                      │ Passphrase: ***_____________________________________ │
                      │                                                      │
                      │       <OK>                              <Cancel>     │
                      └──────────────────────────────────────────────────────┘











We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: /home/phablet/.gnupg/trustdb.gpg: trustdb created
gpg: key 3FECB79DDDA409E4 marked as ultimately trusted
gpg: directory '/home/phablet/.gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/home/phablet/.gnupg/openpgp-revocs.d/41E0B3688FDD76C9337ECD873FECB79DDDA409E4.rev'
public and secret key created and signed.

pub   rsa2048 2017-09-22 [SC]
      41E0B3688FDD76C9337ECD873FECB79DDDA409E4
uid                      Matthias Apitz (test) <guru at sisis.de>
sub   rsa2048 2017-09-22 [E]

-- 
Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub



More information about the Gnupg-users mailing list