Skip to main content

Public Key based Password Management

Project description

PKPass: Public Key Based Password Manager

Unit Tests Documentation Status CodeQL

RTD

https://pkpass.readthedocs.io/en/latest/

Requires >= Python 3.6

Overview

This is a basic password store and password manager for maintaining arbitrary secrets.

The password management solution provides:

  • Encryption at Rest
  • Password distribution/organization based on definable hierarchies
  • Password creation timestamps
  • Password history and change logs
  • Distributed backup capabilities
  • PIV/Smartcard Credential encryption/decryption
  • Import and export functionality

Passwords that are created are distributed to recipients by public key encryption. The x509 certificate of the intended recipient is used to create an encrypted copy of the distributed password that is then saved in a password-specific git repository. Multiple encrypted copies of the secret are created, one for each user. End users then check out the git repo and are able to read passwords using their PIV/Smartcard credential to decrypt.

Install

Everything:

pip install pkpass-olcf

MacOs:

brew install olcf/tap/pkpass

x509 Certificate Repository

PKPass needs a trusted x509 certificate repository, which typically is managed using git. Certificates in this repository should all be signed by Certificate Authorities that can be found in the CABundle file that PKPass is configured to look at. Since this repository should be considered 'trusted', it is typically managed by a smaller trusted set of site administrators. PKPass validates all encryption certificates as they are used to make sure they are signed by a trusted Certificate Authority (CA).

You may also use a local x509 certificate repository that you sync with others using RSYNC, NFS, shared volumes, etc. You can configure the directory that pkpass will use for the certificate repository either on the command line, or through the .pkpassrc file.

The CABundle file to use can also be configured in the .pkpassrc file or on the command line.

Additionally, certificates should be named .cert. For example, the certificate for user 'jason' should be named 'jason.cert' inside this x509 directory.

Password Repository

PKPass also needs a directory to serve as a 'password database'. Like the x509 certificate repository, it is also typically managed with git to provide change control, history, and tracking of changes. Local directories can also be used and shared via rsync, NFS, shared volumes, etc if preferred.

To change the default password repository, you may specify another directory on the command line or in the .pkpassrc file.

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

pkpass_olcf-2.9.4.tar.gz (69.8 kB view details)

Uploaded Source

Built Distribution

pkpass_olcf-2.9.4-py3-none-any.whl (69.9 kB view details)

Uploaded Python 3

File details

Details for the file pkpass_olcf-2.9.4.tar.gz.

File metadata

  • Download URL: pkpass_olcf-2.9.4.tar.gz
  • Upload date:
  • Size: 69.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pkpass_olcf-2.9.4.tar.gz
Algorithm Hash digest
SHA256 3d67302c72994e4bf4f7e29c3771755b6afb8107ff681f033da34c3549ef4da1
MD5 96d402861fbe8434ae4bd269dfbc8935
BLAKE2b-256 45d3b1c434a853a9a8fb5ad56aa8138865e1aba25a5615bd8cffd9809dfa4c23

See more details on using hashes here.

File details

Details for the file pkpass_olcf-2.9.4-py3-none-any.whl.

File metadata

  • Download URL: pkpass_olcf-2.9.4-py3-none-any.whl
  • Upload date:
  • Size: 69.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pkpass_olcf-2.9.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4d8a6988a6c4260dab923169fbb8440ddb0ab0120d5f0e65f4dbfac4a1f76398
MD5 d821d5ae193ae3f47f083712bcd49cac
BLAKE2b-256 ea7996f30b1b6bb68918a4c9f8b4013a72d08a42ebc7ee51ec109c7096265925

See more details on using hashes here.

Supported by

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