{"id":24,"date":"2005-06-09T00:12:00","date_gmt":"2005-06-09T07:12:00","guid":{"rendered":"http:\/\/ilias.ca\/blog\/2005\/06\/digitally-signing-newsgroup-posts\/"},"modified":"2008-09-11T13:39:06","modified_gmt":"2008-09-11T17:39:06","slug":"digitally-signing-newsgroup-posts","status":"publish","type":"post","link":"https:\/\/ilias.ca\/blog\/2005\/06\/digitally-signing-newsgroup-posts\/","title":{"rendered":"Digitally signing newsgroup posts"},"content":{"rendered":"<p>I recently did some testing of <acronym title=\"Secure Multipurpose Internet Mail Extension\">SMIME<\/acronym> signed newsgroup messages. First, I guess I should state how I achieved it in <a href=\"http:\/\/www.getthunderbird.com\/\">Mozilla Thunderbird<\/a> (also works in <a href=\"http:\/\/www.mozilla.org\/products\/mozilla1.x\/\">Mozilla Application Suite<\/a>, and <a href=\"http:\/\/ilias.ca\/netscape\/\">Netscape 7<\/a>):<br \/>\nFirst, set up one of your mail accounts to have a certificate for digital signing. Close Mozilla Thunderbird, and open your <strong>prefs.js<\/strong> file. The mail identity in which you added a certificate should have a couple of pref lines pertaining to digital signing. For instance, if it were id1, it would be:<br \/>\n<code style=\"font-weight: bold; color: #333399\">user_pref(\"mail.identity.id1.sign_mail\", false);<br \/>\nuser_pref(\"mail.identity.id1.signing_cert_name\", \"certificate name here\");<\/code><\/p>\n<p>Copy and paste those lines to the id that pertains to your news account, and edit the id number on the pasted lines. So, if your news account is id6, you should have both:<br \/>\n<code style=\"font-weight: bold; color: #333399\">user_pref(\"mail.identity.id1.sign_mail\", false);<br \/>\nuser_pref(\"mail.identity.id1.signing_cert_name\", \"certificate name here\");<\/code><\/p>\n<p>and<br \/>\n<code style=\"font-weight: bold; color: #333399\">user_pref(\"mail.identity.id6.sign_mail\", false);<br \/>\nuser_pref(\"mail.identity.id6.signing_cert_name\", \"certificate name here\");<\/code><\/p>\n<p>(Note that if you want your messages to be automatically be signed, you can change the value of <span style=\"font-weight: bold; color: #333399;\">mail.identity.id6.sign_mail<\/span> to true.)<\/p>\n<p>Save and close the prefs.js, and start Thunderbird. Open a newsgroup, and click on &#8220;Write.&#8221; If you want to sign the message, you can go to <strong>Options -&gt; Security -&gt; Digitally Sign This Message<\/strong>.<\/p>\n<p>Okay, now that we know how to do it, what happens when it&#8217;s done?<\/p>\n<p><span style=\"text-decoration: underline;\">Size<\/span><br \/>\nThe first message I tested contained a body of one word: &#8220;test&#8221;. That message was 4<acronym title=\"KiloByte\">KB<\/acronym>. I got a certificate with lower encryption. The first was 2048bit, the second was 1024. The same test message with a 1024 bit key was 1<acronym title=\"KiloByte\">KB<\/acronym> less in size (3<acronym title=\"KiloByte\">KB<\/acronym>). Note that if you&#8217;re using the <a href=\"http:\/\/quimby.gnus.org\/circus\/face\/\">Face header<\/a>, that will also add another <acronym title=\"KiloByte\">KB<\/acronym> to your message, so all in all, you could have a one word newsgroup post, that is 5<acronym title=\"KiloByte\">KB<\/acronym> in size.<\/p>\n<p><ins>Usenet<\/ins><br \/>\nI did a few tests in <a href=\"http:\/\/groups-beta.google.com\/group\/netscape.public.test\">netscape.public.test<\/a> to see if the messages would propagate, and how <a href=\"http:\/\/groups.google.com\/\">Google<\/a> will take and display them. Google didn&#8217;t take them. As a matter of fact, neither did <a href=\"http:\/\/www.giganews.com\/\">Giganews<\/a>. I had to use <a href=\"news:\/\/news.mozilla.org:119\/netscape.public.test\">news.mozilla.org<\/a> to post them. Unsigned replies to those tests showed up on both Google and Giganews, so I did some digging. The signed messages were sent with the content-type header:<br \/>\n<strong>Content-Type: multipart\/signed; protocol=&#8221;application\/x-pkcs7-signature&#8221;; micalg=sha1; boundary=&#8221;&#8212;&#8212;&#8212;&#8212;ms090800060705060603050107&#8243;<\/strong><br \/>\nBoth Google and Giganews filter out messages with binary attachments in text groups. Google and Giganews are treating the signature as a binary attachment. To verify this, I tried to post a signed message to <a href=\"news:\/\/news.giganews.com:119\/giganews.test.binary\">giganews.test.binary<\/a>, and it worked. If you want to sign your newsgroup messages, expect them to be treated as binary attachments.<\/p>\n<p><span style=\"text-decoration: underline;\">Display<\/span><br \/>\nOkay, the digital signatures are treated as binary attachments. How are other news clients going to display the message. What I have on my system is Thunderbird, Netscape7, Mozilla 1.7.8, Netscape Communicator 4.8, Opera 7.54, Outlook Express 6, and Xnews5.04. All, except Opera and Xnews, recognized the signature as such, and had special display for it (key, etc). Opera and Xnews just considered it an attachment and used the generic attachment display method.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Conclusion<\/span><\/strong><br \/>\nIf you&#8217;re posting on usenet, don&#8217;t bother. If you&#8217;re posting on a private server, make sure there&#8217;s a clear reason to digitally sign your messages, that is worth the extra 2<acronym title=\"KiloByte\">KB<\/acronym>, and take note of the software others are using.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently did some testing of SMIME signed newsgroup messages. First, I guess I should state how I achieved it in Mozilla Thunderbird (also works in Mozilla Application Suite, and Netscape 7): First, set up one of your mail accounts&hellip;  <\/p>\n<p class=\"more-link\"><a href=\"https:\/\/ilias.ca\/blog\/2005\/06\/digitally-signing-newsgroup-posts\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,3,7,6,5],"tags":[],"class_list":["post-24","post","type-post","status-publish","format-standard","hentry","category-mozilla","category-mozilla-suite","category-netscape","category-seamonkey","category-thunderbird"],"_links":{"self":[{"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/posts\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/comments?post=24"}],"version-history":[{"count":2,"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/posts\/24\/revisions"}],"predecessor-version":[{"id":247,"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/posts\/24\/revisions\/247"}],"wp:attachment":[{"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/media?parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/categories?post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/tags?post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}