Plugin Directory


The S/MIME plugin allows your blog to send out encrypted notifications. This could be useful for an internal blog where your mail server is external, and you want the information confidential as it travels over the public Internet. I realize that this plugin has limited use, but I hope someone else finds it useful as well.

Download: http://weblog.elwing.org/elwing/index.php/archive/2005/04/15/smime-plugin/

Prerequisites: S/MIME uses openssl function calls, you must have openssl compiled in or enabled as an extension. WP 1.5 is required - I seriously doubt that < 1.5 will work, but you’re welcome to try.

In order to use it, download the smime.php.gz file, uncompress it into your wp-content/plugins folder, and enable it. Administrator options are available under Options->Crypto Options, and user keys are available under Users->Encryption Keys. In order to enable the encryption, you must edit wp-includes/functions.php and look for the wp_mail function. Within the wp_mail function, change mail( to smimemailer(. It appears that this will not be necessary with 1.5.1, but I’m not sure yet, so this is the current safest way.

Currently, you still have to cut and paste the PEM file, but I’d like to implement file upload. The weblog does not sign e-mails yet. And I’ve commented out the options form which stores the blog’s private key. There are probably a lot of bugs, please let me know. I have the plugin registered on wp-plugins.org as smime, so maybe you can post bug reports there. I’m not sure how it works yet, so be patient as I figure it out.

Last modified 13 years ago Last modified on 04/16/05 03:35:28