|
Save 10% off all website scripts! - Enter code
SNOWBALL at checkout!
|
How to Use GPG to Encrypt and Decrypt FilesPosted 2009-04-17 in Guides
A good friend recently provided me with some dead-simple instructions on how to use GPG in linux so we could share a few sensitive files. I have edited them slightly and with his permission I will share them with you. To encrypt a file for someone you first need to import their public key: gpg –import key_file_to_import Then you can encrypt a file for them to decrypt, like this: gpg -r someone@email.com -a -e file_to_encrypt You’ll end up with file_to_encrypt.asc, and that’s the file you send them. You could also encrypt data right from stdin, like this: gpg -r someone@email.com -a -e > outputfile.asc Then type the information to be encrypted, and hit ctrl+d when done. There are also GUI tools like the Enigmail plugin for Thunderbird to make it nicer, but the command line isn’t really too bad. Oh yeah, and if you want someone to be able to encrypt stuff to send you, they need your public key. Here’s how to export it: gpg -a –export > your_key.asc Then send them your_key.asc.
|
SearchPopular Articles
SubscribeSubscribe via RSS Stay current with Scriptalicious news and subscribe in your favorite RSS reader. Subscribe via EmailGet the latest Scriptalicious news delivered to your inbox. Tag Cloudseo guides seo scripts scriptalicious seo tools forums PageRank SEO services content development apache htaccess mod_rewrite scripts webmaster google yahoo JavaScript XMLHttpRequest php contest software website list facebook ebook pagerank bing backlink rankings tool turnkey checker alexa themes marketing tinymce wysiwyg browser rank tools legal trademark infringement mysql social web social networking advertising google plus plus one |
77 powerful SEO scripts for under $100. |
Real-time Backlink Rank Checker script. |