Newbie qusetions

Matthias Urlichs smurf at
Fri Jan 22 16:37:57 CET 1999


Werner Koch:
> Matthias Urlichs <smurf at> writes:
> > That being said, the message should appear only when you're doing
> > something which requires a secret key...
> No way.  I have to allocate the locked memory early on startup to drop
> setuid as soon as possible and I can't check the option at this stage.

- check if warning necessary; if yes, set flag A
- allocate memory
- drop setuid
- check options; set flag B if the current mode might require a passphrase
- print warning if A && B

> no-secmem-warning
> into your ~/.gnupg/options

Matthias Urlichs  |  noris network GmbH   |   smurf at  |  ICQ: 20193661
The quote was selected randomly. Really.    |
A consultant is an ordinary person a long way from home.

More information about the Gnupg-devel mailing list