Gringotts Plugin for Trac


Gringotts is a GTK-based application for storing sensitive information (eg passwords, files, etc.) in an encrypted form.

This Trac plugin adds a semi-secure area for storing such information. It is essentially a mini-wiki which has an ACL (Access Control List) associated with the content. Everything stored in the database is encrypted with a 2048 key that is automatically generated when you install this plugin for the first time. The key is kept in the trac.ini file. Make sure you take a backup as if the key is lost, then so is the data kept in Gringotts!

This plugin requires the PyCrypto package and also uses the ezPyCrypto wrapper.

Gringotts is also the name of the bank in the Harry Potter books.

Bugs/Feature Requests

Existing bugs and feature requests for GringottsPlugin are here.

If you have any issues, create a new ticket.


4 / 4


0 / 2


Download the zipped source from here.


You can check out GringottsPlugin from here using Subversion, or browse the source with Trac.


The simplest way to install this plugin is to download the zipped source, unzip it into the directory of your choice (/tmp or such), and run the following from the 0.10 directory:

python bdist_egg

If you're using Trac version 0.10 or 0.11, then you can use easy_install:

easy_install dist/gringotts-0.1-py2.4.egg

with a possible correction for the version number.

Next you'll have to enable the Gringotts plugin in the trac.ini file:

gringotts.* = enabled

If this is your first installation of Gringotts, you will need to upgrade your Trac project, to update the database schema and generate the private key:

trac-admin /path/to/your/project upgrade

For more information on plugin installation, visit the TracPlugins documentation page.


You can either use the list of Gringotts as your main interface (it adds a navigation item), or you can use the Macro [[Gringott(NameOfGringlet)]] where every wiki syntax is supported.

To create a new Gringlet click on the create link in the lower right corner of the box that just appeared. You can now enter all your secrets. ACL's are entered as comma or space separated usernames.

Recent Changes

15264 by rjollos on 2016-02-11 05:22:34
Remove unnecessary svn:mime-type on py files

svn:mime-type was set to "plain" for many files.

13343 by coling on 2013-07-28 23:42:14
Add a branch compatible with Trac 1.0.x
11958 by coling on 2012-09-09 20:28:13
Remove logger_factory imports.

They are not needed and actively break under Trac 1.0



Author: coling
Maintainer: Colin Guthrie

Hello Colin, following-up to our discussion on #trac... If you're feeling adventurous, you can check out the trac:browser:sandbox/context-refactoring branch and apply the following patch: I'd be glad if that would be working for your Gringott's plugin (note that the patch is untested, there might be one or two things to fix).

Last modified 12 months ago Last modified on Nov 9, 2015, 12:08:12 PM