Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Manage secrets

Project Description

Introduction

plone.keyring contains a Zope utility that facilitates handling of secrets in an application. Secrets are very important in modern applications, which is why a shared tool to manage them is useful.

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.

Installation

You’ll need to register a KeyManager as a persistent utility. On Zope2 with GenericSetup, this can be done by loading the included profile.

Changelog

3.0.2 (2017-08-27)

Fixes:

  • Use zope.interface decorator. [gforcada]

3.0.1 (2015-05-11)

  • Minor cleanup: whitespace, git ignores. [gforcada, rnix]

3.0.0 (2014-04-13)

  • use more default keyrings and be able to select random key from ring [vangheem]

2.0.1 (2012-12-15)

2.0 - 2010-07-18

  • Update package information. [hannosch]

2.0b1 - 2010-06-13

2.0a1 - 2009-11-13

  • Updated to use zope.container instead of zope.app.container. [hannosch]
  • Specify package dependencies. [hannosch]

1.2 - 2008-05-08

  • Fix registration of the GenericSetup profile. [witsch]

1.1 - 2008-05-02

  • Add an optional GenericSetup profile to register the KeyManager as utility. Required for plone.keyring on Plone 3.0. [mj]

1.0 - 2008-04-21

  • No changes. [wichert]

1.0b1 - 2008-03-07

  • Tweak the tests to better test the API. [witsch]

1.0a1 - 2008-01-22

  • Initial release. [wichert]
Release History

Release History

This version
History Node

3.0.2

History Node

3.0.1

History Node

3.0.0

History Node

2.0.1

History Node

2.0

History Node

2.0b1

History Node

2.0a1

History Node

1.2

History Node

1.1

History Node

1.0

History Node

1.0b1

History Node

1.0a1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
plone.keyring-3.0.2.tar.gz (9.2 kB) Copy SHA256 Checksum SHA256 Source Aug 28, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting