Skip to content

keeps/redmine_wikicipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redmine Wikicipher Plugin

The Redmine Wikicipher plugin allows to encrypt sections of the Wiki

Compatibility

Redmine version (has been tested in, see specific branch for a specific redmine version):

  • v1.4.x

  • v2.2.x

  • v2.5.x

  • v3.4.x

DBMS:

  • PostgreSQL

  • Others might work but further tests are required

Ruby:

  • 1.9.x or higher (as problems have been reported in 1.8.x: e.g. issue #12)

Installation

  • Place the plugin into /path/to/redmine/vendor/plugins . The name of the plugin’s directory/folder should be redmine_wikicipher.

  • Change directory to /path/to/redmine/ .

  • Update the “database_cipher_key” configuration located in +/path/to/redmine/config/configuration.yml file with some random key (this key will be used to cipher/decipher the wiki content)

  • For redmine v2.x.x, edit the application.rb file (/path/to/redmine/config/application.rb), adding “:text” to the filter parameters (config.filter_parameters += [:password, :text]).

  • Restart redmine.

How to change the cipher key

The key used to encrypt is based on the “database_cipher_key” configuration in the /path/to/redmine/config/configuration.yml file. To modify the key, update the /path/to/redmine/config/configuration.yml file, run the script /path/to/wikicipherplugin/bin/updatekey.rb, passing the old key and the new key as parameters and restart redmine.

How to remove the encryption

The key used to encrypt is based on the “database_cipher_key” configuration in the /path/to/redmine/config/configuration.yml file. To modify the key, update the /path/to/redmine/config/configuration.yml file, setting the ‘database_cipher_key’ as empty , run the script /path/to/wikicipherplugin/bin/updatekey.rb, passing the old key as parameter and restart redmine.

License

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.