{"id":4,"date":"2007-11-29T16:27:54","date_gmt":"2007-11-29T16:27:54","guid":{"rendered":"http:\/\/www.eriugena.org\/blog\/?p=4"},"modified":"2007-12-01T00:51:57","modified_gmt":"2007-12-01T00:51:57","slug":"how-to-read-an-smimep7m","status":"publish","type":"post","link":"http:\/\/www.eriugena.org\/blog\/?p=4","title":{"rendered":"How to read an &#8220;smime.p7m&#8221;"},"content":{"rendered":"<p>If you read your e-mail with a client that does not understand S\/MIME encryption and someone has sent you an S\/MIME encrypted message then you will see an attachment named &#8220;smime.p7m&#8221; like <a href=\"http:\/\/www.eriugena.org\/code\/p7mfile\/smime.jpg\" target=\"_blank\">this one<\/a>.<\/p>\n<p>With Gmail you could use the &#8220;Show original&#8221; option to view the full S\/MIME encoded e-mail message, cut+paste it to a text editor, save as &#8220;something.eml&#8221; and open that with Outlook Express, or similar, which understands S\/MIME. Of course, you do have to have the matching private key to decrypt the message!<\/p>\n<p>With other e-mail clients that do not present the option to view the unaltered e-mail, or when the &#8220;smime.p7m&#8221; attachment has been forwarded, you need a way to re-format it back into a valid S\/MIME message. To do that I wrote <a href=\"http:\/\/www.eriugena.org\/code\/p7mfile\/\" target=\"_blank\">this<\/a> small program. Save the attachment to disk and feed it to &#8220;p7mfile.exe&#8221; which will format it and pass it on to Outlook Express.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you read your e-mail with a client that does not understand S\/MIME encryption and someone has sent you an S\/MIME encrypted message then you will see an attachment named &#8220;smime.p7m&#8221; like this one. With Gmail you could use the &#8220;Show original&#8221; option to view the full S\/MIME encoded e-mail message, cut+paste it to a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-4","post","type-post","status-publish","format-standard","hentry","category-crypto"],"_links":{"self":[{"href":"http:\/\/www.eriugena.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.eriugena.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.eriugena.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.eriugena.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.eriugena.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4"}],"version-history":[{"count":0,"href":"http:\/\/www.eriugena.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.eriugena.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.eriugena.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.eriugena.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}