[Pkg-gnupg-maint] Bug#739424: Bug#739424: Bug#739424: gnupg dies with "gpg: out of secure memory [...]" since 1.4.16-1
Werner Koch
wk at gnupg.org
Fri Oct 3 15:13:17 UTC 2014
On Fri, 3 Oct 2014 17:00, dkg at fifthhorseman.net said:
> I like that, since it makes the ./configure option clearer about what
> it's doing. Alternately, we could just call it --enable-large-secmem
Okay.
> #if SECMEM_SIZE >= 65536
> // accept --enable-large-rsa
> #else
> // warn that enable-large-rsa won't work
> #endif
>
> which is no worse than the current proposal.
Right.
> Going down this route suggests that maybe the actual upper-limit to gpg
> --gen-key --batch --enable-large-rsa should scale with the declared
> SECMEM_SIZE, instead of being either 4096 or 8192, but i don't know how
> to compute such a scale aside from experimentation on any given platform.
Too complicated. Better use what you suggested above.
Salam-Shalom,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Pkg-gnupg-maint
mailing list