Security Consulting
  Fun     PGP     HOAX     Java     SPAM     Books     Linux     Windows     Privacy     Switches     Back    

GPG the way to go...

Finally I got my PGP stuff working again. Well, under Linux you should go with gpg. PGP is not really supported anymore. (open source at least). Import your old PGP keys:
    gpg --import secring.skr
    gpg --import pubring.pkr
Then, I had to download the IDEA module as people were sending me messages encrypted with IDEA. Compile with:
    gcc -Wall -O2 -shared -fPIC -o idea idea.c
Then copy the idea file into /usr/lib/gnupg. From now on you need to add the following parameter to your gpg command:
    gpg --load-extension idea 

PGP Under Linux

The most important commands you will need: Help about key management:
    pgp -k
To show all the keys in your keystore
    pgp -kv
Verify a key-id on a key-server
    pgp -kv 0xC9E1B2F1 ldap://keyserver.pgp.com
Verify a fingerprint of a key
    pgp -kvc raffy
Sign the uid beedgen with the id raffy@raffy.ch
    pgp -ks beedgen -u raffy@raffy.ch
Edit the trust of userid stillhard
    pgp -ke stillhard
Get the keyid from the keyserver into the file "keyfile" and then in a second step add it to the keyring.
    pgp -kx 0x4FB31411 keyfile ldap://keyserver.pgp.com
    pgp -a keyfile
Verify a key
    pgp -kc raffy
Some more commands


CopyLeft (l) 2003 by Raffael Marty