On 11 May, Doug Balmer wrote:
> has anyone used gpg to encrypt and then pgp to decrypt?
> pgp keeps coming back saying the ascii armour is invalid. ive followed
> all the docs on how to do this.
>
> can someone tell me how to use pgp? (yes ive tried pgp -h)
Did anyone ever reply to you? A long time ago I read that gpg was not
backward compatible with pgp, though I have heard since that it was.
My recollection about encrypting is:
pgp -ef [EMAIL PROTECTED] < plain.txt > plain.asc
decrypt like:
pgp -f < plain.asc
and it will request you to enter the passphrase for your public key.
Note that the f argument means filter mode - so stdin/stdout are used.
Without that, you specify the filename on the command line, but pgp is
very picky about where that's placed. In fact, pgp is very picky about
all it's command argument parsing since it wasn't written by people
comfortable with the usual Unix conventions that have evolved over the
years.
This example assumes you chose: Doug Balmer <[EMAIL PROTECTED]>
as your PGP id when you generated a key (pgp -kg), assumes you've
defined the environment variable PGPPATH to be something like
$HOME/.pgp, and added a config.txt file into that directory, like this:
VERBOSE=0
ARMOR=on
MYNAME=dougb
TEXTMODE=on
luke
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text