Subject: Re: pkg/31547 (gnupg needs setuid-bit on Linux)
To: None <>
From: None <>
List: pkgsrc-bugs
Date: 12/28/2006 02:11:52
I don't know what is right on NetBSD platform, but what the FAQ says is:

6.1  Why do I get "gpg: Warning: using insecure memory!"
On many systems this program should be installed as setuid(root). This is
necessary to lock memory pages. Locking memory pages prevents the
operating system from writing them to disk and thereby keeping your secret
keys really secret. If you get no warning message about insecure memory
your operating system supports locking without being root. The program
drops root privileges as soon as locked memory is allocated.
If you can't or don't want to install GnuPG setuid(root), you can use the
option "--no-secmem-warning"

hope it helps.

Le Mer 27 décembre 2006 22:58, a écrit :
> Synopsis: gnupg needs setuid-bit on Linux
> Responsible-Changed-From-To: linux-pkg-people->rillig
> Responsible-Changed-By:
> Responsible-Changed-When: Wed, 27 Dec 2006 21:58:26 +0000
> Responsible-Changed-Why:
> Please add a message to descripe why setuid might be wanted
> and why not.