GnuPG ~~~~~~~ Esto es un resumen para quienes ya usan GnuPG, si quieres mayor info visita http://www.gnupg.org/ $gpg --gen-key 1 · 1024 · 2y · y pass: !#Aqu1_1234una_Clav3_bastant3_compleja! !#Aqu1_1234una_Clav3_bastant3_compleja! ------ pub 1024D/08634D14 2004-02-20 HACKCRAFT (testing keys) Key fingerprint = FA3D AB99 2A19 A5D2 01CD 2E8B 2718 AB54 0861 4D24 sub 1024g/77F17513 2004-02-20 [caduca el 2001-02-19] ------ $gpg --output revoke.asc --gen-revoke hackcraft yes · 1 · Certificado de revocacion generado bla bla... · yes $gpg --list-keys $gpg --edit-key hugomartin ? · trust · 4 · quit EXPORTAR: ======== $gpg --export -a usuario > usuario.asc <- Public Key $gpg --export-secret-keys -a miusuario > miusuario.asc <- Private Key IMPORTAR: ======== $gpg --keyserver keyserver.veridis.com --recv-keys 0x801EA932 $gpg --keyserver wwwkeys.pgp.net --recv-keys 0x801EA932 $gpg --import otrousuario.asc $gpg --fingerprint otrousuario $gpg --edit-key otrousuario sign · yes · · trust · 4 · quit ENVIAR UN MENSAJE CIFRADO Y FIRMADO: =================================== $gpg -sea -r usuariodestino file.txt $gpg --clearsign archivo.txt <- Firma archivo.txt $gpg --verify archivo.txt.asc <- Verifica la firma LEER UN MENSAJE CIFRADO: ======================= $gpg gpg: Go ahead and type your message ... <-- Ingresa el mensaje PGP ^D ENVIAR CERTIFICADOS DE REVOCACION: ================================= $gpg --import my-revocation.asc $gpg --keyserver certserver.pgp.com --send-keys mykeyid BORRAR CLAVES: ============= $gpg --delete-secret-keys 2AF345F4 $gpg --delete-keys AB145980 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hugo Martín www.hackcraft.com (2006)