DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:dokucrypt2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:dokucrypt2 [2020-10-14 19:56] – [About] sherriplugin:dokucrypt2 [2024-03-12 02:43] (current) Fumigator2
Line 3: Line 3:
 ---- plugin ---- ---- plugin ----
 description: A plugin to support client side cryptography description: A plugin to support client side cryptography
-author     : Scott Moser (smoser@brickies.net), maintained by Sherri W. (Twitter @SyntaxSeed / SyntaxSeed.com)+author     : Scott Moser (smoser@brickies.net), maintained by Sherri Wheeler. (Twitter @SyntaxSeed / SyntaxSeed.com)
 type       : admin type       : admin
-lastupdate : 2020-10-14+lastupdate : 2022-08-08
 compatible : 2018-04-22b+, 2020-07-29+ compatible : 2018-04-22b+, 2020-07-29+
 depends    :  depends    : 
-conflicts  : aceeditor+conflicts  : aceeditor, fastwiki
 similar    : dokucrypt similar    : dokucrypt
 tags       : encryption, password tags       : encryption, password
Line 19: Line 19:
 ---- ----
  
-:!: This replaces the: [[plugin:dokucrypt|Original DokuCrypt Plugin]].+This replaces the: [[plugin:dokucrypt|Original DokuCrypt Plugin]]. 
 + 
 +:!: I am looking for a new maintainer for this plugin. If interested, please contact me via my business contact form (https://www.avinus.com/contact).  --- [[user>sherri|sherri]] //2023-09-05 17:09//
  
  
Line 27: Line 29:
  
   * Fully tested on: 2018-04-22b+ "Greebo"   * Fully tested on: 2018-04-22b+ "Greebo"
-  * Currently testing/reviewing on: 2020-07-29 "Hogfather". (Use version 2020-10-14 of DokuCrypt2.)+  * Fully tested on:: 2020-07-29 "Hogfather". (Use version 2020-10-19 or later of DokuCrypt2.)
  
 Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
Line 47: Line 49:
 ===== Releases ===== ===== Releases =====
  
 +  * 2022-08-08: Added ability and setting for copying the contents to the clipboard on decrypt.
 +    * Contributed by Thomas Schäfer (https://github.com/ternite).
 +  * 2022-02-02: Preparatory fixes/testing for PHP 8. Improvements for code style PSRs.
 +  * 2021-05-18: Fix for internal link edit toolbar button. Issue #12.
 +  * 2021-03-03: Add wrapping for the pre tag. Contributed by dustin-something.
 +  * 2020-10-19: Cosmetic changes, add CSS classes, collapse blocks by default.
   * 2020-10-14: Temp fix for Dokuwiki 2020-07-29 "Hogfather". DecryptSecret button was not appearing on page edit.   * 2020-10-14: Temp fix for Dokuwiki 2020-07-29 "Hogfather". DecryptSecret button was not appearing on page edit.
   * 2020-02-07: Updated for PHP v 7+.   * 2020-02-07: Updated for PHP v 7+.
Line 59: Line 67:
  
   Hi world.  I have a secret.  Can you read it?   Hi world.  I have a secret.  Can you read it?
-  < SECRET>I like ice cream< /SECRET> +  <SECRET>I like ice cream.</SECRET>
- +
-  * **Note:** the space before 'SECRET' must be removed+
  
 When the user hits 'Save' (or a draft is attempted to be saved) a prompt will open, asking the user to enter a pass phrase key for the encryption.  Once supplied, the encryption will be done in the browser and the encrypted text submitted to the server. When the user hits 'Save' (or a draft is attempted to be saved) a prompt will open, asking the user to enter a pass phrase key for the encryption.  Once supplied, the encryption will be done in the browser and the encrypted text submitted to the server.
  
 +=== Special Characters ===
 +
 +The less-than (<) and greater-than(>) symbols, if included in the enclosed text to encrypt, will break the decryption and cause some content to not be shown. To enter these characters in your content to be encrypted, use their HTML entity equivalents:
 +
 +  * < = Use: ''&lt;''
 +  * > = Use: ''&gt;''
  
 ==== Viewing Encrypted Data ==== ==== Viewing Encrypted Data ====
Line 77: Line 89:
 To edit the encrypted data, the user needs to Edit the wiki page.  When first loaded, encrypted text will appear encrypted, surrounded by %%<ENCRYPTED>%% and %%</ENCRYPTED>%% tags.  To edit this text, the user needs to press the 'DecryptSecret' button between 'Save' and 'Preview', and supply the correct pass phrase.  The encrypted text will be decrypted to the 'SECRET' form showed above, and the use can edit in plaintext.  Submits or drafts will be encrypted before submission with the same pass phrase supplied. To edit the encrypted data, the user needs to Edit the wiki page.  When first loaded, encrypted text will appear encrypted, surrounded by %%<ENCRYPTED>%% and %%</ENCRYPTED>%% tags.  To edit this text, the user needs to press the 'DecryptSecret' button between 'Save' and 'Preview', and supply the correct pass phrase.  The encrypted text will be decrypted to the 'SECRET' form showed above, and the use can edit in plaintext.  Submits or drafts will be encrypted before submission with the same pass phrase supplied.
  
 +==== Settings ====
 +
 +This plugin includes configuration settings.
 +
 +  * ''copytoclipboard'' - If set to true, the plugin tries to copy the decrypted value to the clipboard.
 +  * ''hidepasswordoncopytoclipboard'' - If set to true, the decrypted value will not be shown after being copied to the clipboard (see option 'copytoclipboard').
 +
 +===== Known Issues =====
 +
 +  * May not work if the website including plugin control text is being translated into another language.
 +  * Conflicts with Encrypted Passwords plugin (both plugins attempt to parse the <encrypt></encrypt> tag).  --- [[user>Fumigator2|Fumigator2]] //2024-03-12 02:41//
  
-===== Known Issues / Feature Requests =====+===== Feature Requests =====
  
 Please use the [[https://github.com/syntaxseed/dokucrypt2/issues|GitHub Issues page]]. Please use the [[https://github.com/syntaxseed/dokucrypt2/issues|GitHub Issues page]].
plugin/dokucrypt2.1602698162.txt.gz · Last modified: 2020-10-14 19:56 by sherri

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki