Skip to main content

A simple library to interact with the 'pass' (password store https://www.passwordstore.org/) generated secrets

Project description


title: Secrit

Introduction

Secrit is a simple Python library designed to interact with the 'pass' password store generated keys.

Installation

First, ensure that you have the `~/.password-store/` directory available as the library uses it as the default storage path.

To install the Secrit library, you can simply use pip:

pip install secrit

Usage

Retrieve a Password

To retrieve a decrypted content of a password store entry, use the `get` function:

import secrit

# You will be prompted for your master password
api_key = secrit.get("github.com/api_key")

Requirements

  • Python 3
  • python-gnupg

Development

To contribute or report issues, please visit the GitHub repository.

License

MIT

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

secrit-0.0.4.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

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

secrit-0.0.4-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file secrit-0.0.4.tar.gz.

File metadata

  • Download URL: secrit-0.0.4.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for secrit-0.0.4.tar.gz
Algorithm Hash digest
SHA256 047e8d44a1b00f4589fccb931880700857b8cb02815bc6b2194ea5b873a8ed28
MD5 4bb39e784358c156b4c60dddc788d5b0
BLAKE2b-256 c640d3d76b3e44c09b790965bbe66d4ad729bba442c59eb9fb23f01d87309017

See more details on using hashes here.

File details

Details for the file secrit-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: secrit-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for secrit-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d742b8d94e65327791776e89dc63d8649e918ecb1032574d3a1601b611c67a7c
MD5 a2580ed3afc2ea19128af6787bf1cbc8
BLAKE2b-256 1ba1dabd0b419d2523a53d62dab99da39a9db5c13519f68ce9ce74d85ae7fa54

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