From owner-freebsd-performance@FreeBSD.ORG Wed Apr 16 15:20:57 2003 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6379A37B401 for ; Wed, 16 Apr 2003 15:20:57 -0700 (PDT) Received: from kurdistan.ath.cx (adsl-64-169-155-173.dsl.chic01.pacbell.net [64.169.155.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 338C843F3F for ; Wed, 16 Apr 2003 15:20:56 -0700 (PDT) (envelope-from sereciya@kurdistan.ath.cx) Received: from kurdistan.ath.cx (ns1 [127.0.0.1]) by kurdistan.ath.cx (8.12.8/8.12.6) with ESMTP id h3GMKv04058322 for ; Wed, 16 Apr 2003 15:20:57 -0700 (PDT) (envelope-from sereciya@kurdistan.ath.cx) Received: (from sereciya@localhost) by kurdistan.ath.cx (8.12.8/8.12.6/Submit) id h3GMKvkS058321 for freebsd-performance@freebsd.org; Wed, 16 Apr 2003 15:20:57 -0700 (PDT) Date: Wed, 16 Apr 2003 15:20:57 -0700 From: =?unknown-8bit?Q?S=EAr=EAciya_Kurdistan=EE?= To: freebsd-performance@freebsd.org Message-ID: <20030416222057.GC57404@kurdistan.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CblX+4bnyfN0pR09" Content-Disposition: inline Subject: FreeBSD Memory Pages Not Locked? X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2003 22:20:57 -0000 --CblX+4bnyfN0pR09 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I recently installed "gpnupg" from the ports collection and upon running it (after the key generation), I found myself seeing the following error: gpg: Warning: using insecure memory! ... Those of you who are impatient and think that this is a gpg &| port specific problem, please be patient and read on ... from: http://www.gnupg.org/documentation/faqs.html#q6.1 Here's what the GPG FAQ says:=20 "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." So my question is: does FreeBSD really not have support for locking memory pages? if this is true, then what is the reason that this has not yet been implemented, is this not an important security feature? otherwise... if FreeBSD does in fact have support for locking memory pages, then why am I getting this error message? If any of you have encountered this problem, and would like to offer some help &| advice, you have a captive audience of at least one, me! Thanks in advance, --$=EAr=EAciya Kurdistan=EE +--------------------------------------------------------------+ | Welat xwe ava nake, dest bidin hevdu, pist nedin tu dijmin=EE | | Riya azadiy=EA ne h=EAsan e, h=EAviya xwe bernedin, dema me | | n=EAz=EEk e. | | | | Hevalt=EE bi kes=EAn du r=FB nekin, hevalt=EE bi hevdu ra bikin | | Ne ji hevaltiya wan kes=EAn p=EAxwas =FB r=FB dir=EAj, ne bi wan | | kes=EAn xw=EEnperest, ne j=EE ji y=EAn din. | | | | -$=EAr=EAciya Kurdistan=EE | +--------------------------------------------------------------+ translation provided on request: sereciya at kurdistan.ath.cx --CblX+4bnyfN0pR09 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+nddJ2rX+NTHoe2QRAj3UAKCY2ucSxuMUWwF15CxOw4LLCQRAvACeL+qo loWcvlLzmlsTy6h3lzqsdo8= =badu -----END PGP SIGNATURE----- --CblX+4bnyfN0pR09--