Frustration (forgive a FAQ please)
Jason Gunthorpe
jgg@ualberta.ca
Sun, 26 Sep 1999 00:00:17 -0600 (MDT)
On Sun, 26 Sep 1999, Lazarus Long wrote:
> Could someone please tell me how I can communicate with this particular
> privacy advocate who insists upon using pgp2 out of distrust of "newer"
> versions? Not only am I unable to get mutt to do what I want (after
The precise set of options I use for generating encrypted messages that
PGP2 will read is:
gpg --no-options --batch --load-extension rsa --no-default-keyring
--keyring [foo] --output - --quiet --always-trust --armor -r 0x[to
keyfingerprint] --rfc1991 --load-extension idea --cipher-algo
idea --encrypt foo.txt > output
It is critical that you ecrypt a file given on the command line not using
a pipe. GPG uses a different packet format that PGP 2.x will not read.
The reason the above disables the option files and such is that it is part
of a more complex script, I suggest using it as a starting point and then
going on to putting it in config files.
--- Example #1 ------
Wakko{jgg}~/work/ldap/userdir-ldap#gpg --no-options --batch
--load-extension rsa --no-default-keyring
--keyring ~/.pgp/pubring.pgp --output - --quiet --always-trust --armor -r
jgg --rfc1991 --load-extension idea --cipher-algo idea --encrypt
markers.dat > jnk
gpg: Warning: using insecure memory!
gpg: No key for userid
gpg: 35261E21: no info to calculate a trust probability
gpg: WARNING: Using untrusted key!
gpg: RSA keys are deprecated; please consider creating a new key and use
this key in the future
gpg: this cipher algorithm is depreciated; please use a more standard one!
Wakko{jgg}~/work/ldap/userdir-ldap#pgp < jnk
You need a pass phrase to unlock your RSA secret key.
Key for user ID: Jason Gunthorpe <jgg@gpu.srv.ualberta.ca>
1024-bit key, key ID 35261E21, created 1997/09/08
Enter pass phrase:
Output file 'markers.dat' already exists. Overwrite (y/N)? y
--- Example #2 ---------
Wakko{jgg}~/work/ldap/userdir-ldap#gpg --no-options --load-extension rsa
--load-extension idea --no-default-keyring --secret-keyring
~/.pgp/secring.pgp --keyring ~/.pgp/pubring.pgp --output - --quiet
--always-trust --armor --rfc1991 --clearsign markers.dat > jnk
gpg (GnuPG) 0.9.7; Copyright (C) 1999 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.
gpg: Warning: using insecure memory!
You need a passphrase to unlock the secret key for
user: "Jason Gunthorpe <jgg@gpu.srv.ualberta.ca>"
1024-bit RSA key, ID 35261E21, created 1997-09-08
gpg: RSA keys are deprecated; please consider creating a new key and use
this key in the future
Wakko{jgg}~/work/ldap/userdir-ldap#pgp < jnk
Good signature from user "Jason Gunthorpe <jgg@gpu.srv.ualberta.ca>".
Signature made 1999/09/26 05:59 GMT using 1024-bit key, key ID 35261E21
Jason