PGP

Aus Albasani

Wechseln zu: Navigation, Suche


http://www.eyrie.org/~eagle/faqs/usenet-hier.html#S3
You can also use an old version of PGP only to generate the initial key, and then import it into GnuPG and use GnuPG to sign control messages, but this is complex and not recommended for people who have never touched PGP before.

Installation of PGP 2.6.3

This section requires permissions of user root.

mkdir /opt/pgp-2.6.3ia
cd /opt/pgp-2.6.3ia

http://www.pgpi.org/cgi/download.cgi?filename=pgp263is.tar.gz

tar zxf pgp263is.tar.gz
tar xf pgp263ii.tar
chown -R 0:0 .
chmod 644 *
chmod 755 doc src
cd src
nice make linux
mv pgp /usr/local/bin/pgp-2.6.3ia
cd /usr/local/bin/
ln -s pgp-2.6.3ia pgp
cd /opt
ln -s pgp-2.6.3ia pgp
cd /var/lib
ln -s /opt/pgp
rm -rf /opt/pgp-2.6.3ia/src

Generate PGP key pair

mkdir $HOME/.pgp
pgp -kg
  1. 1024 bits
  2. User ID is a plain email address without white space (no real name!)
pgp -kvv
pgp -ke the_user_id
  1. 4=Yes, always.

Export to GPG

cd .pgp
pgp -kxa the_user_id export_file_for_public
gpg --import export_file_for_public
pgp -kxa the_user_id export_file_for_secret secring.pgp
gpg --import export_file_for_secret
gpg --list-keys
gpg --list-secret-keys
gpg --edit-key the_user_id trust
  1. 5 = I trust ultimately
Persönliche Werkzeuge