Subject: Re: pkg/31547 (gnupg needs setuid-bit on Linux)
To: None <rillig@NetBSD.org, gnats-admin@netbsd.org,>
From: None <joel@carnat.net>
List: pkgsrc-bugs
Date: 12/27/2006 23:15:04
The following reply was made to PR pkg/31547; it has been noted by GNATS.
From: joel@carnat.net
To: gnats-bugs@NetBSD.org
Cc: rillig@netbsd.org, linux-pkg-people@netbsd.org,
pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org, joerg@netbsd.org
Subject: Re: pkg/31547 (gnupg needs setuid-bit on Linux)
Date: Thu, 28 Dec 2006 02:11:52 +0100 (CET)
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, joerg@netbsd.org a écrit :
> Synopsis: gnupg needs setuid-bit on Linux
>
>
> Responsible-Changed-From-To: linux-pkg-people->rillig
> Responsible-Changed-By: joerg@netbsd.org
> 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.
>