{"id":319,"date":"2012-01-29T14:06:55","date_gmt":"2012-01-29T14:06:55","guid":{"rendered":""},"modified":"2015-08-17T17:45:46","modified_gmt":"2015-08-17T15:45:46","slug":"gnu-privacy-guard","status":"publish","type":"post","link":"https:\/\/drfugazi.eu.org\/en\/gnu-privacy-guard\/","title":{"rendered":"The GNU Privacy Guard (GnuPG)"},"content":{"rendered":"<p>Sometimes you need to encrypt some files or messages to prevent accessing them by unathorized persons. There are several standards and software for this purpose, but the most popular standard that adopted on the Internet is <b>PGP<\/b>. I will show you how to install and use GNU implementation, which is known as GNU Privacy Guard (GnuPG or GPG). Below is little bit of history of PGP and something about GnuPG, but you do not need to read this if you only want to know how to install and configure your system and\/or mail client (MUA) to encrypt files\/messages. In the next article you will find links and instructions for <b>Windows<\/b> and <b>Ubuntu Linux<\/b> and <b>Thundrbird<\/b>.<\/p>\n<h2>Pretty Good Privacy (PGP)<\/h2>\n<p>First version of PGP encryption was found in <b>1991<\/b> by <b>Phil Zimmermann<\/b>. The name, &#8220;Pretty Good Privacy&#8221;, is humorously ironic and was inspired by the name of a grocery store, &#8220;Ralph&#8217;s Pretty Good Grocery&#8221;, featured in radio host Garrison Keillor&#8217;s fictional town, Lake Wobegon. This first version included a symmetric-key algorithm that Zimmermann had designed himself, named BassOmatic after a Saturday Night Live sketch. Zimmermann had been a long-time anti-nuclear activist, and created PGP encryption so that similarly inclined people might securely use BBSs and securely store messages and files. No license was required for its non-commercial use. There was not even a nominal charge, and the complete source code was included with all copies.<br \/>\nDue to US Export regulations, in 1993 Phil Zimmermann became the formal target of a criminal investigation by the US Government for &#8220;munitions export without a license&#8221;. Zimmermann challenged these regulations in a curious way. He published the entire source code of PGP in a hardback book, via MIT Press, which was distributed and sold widely. Anybody wishing to build their own copy of PGP could buy the $60 book, cut off the covers, separate the pages, and scan them using an OCR program, creating a set of source code text files. One could then build the application using the freely available GNU Compiler Collection. PGP would thus be available anywhere in the world.<br \/>\nBecause of PGP worldwide popularity many people\/companies wanted to write their own software that would interoperate with PGP 5. Zimmermann became convinced that an open standard for PGP encryption was critical for them and for the cryptographic community as a whole. In July 1997, PGP Inc. proposed to the IETF that there be a standard called OpenPGP. They gave the IETF permission to use the name OpenPGP to describe this new standard as well as any program that supported the standard. The IETF accepted the proposal and started the OpenPGP Working Group.<br \/>\nOpenPGP is on the Internet Standards Track and is under active development. The current specification is <a href=\"http:\/\/tools.ietf.org\/html\/rfc4880\">RFC 4880<\/a> (November 2007), the successor to <a href=\"http:\/\/tools.ietf.org\/html\/rfc2440\">RFC 2440<\/a>. Many e-mail clients provide OpenPGP-compliant email security as described in <a href=\"http:\/\/tools.ietf.org\/html\/rfc3156\">RFC 3156<\/a>.<br \/>\nThe Free Software Foundation has developed its own OpenPGP-compliant program called GNU Privacy Guard (abbreviated GnuPG or GPG). GnuPG is freely available together with all source code under the GNU General Public License (GPL) and is maintained separately from several Graphical User Interfaces (GUIs) that interact with the GnuPG library for encryption, decryption and signing functions (see KGPG, Seahorse, MacGPG). Several other vendors have also developed OpenPGP-compliant software.<\/p>\n<p style=\"text-align: right; font-style: italic; font-size: 0.8em;\">Source: http:\/\/en.wikipedia.org\/wiki\/Pretty_Good_Privacy<\/p>\n<h2>TheGNU Privacy Guard<\/h2>\n<p>GnuPG is the <a href=\"http:\/\/www.gnu.org\/\">GNU project<\/a>&#8216;s complete and free implementation of the OpenPGP standard as defined by <a href=\"http:\/\/www.ietf.org\/rfc\/rfc4880.txt\">RFC4880<\/a>. GnuPG allows to encrypt and sign your data and communication, features a versatile key management system as well as access modules for all kinds of public key directories. GnuPG, also known as <i>GPG<\/i>, is a command line tool with features for easy integration with other applications. A wealth of <a href=\"http:\/\/www.gnu.org\/related_software\/frontends.html\">frontend applications<\/a> and <a href=\"http:\/\/www.gnu.org\/related_software\/libraries.html\">libraries<\/a> are available. Version 2 of GnuPG also provides support for S\/MIME.<\/p>\n<p>GnuPG is <a href=\"http:\/\/www.gnu.org\/philosophy\/free-sw.html\">Free Software<\/a> (meaning that it respects your freedom). It can be freely used, modified and distributed under the terms of the <a href=\"http:\/\/www.gnu.org\/copyleft\/gpl.html\">GNU General Public License<\/a>.<\/p>\n<p>GnuPG comes in two flavours: <a href=\"download\">1.4.11<\/a> is the well known and portable standalone version, whereas <a href=\"download\">2.0.18<\/a> is the enhanced and somewhat harder to build version.<\/p>\n<p>Project <a href=\"http:\/\/www.gpg4win.org\">Gpg4win<\/a> provides a Windows version of GnuPG. It is nicely integrated into an installer and features several frontends as well as English and German manuals.<\/p>\n<p>Project <a href=\"http:\/\/gpgtools.org\">GPGTools<\/a> provides a Mac OS X version of GnuPG. It is nicely integrated into an installer and features all required tools.<\/p>\n<p>Project <a href=\"http:\/\/www.gnupg.org\/aegypten\/\">Aegypten<\/a> developed the S\/MIME functionality in GnuPG 2.<\/p>\n<p style=\"text-align: right; font-style: italic; font-size: 0.8em;\">Source: http:\/\/www.gnu.org\/<\/p>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Sometimes you need to encrypt some files or messages to prevent accessing them by unathorized persons. There are several standards and software for this purpose, but the most popular standard that adopted on the&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[93],"tags":[92,116,95,7],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7M9Tz-59","jetpack-related-posts":[{"id":331,"url":"https:\/\/drfugazi.eu.org\/en\/gnupg-3\/","url_meta":{"origin":319,"position":0},"title":"GnuPG","author":"drfugazi","date":"Wednesday November 21st, 2007","format":false,"excerpt":"The GNU Privacy Guard GnuPG jest kompletn\u0105 i bezp\u0142atn\u0105 implementacj\u0105 standardu OpenPGP zdefinowanego przez RFC4880. GnuPG pozwala szyfrowa\u0107 i podpisywa\u0107 dane i korespondencj\u0119, posiada mo\u017cliwo\u015bci elastycznego zarz\u0105dzania systemem kluczy oraz modu\u0142y dost\u0119pu do ka\u017cdego typu katalog\u00f3w kluczy publicznych. GnuPG znane r\u00f3wnie\u017c jako GPG jest narz\u0119dziem pow\u0142oki, kt\u00f3re posiada zdolno\u015b\u0107 \u0142atwej\u2026","rel":"","context":"In &quot;Security&quot;","block_context":{"text":"Security","link":"https:\/\/drfugazi.eu.org\/en\/category\/security\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":321,"url":"https:\/\/drfugazi.eu.org\/en\/gnupg-windows-or-gpg4win\/","url_meta":{"origin":319,"position":1},"title":"GnuPG for Windows or Gpg4win","author":"drfugazi","date":"Sunday January 29th, 2012","format":false,"excerpt":"Gpg4win (GNU Privacy Guard for Windows) is an encryption software for files and emails. What is Gpg4win? Gpg4win enables users to securely transport emails and files with the help of encryption and digital signatures. Encryption protects the contents against an unwanted party reading it. Digital signatures make sure that it\u2026","rel":"","context":"In &quot;Security&quot;","block_context":{"text":"Security","link":"https:\/\/drfugazi.eu.org\/en\/category\/security\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":181,"url":"https:\/\/drfugazi.eu.org\/en\/gnupg\/","url_meta":{"origin":319,"position":2},"title":"GnuPG","author":"drfugazi","date":"Sunday June  6th, 2010","format":false,"excerpt":"Some of basic informations, from http:\/\/www.gnupg.org\/ site: GnuPG is the GNU project's complete and free implementation of the OpenPGP standard as defined by RFC4880. GnuPG allows to encrypt and sign your data and communication, features a versatile key managment system as well as access modules for all kind of public\u2026","rel":"","context":"In \"Security\"","block_context":{"text":"Security","link":"https:\/\/drfugazi.eu.org\/en\/tag\/bezpiecze\u0144stwo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6,"url":"https:\/\/drfugazi.eu.org\/en\/thunderbird-enigmail-gnupg\/","url_meta":{"origin":319,"position":3},"title":"Thunderbird + Enigmail + GnuPG","author":"drfugazi","date":"Sunday November 25th, 2007","format":false,"excerpt":"Klient poczty, RSS, grup dyskusyjnych - czyli Thunderbird Na temat samego programu nie b\u0119d\u0119 si\u0119 rozpisywa\u0142 - ci, kt\u00f3rzy go u\u017cywaj\u0105 to wiedz\u0105 dlaczego warto, ci, kt\u00f3rzy u\u017cywaj\u0105 innych program\u00f3w widocznie maj\u0105 swoje powody, a ci, kt\u00f3rzy uwa\u017caj\u0105, \u017ce najlepszy jest Outlook Express pewnie nadal \u017cyj\u0105 w nie\u015bwiadomo\u015bci istnienia innych\u2026","rel":"","context":"In \"Security\"","block_context":{"text":"Security","link":"https:\/\/drfugazi.eu.org\/en\/tag\/bezpiecze\u0144stwo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":318,"url":"https:\/\/drfugazi.eu.org\/en\/diceware-2\/","url_meta":{"origin":319,"position":4},"title":"Diceware","author":"drfugazi","date":"Tuesday November 20th, 2007","format":false,"excerpt":"\"This page offers a better way to create a strong, yet easy to remember passphrase for use with encryption and security programs. Weak passwords and passphrases are one of the most common flaws in computer security. Take a few minutes and learn how to do it right. The information presented\u2026","rel":"","context":"In &quot;Security&quot;","block_context":{"text":"Security","link":"https:\/\/drfugazi.eu.org\/en\/category\/security\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":245,"url":"https:\/\/drfugazi.eu.org\/en\/","url_meta":{"origin":319,"position":5},"title":"autoconf-2.68","author":"drfugazi","date":"Tuesday May 17th, 2011","format":false,"excerpt":"GNU Autoconf jest rozszerzalnym pakietem makr M4 do tworzenia skrypt\u00f3w pow\u0142oki do automatycznej konfiguracji pakiet\u00f3w oprogramowania Open Source. Tworzenie skrypt\u00f3w konfiguracyjnych przy u\u017cyciu Autoconf wymaga instalacji GNU M4.","rel":"","context":"In \"Autoconf\"","block_context":{"text":"Autoconf","link":"https:\/\/drfugazi.eu.org\/en\/tag\/autoconf\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts\/319"}],"collection":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/comments?post=319"}],"version-history":[{"count":1,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts\/319\/revisions"}],"predecessor-version":[{"id":453,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts\/319\/revisions\/453"}],"wp:attachment":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/media?parent=319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/categories?post=319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/tags?post=319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}