plugin:encryptedpasswords
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:encryptedpasswords [2015-02-28 16:19] – s.sahara | plugin:encryptedpasswords [2024-04-16 11:57] (current) – andi | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
- | author | + | author |
- | email : reszel@werbeagentur-willers.de | + | email : dokuwiki@cosmocode.de |
type : syntax, action | type : syntax, action | ||
- | lastupdate : 2015-03-01 | + | lastupdate : 2023-12-20 |
- | compatible : weatherwax, adora belle, rincewind, angua, binky, " | + | compatible : Hogfather, Igor |
depends | depends | ||
- | conflicts | + | conflicts |
similar | similar | ||
tags : convert, encryption, password | tags : convert, encryption, password | ||
- | downloadurl: | + | downloadurl: |
- | bugtracker : https:// | + | bugtracker : https:// |
- | sourcerepo : https:// | + | sourcerepo : https:// |
---- | ---- | ||
- | ===== Download and Installation ===== | + | This plugin is useful if you want to store passwords, API Keys or other secrets directly within your page. The passwords are stored encrypted in the wiki source files, so nobody is able to find out the passwords through the file system. |
- | Download | + | The encryption uses 256 bit AES-CBC symmetric encryption with the encryption key and IV derived from the given password |
- | ===== Syntax | + | All encryption |
- | This plugin | + | This plugin |
- | To encrypt text, just select your text and click the toolbar button | + | The plugin is compatible |
- | ==== Example ==== | ||
- | If you select "'' | ||
- | foo | ||
- | π | ||
- | the text will be converted in the editor after encryption: | + | ===== Download and Installation ===== |
- | < | + | |
- | 5FdZupHudezVSbKhlF2tmg==</ | + | |
- | With version 2011-01-21 you can decrypt | + | Search and install |
+ | Please note that the modern encryption mechanisms used within this Plugin require a modern Browser, JavaScript enabled and a wiki served via HTTPS! | ||
- | ===== Configuration and Settings ===== | + | ==== Changes |
+ | {{rss> | ||
- | The plugin can be configured with the configuration manager in the admin menu. | ||
- | ^'' | + | ===== Syntax and Usage ===== |
+ | Passwords are encrypted and decrypted with a passphrase. Use the same passphrase on one page, as decryption affects all passwords on a page. | ||
- | ===== Development ===== | + | ==== Editing |
- | The plugin was first developed by Wolfgang Reszel, and had been available from:\\ [[http://www.werbeagentur-willers.de/download/dokuwiki-plugins/encryptedpasswords.zip|www.werbeagentur-willers.de]] -- :!://Dead link to the zip file of version 2013-03-13// | + | Passwords are entered in the editor using the ''< |
- | It found that the original download link and email contact are NOT reachable. | + | When you save or preview any text in the editor |
- | For the moment, the plugin which is compatible with the DW " | + | |
- | https:// | + | |
- | --- [[user>s.sahara|s.sahara]] // | + | |
- | === Change Log from github repository === | + | To decrypt passwords in the editor (eg. to change them) use the " |
- | {{rss>https:// | + | |
- | === ToDo/Wish List === | + | ==== Viewing ==== |
- | * no immediate plan | + | |
- | ===== Known Bugs and Issues ===== | + | When a page contains one or more encrypted passwords, they can be decrypted clicking the lock icon behind them. Clicking the lock icon will decrypt |
- | ==== Does not work in Hrun ==== | + | Clicking a encrypted or decrypted |
- | In version Hrun, it says I can enter the password | + | |
+ | ===== Configuration and Settings ===== | ||
+ | The plugin can be configured with the configuration manager in the admin menu. | ||
- | ===== Known Bugs and Issues until 2013-03-13 release ===== | + | ^'' |
- | https:// | + | |
- | ==== Does not escape HTML characters | + | ===== OpenSSL compatibility ===== |
- | Using jQuery's.html() will attempt to render unencrypted strings. The fix is simple, in jsencryption.js on line 46, change it to: | + | This plugin stores secrets the same way the '' |
- | <code javascript> | + | |
- | jQuery(c).text(e).after('<span class=" | + | |
- | </ | + | |
- | ==== Broken by Ponder Stibbons release ==== | + | |
- | + | ||
- | First off, it appears the author' | + | |
- | <code javascript> | + | |
- | var selection = DWgetSelection(document.getElementById(' | + | |
- | </ | + | |
- | ==== Conflict | + | Passwords encrypted |
- | The 2011-01-21 version of encryptedpasswords conflicts with [[doku> | + | < |
- | < | + | $> echo ' |
- | if (!Array.indexOf) { | + | enter aes-256-cbc decryption password: test |
- | Array.prototype.indexOf | + | hello world |
- | for (var i = (b || 0); i < this.length; | + | |
- | if (this[i] == a) { | + | |
- | return i | + | |
- | } | + | |
- | } | + | |
- | return | + | |
- | } | + | |
- | } | + | |
</ | </ | ||
- | > Thanks for the report. I updated the plugin for Dokuwiki Angua and also replaced the old Gibberish AES with the latest Version which has not that conflicting code. I hope this will fix this issue too. -- Wolfgang | ||
+ | Passwords encrypted using older versions of this plugin can be decrypted like this: | ||
- | ==== JS compression is breaking | + | <code> |
- | + | $> echo 'U2FsdGVkX1/ | |
- | > Hi, it seems that the JAVASCRIPT compression is breaking your code. At least I get an error in file '' | + | enter aes-256-cbc decryption password: |
- | + | *** WARNING : deprecated | |
- | ==== Not compatible with Ponder Stibbons (?) ==== | + | Using -iter or -pbkdf2 would be better. |
- | + | hello world | |
- | After dokuwiki update for Ponder Stibbons, I had problems when editing or creating encrypted content. I have not done an isolated | + | |
- | + | ||
- | ==== Fix for Ponder Stibbons release ==== | + | |
- | + | ||
- | Hi everyone, We only need to change a line in // | + | |
- | + | ||
- | //Before:// | + | |
- | <code javascript> | + | |
- | var selection = getSelection(document.getElementById(' | + | |
</ | </ | ||
- | //After// | ||
- | <code javascript> | ||
- | var selection = DWgetSelection(document.getElementById(' | ||
- | </ | ||
- | |||
- | > See above [[#Broken by Ponder Stibbons release]] | ||
- | ===== Feature Requests ===== | ||
- | Thank you very much for this plugin, it is really a pleasure to use it. But after using it for a while i have two feature-requests, | ||
- | |||
- | 1. If you decrypt something, the page hops to the top. This is anoying especially for long pages, would be nice if the page stays where it was. | ||
- | |||
- | 2. If you decrypt something, everything with the same key will be decrypted too. Would be nice to set an option to choose if all are encrypted at once. I solved this temporary by adding an random generated number to the link, but thats not really well solved. Thank you very much. | ||
- | 3. I use a modified DW template with a black background (text color is white). Now, whenever I encode some password using this plugin, the little dots replacing the password are blue (as a link) and they are located inside a white rectangle (I guess this one is not visible on a white background). Upon decryption of the encoded password, the text is displayed in **white** inside the white rectangle and is thus unreadable (I can " |
plugin/encryptedpasswords.1425136784.txt.gz · Last modified: 2015-02-28 16:19 by s.sahara