plone.keyring (1.2)
- plone.keyring download link: http://pypi.python.org/packages/source/p/plone.keyring/plone.keyring-1.2.tar.gz#md5=36e66d152e858580c4faade982edd29d
- Homepage of plone.keyring: http://pypi.python.org/pypi/plone.keyring/
- plone.keyring repository: http://svn.plone.org/svn/plone/plone.keyring
- Description source: http://pypi.python.org/pypi/plone.keyring/
plone.keyring contains two basic components:
- a keyring: a data structures which contains one or more secrets.
- a key manager: a utility which contains the available keyrings and provides some convenience methods to manage them
Keyrings
The keyring is the workhorse: it contains a set of secrets for a specific purpose. A ring has room for a fixed number of secrets which is set at creation time. The most recently added secret is considered to be the current secret and the one that should be used. Older secrets in the ring can be used to keep data generated with older secrets valid for a period of time.
Key manager
The key manager is a container for the available keyrings. It always contains a default system keyring which is used when no other ring is explicitly requested.