Skip to main content

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.1.2 (2020-04-20)

Bug fixes:

  • Minor packaging updates. (#1)

3.1.1 (2019-02-13)

Bug fixes:

  • Avoid deprecation warnings. [gforcada] (#5)

  • Initialize towncrier. [gforcada] (#2548)

3.1.0 (2018-06-20)

Bug fixes:

  • Fix the tests on Python 3 [ale-rt]

  • Python 2.6 is no longer supported, use a 3.0.x release if needed [gforcada]

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]

Project details


Download files

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

Source Distribution

plone.keyring-3.1.2.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plone.keyring-3.1.2-py2.py3-none-any.whl (10.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file plone.keyring-3.1.2.tar.gz.

File metadata

  • Download URL: plone.keyring-3.1.2.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.17

File hashes

Hashes for plone.keyring-3.1.2.tar.gz
Algorithm Hash digest
SHA256 388c7f3f9dc41ad706477b90e160767706a4ef94ca0bb57be7edd0b1946d72ed
MD5 845331155a307afb2e1a2c94efc09449
BLAKE2b-256 4a9128507e8e1b5d6d510caafc8cb096d97fdd6d3409bb5d2781208facf81fe1

See more details on using hashes here.

File details

Details for the file plone.keyring-3.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: plone.keyring-3.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.17

File hashes

Hashes for plone.keyring-3.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 76da225c9e9d22fd89f54505aeb2d18026069d0b486f1c1a99e7bf48302a627d
MD5 49f38fc985c2dba3149867a9ab043096
BLAKE2b-256 7fc662b5b66f35f4988100947818524a6f6df2326ce646ca685ad310d5baf737

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page