[Pkg-gnupg-maint] Bug#772780: gnupg: "out of secure memory" even with only 4096-RSA keys when using addkey in --edit-key interface
NIIBE Yutaka
gniibe at fsij.org
Thu Dec 11 04:15:43 UTC 2014
Thank you for your report.
On 12/11/2014 10:05 AM, David Z wrote:
> Created a new keypair today. Was unable to add a subkey, even though all keys
> involved are within expected limits (4096 bit RSA).
>
> Dies at:
>
> gpg: writing key binding signature
> gpg: out of secure memory while allocating 1024 bytes
> gpg: (this may be caused by too many secret keys used simultaneously or due to
> excessive large key sizes)
>
> This has occurred in all of my attempts today, with multiple fresh testing
> keys, though I recall performing this action at least somewhat recently with
> success. Full output:
I tried to reproduce this bug. It was very difficult for me, but I
managed to reproduce it this afternoon.
My experiment is following your scenario with my configuration of
GnuPG. My configuration of GnuPG is as same as:
http://keyring.debian.org/creating-key.html
(It looks like your configuration has preference of SHA512, though.)
I used 1400-byte long passphrase, and I got same error.
Are you using such a long passphrase like mine?
--
More information about the Pkg-gnupg-maint
mailing list