From owner-freebsd-questions@FreeBSD.ORG Fri Feb 26 00:08:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC05D1065673 for ; Fri, 26 Feb 2010 00:08:55 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-313.bluehost.com (outbound-mail-313.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id 8BB708FC14 for ; Fri, 26 Feb 2010 00:08:55 +0000 (UTC) Received: (qmail 19941 invoked by uid 0); 20 Feb 2010 00:08:55 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy3.bluehost.com with SMTP; 20 Feb 2010 00:08:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:Mime-Version:Content-Type:Content-Disposition:User-Agent:X-Identified-User; b=VK7wSV2Fjm2RIP6omJOkyjex7K0/nTylTYSv36lcNIK01cEUnk9nvORPTWv/pSJ5q7gRx2vc09k5mkAoZhdmLsjub1k1dqCY5lJOaVcN5kn+Mjf65FHxLEeeWJwSQG8d; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Nicty-0005M4-4j for freebsd-questions@freebsd.org; Fri, 19 Feb 2010 17:08:55 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Fri, 19 Feb 2010 16:59:57 -0700 Date: Fri, 19 Feb 2010 16:59:57 -0700 From: Chad Perrin To: FreeBSD Questions Message-ID: <20100219235957.GA94878@guilt.hydra> Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: using secure memory from a script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2010 00:08:55 -0000 --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable What's the simplest/easiest way to use "secure memory" (i.e., memory that won't be written to a swap partition) from within a program (written in Ruby in this case) on FreeBSD? --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkt/Jf0ACgkQ9mn/Pj01uKWcYQCfQi2NcQfQKDmIHUifZ7aPKuKL UcYAn1O9EGY38xRnmdiaUCL7kob4FnzW =KMm5 -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd--