{"id":33195,"date":"2014-12-01T20:44:04","date_gmt":"2014-12-01T20:44:04","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/openpgp-form-encryption\/"},"modified":"2024-04-17T16:40:46","modified_gmt":"2024-04-17T16:40:46","slug":"openpgp-form-encryption","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/openpgp-form-encryption\/","author":14166953,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.5.1","stable_tag":"v1.5.1","tested":"4.9.29","requires":"4.0","requires_php":"","requires_plugins":null,"header_name":"OpenPGP for Textareas","header_author":"Erik L. Arneson","header_description":"","assets_banners_color":"","last_updated":"2024-04-17 16:40:46","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/cash.me\/$ErikLArneson","header_plugin_uri":"","header_author_uri":"http:\/\/www.arnesonium.com\/","rating":5,"author_block_rating":0,"active_installs":30,"downloads":5754,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"v1.1":{"tag":"v1.1","author":"arnesonium","date":"2014-12-01 20:44:40"},"v1.2":{"tag":"v1.2","author":"arnesonium","date":"2014-12-09 03:38:09"},"v1.2.1":{"tag":"v1.2.1","author":"arnesonium","date":"2014-12-09 04:07:59"},"v1.3.1":{"tag":"v1.3.1","author":"arnesonium","date":"2015-07-08 16:02:53"},"v1.5.0":{"tag":"v1.5.0","author":"arnesonium","date":"2018-01-18 17:41:54"},"v1.5.1":{"tag":"v1.5.1","author":"arnesonium","date":"2024-04-17 16:40:46"}},"upgrade_notice":{"":"<p>There is no pressing need to upgrade to the latest version. If you&#039;re\non at least version 1.0, everything should be just dandy for you.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["v1.1","v1.2","v1.2.1","v1.3.1","v1.5.0","v1.5.1"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"A textarea that has been encrypted, including a view of the \"Encrypt\" button."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[12167,601,19510,47282,15414],"plugin_category":[42],"plugin_contributors":[94828],"plugin_business_model":[],"class_list":["post-33195","plugin","type-plugin","status-publish","hentry","plugin_tags-encryption","plugin_tags-forms","plugin_tags-gnupg","plugin_tags-openpgp","plugin_tags-pgp","plugin_category-contact-forms","plugin_contributors-arnesonium","plugin_committers-arnesonium"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/openpgp-form-encryption.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin uses <a href=\"http:\/\/openpgpjs.org\/\">OpenPGP.js<\/a> to provide public key encryption for a\ntextarea. It is most useful for any kind of text area that will be\nsubmitted via email or over an unsecured network connection.<\/p>\n\n<p>The GitHub repository for this plugin is located at https:\/\/github.com\/pymander\/wordpress-openpgp<\/p>\n\n<h4>Usage<\/h4>\n\n<p>This plugin provides a simple shortcode which you can add to your\nforms. To use the shortcode, you must first upload your ASCII-armored\npublic key to your blog\u2019s media section. Note that the public key must\nreside on the same server as your blog.<\/p>\n\n<p>The <code>cryptbutton<\/code> shortcode takes the following arguments.<\/p>\n\n<p><strong>keyid<\/strong>\nThe media ID of your ASCII-armored public key. Either this or <code>keyurl<\/code>\nare required.<\/p>\n\n<p><strong>keyurl<\/strong>\nThe URL for your ASCII-armored public key. Either this argument or\n    keyid are required.<\/p>\n\n<p><strong>textarea<\/strong> \nOptional. The HTML ID for the textarea element to be encrypted. When\nthis is omitted, the plugin will try to find the correct textarea\nautomatically.<\/p>\n\n<p><strong>class<\/strong>\nOptional. Specify additional CSS classes for the button element.<\/p>\n\n<p><strong>text<\/strong>\nOptional. Specify the button text. This defaults to \"Encrypt\". You can\nalso use the shortcode as an open\/close tag, and the contents will be\nused as the button text.<\/p>\n\n<h4>Example<\/h4>\n\n<p>This example uses the <a href=\"http:\/\/jetpack.me\/\">Jetpack for WordPress<\/a> contact form. You can\nsee an example of the output on my <a href=\"http:\/\/arnesonium.com\/contact\/\">Contact page<\/a>. The WordPress code\nlooks something like this:<\/p>\n\n<pre><code>[contact-form subject='ARNESONIUM CONTACT']\n[contact-field label='Name' type='name' required='1'\/]\n[contact-field label='Email' type='email' required='1'\/]\n[contact-field label='Phone' type='text'\/]\n[contact-field label='Comment' type='textarea' required='1'\/]\n[cryptbutton keyid=42]Encrypt[\/cryptbutton]\n[\/contact-form]\n<\/code><\/pre>\n\n<p>Line 6 displays the cryptbutton usage. Note that I changed some\nelements of this example to make things clearer. You will need to play\nwith layout and CSS to get things looking nice.<\/p>\n\n<h4>Contact Form 7<\/h4>\n\n<p>This plugin also adds a <code>cryptbutton<\/code> shortcode to\n<a href=\"http:\/\/contactform7.com\/\">Contact Form 7<\/a>. Shortcodes use a slightly\ndifferent syntax with CF7. All of the options are still available, but\nthe example above would be used in a form like this:<\/p>\n\n<pre><code>&lt;p&gt;\n[cryptbutton keyid:42 \"Encrypt\"]\n[submit \"Send\"]\n&lt;\/p&gt;\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>To install this plugin, follow these directions:<\/p>\n\n<ol>\n<li>Download the latest zip file from <a href=\"https:\/\/github.com\/pymander\/wordpress-openpgp\/releases\">the releases page<\/a>.<\/li>\n<li>Next, load up your WordPress blog\u2019s dashboard, and go to <strong>Plugins &gt; Add New<\/strong>.<\/li>\n<li>Upload the zip file.<\/li>\n<li>Click <strong>Activate<\/strong>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20get%20a%20public%20key%3F'><h3>How do I get a public key?<\/h3><\/dt>\n<dd><p>OpenPGP for WordPress requires access to an OpenPGP public key in\nASCII armored form. For more information on key generation and\nOpenPGP, I recommend the <a href=\"https:\/\/emailselfdefense.fsf.org\/en\/\">Email Self-Defense website<\/a>, which has\ninstructions for multiple operating systems.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.5.1<\/h4>\n\n<ul>\n<li>Escaped outputs to avoid XSS vulnerabilities.<\/li>\n<li>Removed 'style' option from the cryptbutton shortcode.<\/li>\n<\/ul>\n\n<h4>1.5.0<\/h4>\n\n<ul>\n<li>Fixed support for newer version of Contact Form 7<\/li>\n<li>Update to OpenPGP.js 2.6.1 with new API<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Add support for Contact Form 7<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Update to OpenPGP.js 1.2.0<\/li>\n<li>Fix minor bugs<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Update to OpenPGP.js 1.0.1<\/li>\n<li>Tested against WordPress 4.2.2<\/li>\n<li>Robust checks to make sure the browser can support OpenPGP.js<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Automatically find textarea for encryption.<\/li>\n<li>Fixed possible bug with plaintext modification.<\/li>\n<li>Use open and close tags for custom button text.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Prepare everything for inclusion in WordPress Plugin repository.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>\n\n<h4>0.9<\/h4>\n\n<ul>\n<li>Development pre-release.<\/li>\n<\/ul>","raw_excerpt":"OpenPGP public key encryption for any textarea with a shortcode button.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/33195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=33195"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/arnesonium"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=33195"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=33195"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=33195"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=33195"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=33195"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=33195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}