Learn about DokuWiki
Learn about DokuWiki
Compatible with DokuWiki
Similar to dokucrypt
This replaces the: Original DokuCrypt Plugin.
This is a newly maintained version of the DokuCrypt plugin. It is fully patched for the latest version of Dokuwiki (last tested on Release 2017-02-19b “Frusterick Manners”).
The download url above is the latest one. Install via the extension manager.
Note: I have copied and updated this plugin due to it being very important for my day-to-day use. The original author hasn't touched it in years, and I hope he won't mind.
— Sherri 2017-06-26 04:45
2017-06-25 - I am not sure if this is needed any longer. This plugin unfortunately requires some changes to docuwiki code to allow it to function. These changes are distributed as patches here.
After installation via 'do=admin&page=extension&tab=search&q=' from within dokuwiki I get a warning for pending update:
Update: Version 2017-06-26 steht zum Download bereit.
The Javascrypt (http://www.fourmilab.ch/javascrypt/) library is used for encryption and decryption to provide 256 Bit AES encryption.
In order to encrypt some sensitive data, the user needs to add text like the following
Hi world. I have a secret. Can you read it? < SECRET>I like ice cream< /SECRET>
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 page is viewed, the user will see the encrypted text and a link 'Decrypt Encrypted Text' will appear which will prompt the user for a password and decrypt the text (see the example below).
The encrypted text is compatible with javascrypt decryption (http://www.fourmilab.ch/javascrypt/jscrypt.html).
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.
after fresh install:
getInfo() not implemented in action_plugin_dokucrypt2 and /home/voa/htdocs/wiki/lib/plugins//dokucrypt2/plugin.info.txt not found. Verify you're running the latest version of the plugin. If the problem persists, send a bug report to the author of the dokucrypt2 plugin.