• Resolved Linmp

    (@linmp)


    It would be nice to be able to use the same RSA/ECC keys used in e-mail S/MIME.

    I know this is called WP PGP Encrypted Emails, but since anyone can create their own RSA/ ECC using a free tool like https://sourceforge.net/projects/xca/ or any other ( like maybe this one: https://sectools.free.fr/index-EN.htm ) this would be nice… and has the additional advantage of not needing any third party tool besides the e-mail software it self.

    And because the person can make their own key is as secure as it is using GnuPG.

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter Linmp

    (@linmp)

    Hello Meitar again!
    Thanks for your work!
    1) Yes, I’m using Contact Form 7. And yes you did fix this problem with Contact Form 7.

    2) Now I have tested the “Email Subscribers & Newsletters” (https://www.ads-software.com/plugins/email-subscribers/) and is giving me a error when sending “Newsletters”.

    === Error Log : Beginning ===

    Fatal error: Uncaught exception ‘Error’ with message ‘Length must be greater than 0’ in /www/blog/wp-includes/random_compat/random_bytes_dev_urandom.php:93 Stack trace: #0 /www/blog/wp-content/plugins/wp-pgp-encrypted-emails/includes/class-wp-smime.php(139): random_bytes(0) #1 [internal function]: WP_SMIME::encrypt(‘<strong style=”…’, ‘From: “Admin” <…’, Resource id #297) #2 /www/blog/wp-includes/class-wp-hook.php(298): call_user_func_array(Array, Array) #3 /www/blog/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘<strong style=”…’, Array) #4 /www/blog/wp-content/plugins/wp-pgp-encrypted-emails/wp-pgp-encrypted-emails.php(1340): apply_filters(‘smime_encrypt’, ‘<strong style=”…’, ‘From: “Admin” <…’, Resource id #297) #5 /www/blog/wp-content/plugins/ in /www/blog/wp-includes/random_compat/random_bytes_dev_urandom.php on line 93

    === Error Log : End ===

    The e-mail to the webmaster e-mail is send encrypted, the e-mail to the user without S/MIME key is send properly, the e-mail send to the user with S/MIME key set up is not sent.

    3) The same happens when publishing a normal article of the wordpress… and I really mean, I do a normal article on wordpress, but when I publish it to the web site I received the error bellow:

    === Error Log : Beginning ===

    Fatal error: Uncaught exception ‘Error’ with message ‘Length must be greater than 0’ in /www/blog/wp-includes/random_compat/random_bytes_dev_urandom.php:93 Stack trace: #0 /www/blog/wp-content/plugins/wp-pgp-encrypted-emails/includes/class-wp-smime.php(139): random_bytes(0) #1 [internal function]: WP_SMIME::encrypt(‘Hello Carina,<b…’, ‘From: “Admin” <…’, Resource id #295) #2 /www/blog/wp-includes/class-wp-hook.php(298): call_user_func_array(Array, Array) #3 /www/blog/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘Hello Carina,<b…’, Array) #4 /www/blog/wp-content/plugins/wp-pgp-encrypted-emails/wp-pgp-encrypted-emails.php(1340): apply_filters(‘smime_encrypt’, ‘Hello Carina,<b…’, ‘From: “Admin” <…’, Resource id #295) #5 /www/blog/wp-content/plugins/ in /www/blog/wp-includes/random_compat/random_bytes_dev_urandom.php on line 93

    === Error Log : End ===

    “Hello Carina” is probably referring in this case of the user with S/MIME set up on its account.
    The other e-mails are sent correctly (encrypted to the admin e-mail, and to the none set up S/MIME user).
    And yes the article is published correctly on the web site.

    This happens if “Email Subscribers & Newsletters” is active… without it the e-mail notifications can’t be send of course. Disabling the “WP PGP Encrypted Emails” makes it work properly without errors.

    4) It should be possible to upload the private key of the blogs admin e-mail so that e-mails can be sign when being sent out.

    Plugin Author Meitar

    (@meitar)

    Weird that the Email Subscribers plugin is causing some problems. ?? I’ll look into that when I can and have opened this bug report to keep track of the issue.

    As for S/MIME signing, yes, that’s in the works as well just like it came to the OpenPGP feature set. I’ve opened another enhancement request issue to track progress on that, too.

    • This reply was modified 7 years, 9 months ago by Meitar.
    Plugin Author Meitar

    (@meitar)

    @linmp, I am unable to reproduce the issue with the Email Subscribers & Newsletters plugin. When I create a new post, the newsletter plugin successfully sends a properly formatted S/MIME message to the subscriber’s email address; that user’s certificate is pulled from their profile and used for encryption. I believe that you’re encountering a problem but there may be more complex interactions for which my testing environment does not account.

    In order to troubleshoot this issue further, please post detailed instructions describing, step-by-step, the setup of your WordPress environment on the GitHub-hosted issue tracker in issue number 21.

    Please see How To Write A Good Bug Report for more guidance on writing such detailed reports, if you feel it would be helpful. ??

    You may also consider raising the issue to the Email Subscribers & Newsletter plugin developers themselves to see if they can more quickly troubleshoot the issue you’re having from their side. I would be happy to work with them to ensure our plugins work well together, by communicating about our two plugins’ compatibility on the GitHub issue tracker, linked above.

    Again, I’m sorry that I’m unable to quickly diagnose this issue. Also, since I am houseless (homeless) and this plugin is 100% donation-funded, I may not have as much time to look into this issue with great detail in the immediate future, so I apologize for any further delays. Donations are the entirety of my income and go directly to the costs of food and other necessities. Thanks again for your time on this and for helping make this plugin as robust as it can be!

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Accept also S/MIME keys’ is closed to new replies.