Article View: alt.privacy.anon-server
Article #242096Re: PGP keys
From: Mirrorshades
Date: Fri, 10 Dec 2010 12:23
Date: Fri, 10 Dec 2010 12:23
171 lines
6831 bytes
6831 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Nomen Nescio wrote in alt.privacy.anon-server on Thursday 09 December 2010 19:57 in Message-ID: <5e9536514e8184528e8b13ecb8f36de2@dizum.com>: > I asked this before but didn't get an answer to my question, I'll try > again :) > > I want to create a new PGP key for myself. I will be > encrypting/signing messages mostly. > > I see the is-not-my.name instructions recommend RSA4096/RSA4096 so > all keys will have the same spec. Is this key a good choice for > general purpose keys? That depends. The idea behind making all the keys to the same spec, i.e. RSA 4096 for both signing and encryption was because the keys for mixnym are publically exposed for all to see. In this case, uniformity is a good thing, as it enables one to blend-in, as it were. In all cases it is wise to use the largest encryption key size that you can (currently 4096 bits). With respect to signing keys, the main difference between using RSA and DSS (Digital Signature Standard) is the size of the key, and the size of the resultant clearsigned signature. As far as the choice of signing algorithm goes, you have 2 choices: 1) RSA - RSA is the one now used by default by both PGP and Gnu Privacy Guard (GPG). The current default is to use 2048-bit RSA keys as standard. 1024-bit RSA keys are now deprecated -- NIST has advised that these not be used after December 31, 2010. 2) DSS - The Digital Signature Standard was originally designed to use 1024- bit keys; in fact that keysize is incorporated into the standard. There are implementations that use larger keys, e.g. 2048 and 3072-bits. The main advantage of DSS signature blocks is tht they are smaller in size, which you can see as follows: Signature made with a 1024-bit DSS signature (per standard): -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Here is some text to be clearsigned. -----BEGIN PGP SIGNATURE----- iEYEAREKAAYFAk0B81wACgkQRs5ugU4PakwsmQCeMYnKzbOTXmiGSc6/Ktc8c8MH ctYAnjYicBuH0kBxnwbd57MqX89q5PMu =7Pff -----END PGP SIGNATURE----- Signature made with a 3072-bit DSS key: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Here is some text to be clearsigned. -----BEGIN PGP SIGNATURE----- iF4EAREKAAYFAk0B86UACgkQpENEYF6Euhu74gD8CNMGELU4Uqqs9yrwc++ZCcrR F5E0pPvvb5Dkql6RHeIA/3a9Rxq+KrnqHEneLrDmKcPhODPqJIew2Yb6HVNFSRtP =yID9 -----END PGP SIGNATURE----- Notice that in both cases, the signature block is 3 lines. Compare that with the RSA keys, as follows: Signature made with 1024-bit RSA key: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Here is some text to be clearsigned. -----BEGIN PGP SIGNATURE----- iJwEAQEKAAYFAk0B9Q8ACgkQe9sjUhzKXh7wLQP/Y7kuvz24sruhzl18S7sSAhIi PBivykcSM2RjquCPy8GRoqkuHvSHdp2Sno0rjUx/9xJiNaRbb5nQdRkIoH2ZoA1O CScDKmrSm1Wg5GoTc4xAkDjsPI1HI2cLyHVVIdgDlHatjeikZigb7q6JAdzyMOAF iligiGpFIGNQV1lklpA= =i6Ev -----END PGP SIGNATURE----- Signature made with 2048-bit RSA key: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Here is some text to be clearsigned. -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJNAfRCAAoJEC/5oCNPmip86JkIAOSLx/QN3Jb8gvgQxGj/bBlo 3rMHDYsfXJ13o/4nuOffq4LjJplXF7/N1o5Bem5iJkZPG+VFXhoGKWuHAW3q0D99 aGGYIsjsFYYMG9RAeQOqTSgFmUZVTKYlM6PxTV/ZE9X6CYqCQ3JMOC+bDt27FsH4 G9H8uZM2h15Bo1nufOF3oOauV8KmqgToK1OVxG/9HkAsRa+27OIKuQVAb8OdEkd5 FPn458KLcFy7rZW5UnFnT2vWU++NaF5Ya4jlG8oiu3effXbEPPXqTVFN1MMv3XvY r8HQIaNNvXXZglovGrWlp55SbDxOob0uwGwxd7uyGbhUNogRa0ithgLHmGX+akw= =ceaA -----END PGP SIGNATURE----- Signature made with 4096-bit RSA key: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Here is some text to be clearsigned. -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJNAfV7AAoJEMGClPEcgywZo+kP+QFhGR9HI75Cc0vvgx2usT8I J8lqVQ6bXkRKI/ctu3+2XnqgSY47kL+Dkzhf4I3lORk4Zx3oiNuoR/l58Pb0K/PW d+OT5oNj0qoKWPY743mnkzkxlSXqabp5mg057O6jOPcgP5ObdiM8zdmPCP58W4+z n92WUwgZi3isZaSKUG+KWl402Pe6hSS27NqmgkKkdK0Se/4rV67H+H3eyzC06i+Z XQNM7jYrMA2MxrYuHriZLboFnk6YkFSIyXdM5Y6cNi47qpnQ70ZIXflC5D2PK+Io U0pkXRSyC+3rPQpkAoZdsihmIWpMCpJ0UwDzRH9GeH0eFfK/4IruGyq4eNxtqice v8tlyK1II8ozjyRLtxwDZmMWm+1t4oz/C/C22xHUG5mWnd1FsgUlQCuWreEqjon8 EqjvdRUH36Chqo0iasrGGqaEfKf40j8Fl0DZPUM4y5vNZqt8zp/Vu6ZaWRjG3jEu vIYfJc1JooU8YQZZeUZ287Pqrop/nStB5ffi7odxKBGVwCOZ02x72HjfDcT2gKZL 8/7Y7raCb2lV6cKQ31hhSC533ycf0z2aGvWt6r9mOOdIgCKFSELtkbC1TNBqGtGZ MP2Zt4U48drwHZf1K7ev83QE7eY4YegYkYWKXdojG69gA/7tt/eAyb17PGV2netV Pw9M45MaOqxTwUFfhKNF =xth7 -----END PGP SIGNATURE----- So, as you can see, the size of the signature block increases as the size of the RSA key used to sign with increases. 1024-bit DSS key: 3 lines 3072-bit DSS key: 3 lines 1024-bit RSA key: 5 lines 2048-bit RSA key: 7 lines 4096-bit RSA key: 13 lines To sum up, 1024-bit keys, of any type, should not be considered for use. Anything 2048 or higher should be good for the next 20+ years. The final factor to consider is, who will be checking your signatures? Some implementations of the OpenPGP standard choke on DSS keys larger than 1024-bits; RSA keys do not have that problem, but then you have to put up with larger signature blocks. RSA-2048/RSA-4096 is a good compromise. > TIA Mirrorshades -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJNAg5iAAoJENBKlgLoKO0zVi0H/iwBzfzaPrdY/Ff6tpuQ53/Z O18q/aetlFPomnlKdCiRbaWBtTHleMSoxePOrkpb+TSGFSWA3d7SBzA6YpFMuDQr kLTD7vrDUkd0GoiFNckCDabLa4Vfpt9SH/sp9z0mHYq4cwUki6FOU2tWswrF3ZTi 8JBjo5GNB+SxxSisvn2XeXzG11s28l6h20Zmqnigz9noH5YgeGkdJWVwr7tR8BWx UwajNzmcX15fZAqZcKPkgRR66l8SEBguaeGZzD9NF4piEO6QtJbn0So/WnQTC2Mu EDsi198ulbjtc3uQpkxmzswhNpSFjGy4iq5poyeyU7BFQef5F8NBsbSNcewMhNg= =Kg8Y -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<20101210122308.9747C814EF@fleegle.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!news.mixmin.net!news.bananasplit.info!mail2newsReferences:
<5e9536514e8184528e8b13ecb8f36de2@dizum.com>Show Full Headers
Complete Article Headers
Message-ID: <20101210122308.9747C814EF@fleegle.mixmin.net> Subject: Re: PGP keys Date: Fri, 10 Dec 2010 12:23:08 +0000 From: Mirrorshades <Use-Author-Supplied-Address-Header@[127.1]> References: <5e9536514e8184528e8b13ecb8f36de2@dizum.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!news.mixmin.net!news.bananasplit.info!mail2news Author-Supplied-Address: Mirrorshades <AT> nym <DOT> mixmin <DOT> net Newsgroups: alt.privacy.anon-server X-Abuse-Contact: abuse@mixmin.net Organization: Bananasplit - Mail2News Injection-Info: mail2news.mixmin.net Lines: 170 X-Original-Bytes: 6566