using alternate sources of entropy

Ben Kibbey bjk at
Mon May 13 01:08:15 CEST 2013

On Tue, 07 May 2013 16:19:02 +0000, Abel Luck writes:
> Hi,
> For various reasons we're exploring alternatives to /dev/random on
> Android. Primarily because it doesn't fill fast enough, and we do not
> have root access so we cannot write to it.
> We've one good source of entropy, the accelerometer, that we would like
> gpg-agent to use. Looking through the docs it appears gnupg supports EGD.
> EGD would work well, but it is written in perl, which would be a royal
> PITA to get working on Android.
> The options I've come up with are:
> 1) Write an EGD in C or Java
> 2) Hack gnupg source and add our own thing

I have done key generation on Android and seems to work well. Running 'ent' from gives good results, too.

Ben Kibbey

More information about the Gnupg-devel mailing list