MARLIERE
Sylvain
Genealogy
Photos
France
Grenoble
Chinese
Games
Phone
Computers
Music
Writing
Travel
Links
Contact
Resume
Members
|
unregistered
|
|
|
|
38.107.191.111
|
|
SiteMap
Sound Control :
Graphic Control :
|
About Encryption
1- Secure exchanges with OpenPGP
Click here to download my OpenPGP public key (text file)
You can then check its fingerprint, that should be: 8E70 B18F 23ED 615D C061 046A 8335 AB09 577D F8EE
If you don't understand why you should encrypt most of your administrative and professional messages, please refer to this link.
This paragraph is a summary of GnuPG commands, for convenient use. I mainly relied on this document to write it.
You may publish your public key on your website, in your email signature, or on this or thatserver.
a- Keys management
|
Generate a pair of keys
|
gpg --gen-key
|
|
Generate a revocation certificate
|
gpg --gen-revoke
|
|
Edit the keys
|
gpg --edit-key
|
|
(eg. sign someone's public key with my private key)
|
|
Export public keys
|
gpg --export -a
|
|
Export private keys
|
gpg --export-secret-keys -a
|
|
Import keys
|
gpg --import
|
|
Display keys fingerprint
|
gpg --fingerprint
|
|
Erase a public key
|
gpg --delete-key
|
|
Erase a private key
|
gpg --delete-secret-key
|
|
List public keys
|
gpg --list-keys
|
|
List private keys
|
gpg --list-secret-keys
|
|
List signatures
|
gpg --list-sigs
|
b- Crypt and Sign
|
Produce a crypted message file
|
gpg --encrypt -a your_message.txt > crypted_message.txt
|
|
(use the public key of the recipient, this insures that your message won't be read by someone else)
|
|
Produce a signature attachment file
|
gpg --detach-sign -a your_message.txt > signature.txt
|
|
(use your private key and the crypted message content, this insures that your message is sent by you)
|
|
Produce a single compressed file including both
|
gpg -u exp -r dest -a --sign --encrypt your_message.txt > signed_message.txt
|
c- Check and Decrypt
|
Check a signature attachment file
|
gpg --verify their_signature.txt their_message.txt
|
|
(use the public key of the sender and the crypted message content, this insures that your message has been sent by the signee)
|
|
Decrypt a crypted message file
|
gpg --decrypt their_message.txt > message.txt
|
|
(use your private key, this insures that your message has not been read by someone else)
|
|
Check and decrypt at once a single compressed file
|
gpg --decrypt their_message.txt > message.txt
|
d- Symmetrically Encrypt/Decrypt
|
Encrypt a document
|
gpg --encrypt --symmetric -a your_document.txt > crypted_document.txt
|
|
Decrypt a document
|
gpg --decrypt --symmetric your_document.txt > document.txt
|
|
(use your private key for encrypt and decrypt, this insures that a document has been encrypted by you and can be decrypted only by you)
|
|
|