From: Carlos Rica Date: Mon, 23 Jul 2007 22:31:31 GMT Subject: Re: [PATCH] Make verify-tag a builtin. Message-ID: <1b46aba20707231531i4e05858foef3ee81479e559de@mail.gmail.com> In-Reply-To: 2007/7/23, Johannes Schindelin : > 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".