{"id":331,"date":"2007-11-21T21:46:02","date_gmt":"2007-11-21T21:46:02","guid":{"rendered":""},"modified":"2015-08-16T18:56:43","modified_gmt":"2015-08-16T16:56:43","slug":"gnupg-3","status":"publish","type":"post","link":"https:\/\/drfugazi.eu.org\/en\/gnupg-3\/","title":{"rendered":"GnuPG"},"content":{"rendered":"<p><\/p>\n<h2 id=\"sec-1\">The GNU Privacy Guard<\/h2>\n<div id=\"text-1\" class=\"outline-text-2\">\n<p>GnuPG is a complete and free implementation of the OpenPGP standard as defined by <a href=\"http:\/\/www.ietf.org\/rfc\/rfc4880.txt\">RFC4880<\/a> (also known as <i>PGP<\/i>). 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=\"https:\/\/www.gnupg.org\/related_software\/frontends.html\">frontend applications<\/a> and <a href=\"https:\/\/www.gnupg.org\/related_software\/libraries.html\">libraries<\/a> are available. Version 2 of GnuPG also provides support for S\/MIME and Secure Shell (ssh).<\/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>Project <a href=\"http:\/\/www.gpg4win.org\">Gpg4win<\/a> provides a Windows version of GnuPG <i>stable<\/i>. It is nicely integrated into an installer and features several frontends as well as English and German manuals.<\/div>\n<h2 id=\"sec-2\">Reconquer your privacy<\/h2>\n<div id=\"text-2\" class=\"outline-text-2\">\n<p>Even if you have nothing to hide, using encryption helps protect the privacy of people you communicate with, and makes life difficult for bulk surveillance systems. If you do have something important to hide, you are in good company; GnuPG is one of the tools that Edward Snowden used to uncover his secrets about the NSA.<\/p>\n<p>Please visit the <a href=\"https:\/\/emailselfdefense.fsf.org\">Email Self-Defense<\/a> site to learn how and why you should use GnuPG for your electronic communication. If you need printed leaflets check out <a href=\"https:\/\/fsfe.org\/contribute\/spreadtheword.html#gnupg-leaflet\">FSFE\u2019s GnuPG leaflet<\/a>.<\/p>\n<\/div>\n<p style=\"font-style: italic;\">more information on <a href=\"http:\/\/www.gnupg.org\/\" target=\"_blank\">http:\/\/www.gnupg.org\/<\/a> site<\/p>\n<h2>GnuPG installation:<\/h2>\n<p>Newest version you can always download form <a href=\"http:\/\/www.gnupg.org\">http:\/\/www.gnupg.org<\/a> site<\/p>\n<p><b>Installation on Unix<\/b> (from sources) should not be a problem, especially that those who do that way usually reads documentation before installation, I compiled that way (Solaris 2.6, gcc v.3.2.1):<\/p>\n<p><tt><b>.\/configure --prefix=\/usr\/local\/gnupg-VER \\<\/b><\/tt><\/p>\n<p>&#8211;mandir=\/usr\/local\/man &#8211;infodir=\/usr\/local\/info \\<\/p>\n<p>&#8211;with-ldap &#8211;with-gnu-ld<\/p>\n<p>make<\/p>\n<p>make check<\/p>\n<p>later <tt><b>\/bin\/su<\/b><\/tt> and <tt><b>make install<\/b><\/tt><\/p>\n<p>This will install GnuPG in directory<br \/>\n<tt><b>\/usr\/local\/gnupg-VER<\/b><\/tt>, after that I make a symbolic link:<\/p>\n<p><tt><b>ln -s \/usr\/local\/gnupg-VER \/usr\/local\/gnupg<\/b><\/tt><\/p>\n<p>and I add proper paths to PATH or I make a symbolic links:<\/p>\n<p><tt><b>ln -s \/usr\/local\/gnupg\/bin\/gpg* \/usr\/local\/bin\/<\/b><\/tt><\/p>\n<p><i>Maybe this looks weird, but I can assure that this is premeditated action, which simplifies me updates of software.<\/i><\/p>\n<p>OK. This should work, you can check GnuPG version:<\/p>\n<p><tt><b>gpg --version<\/b><\/tt><\/p>\n<p><tt><b>gpg (GnuPG) 1.2.2<\/b><\/tt><\/p>\n<p>Copyright (C) 2003 Free Software Foundation, Inc.<\/p>\n<p>This program comes with ABSOLUTELY NO WARRANTY.<\/p>\n<p>This is free software, and you are welcome to redistribute it<\/p>\n<p>under certain conditions. See the file COPYING for details.<\/p>\n<p>Home: ~\/.gnupg<\/p>\n<p>Algoritms:<\/p>\n<p>Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA, ELG<\/p>\n<p>Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH<\/p>\n<p>Hash: MD5, SHA1, RIPEMD160, SHA256<\/p>\n<p>Compression: Uncompressed, ZIP, ZLIB<\/p>\n<p>When you find this warning in first line:<\/p>\n<p><tt><b>Warning: using insecure memory!<\/b><\/tt><\/p>\n<p>You can do two things:<br \/>\n<tt><b>chmod u+s \/usr\/local\/gnupg\/bin\/gpg<\/b><\/tt><\/p>\n<p>or put following line in config of gpg:<\/p>\n<p>&#8216;no-secmem-warning&#8217;<\/p>\n<p><tt><b>echo \"no-secmem-warning\" &gt;&gt; ~\/.gnupg\/gpg.conf<\/b><\/tt><\/p>\n<p>I choose this second option.<\/p>\n<p><b>Installation under Windows<\/b> &#8211; you need to simply download and unpack binaries in directory (default <tt><b>C:\\GnuPG<\/b><\/tt>).<br \/>\nNow you need to add entries to registry, (you can use file <tt><b>gnupg-w32.reg<\/b><\/tt>).<\/p>\n<p>If you change default installation directory, then you need to modify pathes in registry of course.<\/p>\n<p>I will not write about key generation and ideology, because there is many pages about it, you can find it by yourself :)<\/p>","protected":false},"excerpt":{"rendered":"<h2>The GNU Privacy Guard<\/h2>\n<p>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 integracji z innymi aplikacjami. Dost\u0119pnych jest wiele frontend\u00f3w i aplikacji wykorzystuj\u0105cych biblioteki. GnuPG w wersji 2 dostarcza r\u00f3wnie\u017c wsparcia dla standardu S\/MIME.<\/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":[1,92,95,7],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7M9Tz-5l","jetpack-related-posts":[{"id":319,"url":"https:\/\/drfugazi.eu.org\/en\/gnu-privacy-guard\/","url_meta":{"origin":331,"position":0},"title":"The GNU Privacy Guard (GnuPG)","author":"drfugazi","date":"Sunday January 29th, 2012","format":false,"excerpt":"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 PGP. I will show you how to install and use GNU implementation, which is\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":6,"url":"https:\/\/drfugazi.eu.org\/en\/thunderbird-enigmail-gnupg\/","url_meta":{"origin":331,"position":1},"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":181,"url":"https:\/\/drfugazi.eu.org\/en\/gnupg\/","url_meta":{"origin":331,"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":321,"url":"https:\/\/drfugazi.eu.org\/en\/gnupg-windows-or-gpg4win\/","url_meta":{"origin":331,"position":3},"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":244,"url":"https:\/\/drfugazi.eu.org\/en\/","url_meta":{"origin":331,"position":4},"title":"m4-1.4.16","author":"drfugazi","date":"Tuesday May 17th, 2011","format":false,"excerpt":"GNU M4 jest implementacj\u0105 tradycyjnego UNIXowego procesora makr. Jest w wi\u0119kszo\u015bci kompatybilny z SRV4, ale posiada pewne rozszerzenia (np. przekazywanie wi\u0119cej ni\u017c 9 pozycjonowanych parametr\u00f3w do makr). GNU M4 posiada r\u00f3wnie\u017c wbudowane funkcje do w\u0142\u0105czania plik\u00f3w, wykonywania polece\u0144 pow\u0142oki, robienia arytmetyki itp. Jednym z najwi\u0119kszych beneficjent\u00f3w GNU M4 jest projekt\u2026","rel":"","context":"In \"Compilation\"","block_context":{"text":"Compilation","link":"https:\/\/drfugazi.eu.org\/en\/tag\/kompilacja\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":318,"url":"https:\/\/drfugazi.eu.org\/en\/diceware-2\/","url_meta":{"origin":331,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts\/331"}],"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=331"}],"version-history":[{"count":3,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts\/331\/revisions"}],"predecessor-version":[{"id":402,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts\/331\/revisions\/402"}],"wp:attachment":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/media?parent=331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/categories?post=331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/tags?post=331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}