[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-devel
Subject:    Re: Newbie qusetions
From:       "Matthias Urlichs" <smurf () noris ! de>
Date:       1999-01-22 15:37:57
[Download RAW message or body]

Hi,

Werner Koch:
> Matthias Urlichs <smurf@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@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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic