plugin:crypto
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:crypto [2014-12-30 13:17] – removed 112.134.32.106 | plugin:crypto [2018-05-30 21:40] (current) – [Download and Installation] Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== crypto Plugin ====== | ||
+ | ---- plugin ---- | ||
+ | description: | ||
+ | author | ||
+ | email : rene@driessel.de | ||
+ | type : syntax, action | ||
+ | lastupdate : 2010-05-04 | ||
+ | compatible : 2010-11-07, 2011-05-25 | ||
+ | depends | ||
+ | conflicts | ||
+ | similar | ||
+ | tags : encryption, decryption | ||
+ | |||
+ | downloadurl: | ||
+ | ---- | ||
+ | |||
+ | The crypto plugin allows you to save encrypted Text in an wiki page. The encryption is done via AJAX on the server side using the blowfish algorithm already delivered with DokuWiki. Therefore you should use this plugin only with SSL enabled. | ||
+ | |||
+ | ===== Download and Installation ===== | ||
+ | |||
+ | Search and install the plugin using the [[plugin: | ||
+ | |||
+ | ===== Syntax and Usage ===== | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | ====== Comments ====== | ||
+ | |||
+ | **Just to emphasize what Martin says below, I have recently upgrade my Ubuntu server running DokuWiki from 12.04 to 13.10 and I now cannot decrypt ANY of my encrypted data!!!** OMG! 8-O | ||
+ | |||
+ | We noted that the **Blowfish** implementation used by this Plugin is **__platform dependent__**((https:// | ||
+ | to some other machine. | ||
+ | |||
+ | Martin | ||
+ | |||
+ | |||
+ | |||
+ | Good work. But does, unfortunately, | ||
+ | |||
+ | Martin | ||
+ | |||
+ | Nice done... but there is a security hole. You send a " | ||
+ | |||
+ | AlexJ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | I know this hole was a design decision. You should use this plugin only, with SSL enabled. If you need javascript encryption on the client side you should use the [[plugin: | ||
+ | |||
+ | René | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Patch file below (unified diff) that fixes special character, such as ' | ||
+ | < | ||
+ | --- crypto/ | ||
+ | +++ crypto-glo/ | ||
+ | @@ -86,7 +86,7 @@ | ||
+ | | ||
+ | | ||
+ | try { | ||
+ | - $data | ||
+ | + $data | ||
+ | | ||
+ | if (empty($secret)) { | ||
+ | | ||
+ | @@ -97,7 +97,7 @@ | ||
+ | | ||
+ | } | ||
+ | |||
+ | - print $result; | ||
+ | + print '< | ||
+ | | ||
+ | } | ||
+ | |||
+ | diff -ru crypto/ | ||
+ | --- crypto/ | ||
+ | +++ crypto-glo/ | ||
+ | @@ -95,7 +95,7 @@ | ||
+ | if ($(' | ||
+ | | ||
+ | | ||
+ | - dialog.sack.setVar(" | ||
+ | + dialog.sack.setVar(" | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | -- Karl | ||
+ | |||
+ | ---- | ||
+ | **Hint for best rendering** | ||
+ | |||
+ | File: < | ||
+ | |||
+ | CSS modifications to hide encrypted text and to show decrypted text | ||
+ | |||
+ | div.dokuwiki span.encrypted { | ||
+ | width: 100%; | ||
+ | background-color: | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | div.dokuwiki span.decrypted { | ||
+ | background-color: | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | Emanuele |
plugin/crypto.1419941824.txt.gz · Last modified: 2014-12-30 13:17 by 112.134.32.106