Re: [PATCH] Make verify-tag a builtin.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 23, 2007, 22:32 UTC
- Message-ID
- <Pine.LNX.4.64.0707232332000.14781@racer.site>
- In-Reply-To
- <1b46aba20707231531i4e05858foef3ee81479e559de@mail.gmail.com>
Hi,
On Tue, 24 Jul 2007, Carlos Rica wrote:
Show 8 quoted lines
> 2007/7/23, Johannes Schindelin <Johannes.Schindelin@gmx.de>: > > Just one request: please use lock_file, to prevent multiple instances from > > getting confused... Even if that cannot be 100% secure: if you write to > > the file, and only then start gpg, there is still the odd chance for an > > attacker. Even if you created the file with 0600 (very wise, BTW). > > Why not using also a random name for the temporary file? > Something like "VTAG_TMP30946".
Yes, makes sense. One call to mkstemp() away.
Ciao, Dscho