From owner-freebsd-questions Fri Feb 7 05:32:19 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA26037 for questions-outgoing; Fri, 7 Feb 1997 05:32:19 -0800 (PST) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id FAA26032 for ; Fri, 7 Feb 1997 05:32:17 -0800 (PST) Received: from ct.picker.com by whqvax.picker.com with SMTP; Fri, 7 Feb 1997 8:31:14 -0500 (EST) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA06257; Fri, 7 Feb 97 08:31:14 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id IAA25902; Fri, 7 Feb 1997 08:29:17 -0500 Message-Id: <19970207082916.BC40267@ct.picker.com> Date: Fri, 7 Feb 1997 08:29:16 -0500 From: rhh@ct.picker.com (Randall Hopper) To: fbsdlist@revelstone.jvm.com (Cliff Addy) Cc: questions@freebsd.org Subject: Re: Can pgp encrypt without adding to keyring? References: X-Mailer: Mutt 0.60 Mime-Version: 1.0 In-Reply-To: ; from Cliff Addy on Feb 6, 1997 17:25:33 -0500 Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Cliff Addy: |I'd like to create a shell/perl script to pgp encrypt email. However, I |can't find out how to have it encrypt *anything* with adding the public |key to my keyring. These are one-shot deals where I have the acsii |version of the public key and will never need it again. I've looked |through the O'Reilly book on pgp and can't find any help. I'd just post it, but given export restrictions, who knows what strange laws I'd be breaking by just describing how to use publicly-available PGP. Check out the Mutt mailer: ftp://cs.hmc.edu/pub/me/mutt/README.US-only Fetch the mutt-0.60.tar.gz file from the specified path (if you meet the criteria listed). And look at the first few lines in pgp_encryptMessage, specifically the sprintf. Randall Hopper