Newbie qusetions

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


Hi,

Werner Koch:
> Matthias Urlichs <smurf at noris.de> 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
> 
Hmmm...

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




More information about the Gnupg-devel mailing list