Skip to content

ymeiron/PyKMIP

 
 

Repository files navigation

PyKMIP

Latest Version travis-status codecov-status python-versions

PyKMIP is a Python implementation of the Key Management Interoperability Protocol (KMIP), an OASIS communication standard for the management of objects stored and maintained by key management systems. KMIP defines how key management operations and operation data should be encoded and communicated between client and server applications. Supported operations include the full CRUD key management lifecycle, including operations for managing object metadata and for conducting cryptographic operations. Supported object types include:

  • symmetric/asymmetric encryption keys
  • passwords/passphrases
  • certificates
  • opaque data blobs, and more

For more information on KMIP, check out the OASIS KMIP Technical Committee and the OASIS KMIP Documentation.

For more information on PyKMIP, check out the project Documentation.

Installation

You can install PyKMIP via pip:

$ pip install pykmip

See Installation for more information.

Community

The PyKMIP community has various forums and resources you can use:

Shamir's secret sharing

  1. set database_password=sss (otherwise passwords will be used verbatim)
  2. start the server with pykmip-server
  3. use the pykmip-sss command and follow the prompt to enter the shares (use -t to specify the share threshold)

Rekey the backend database

  1. make sure the server is stopped

  2. enter the following command

    ./rekey-server.py --database /data/db/pykmip.db -gpg=[u1],[u2],...,[un] -t [threshold, default=2]

    where [u1]...[un] are the GPG public key files (comma-separated). We need t/n to unlock the database.

About

A Python implementation of the KMIP specification.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%