gpg --recv-keys takes ages

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

gpg --recv-keys takes ages

Postby andi456 » Wed May 24, 2017 10:07 am

Hi,

when trying to import a gpg key from aur into my local .gnupg directory, dirmngr seems to be hanging in some kind of endless loop. This is, what gpg -vvv --debug-all --keyserver pgp.mit.edu --recv-keys 85F345DD59683006 prints out:
$this->bbcode_second_pass_code('', 'gpg: Hinweis: Keine voreingestellte Optionendatei '/home/pi/.gnupg/gpg.conf' vorhanden
gpg: using character set 'utf-8'
gpg: enabled debug flags: packet mpi crypto filter iobuf memory cache memstat trust hashing ipc clock lookup extprog
gpg: DBG: [not enabled in the source] start
gpg: DBG: chan_3 <- # Home: /home/pi/.gnupg
gpg: DBG: chan_3 <- # Config: /home/pi/.gnupg/dirmngr.conf
gpg: DBG: chan_3 <- OK Dirmngr 2.1.21 at your service
gpg: DBG: connection to the dirmngr established
gpg: DBG: chan_3 -> GETINFO version
gpg: DBG: chan_3 <- D 2.1.21
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> KEYSERVER --clear hkp://pgp.mit.edu
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> KS_GET -- 0x85F345DD59683006
gpg: DBG: chan_3 <- S PROGRESS tick ? 0 0')

The german text just indicates that there's no gpg.conf. What can I do about it?
Btw.: This is from version
$this->bbcode_second_pass_code('', 'gpg --version
gpg (GnuPG) 2.1.21
libgcrypt 1.7.6')
on a raspberrypi 2 install of arch linux arm.

Regards Andreas
andi456
 
Posts: 4
Joined: Mon May 22, 2017 6:33 pm

Re: gpg --recv-keys takes ages

Postby WarheadsSE » Thu May 25, 2017 12:53 pm

Your more probable issue is that you're having low entropy on a platform without a native source.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: gpg --recv-keys takes ages

Postby andi456 » Thu May 25, 2017 2:06 pm

Would you please enlighten me, how i could remedy the "low entropy problem"? As far as i can remember, importing a gpg-key on a raspbian install on the same machine did work quite well...
andi456
 
Posts: 4
Joined: Mon May 22, 2017 6:33 pm

Re: gpg --recv-keys takes ages

Postby WarheadsSE » Thu May 25, 2017 7:10 pm

Ensure that you have something like haveged installed, and this will generally mitigate this.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: gpg --recv-keys takes ages

Postby andi456 » Sat May 27, 2017 4:07 pm

Hi,
haveged has been up and running since i installed arch linux on the raspbi, which may mitigate the problem, but doesn't solve it.
$this->bbcode_second_pass_code('', 'ps -afe | grep haveged | grep -v grep
root 284 1 0 Mai19 ? 00:00:42 /usr/bin/haveged -F -w 1024 -v 1')

Regards Andreas
andi456
 
Posts: 4
Joined: Mon May 22, 2017 6:33 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 9 guests