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.3.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.3-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: secrit-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 f34190ac0b8132dfa31b67d0ab6dea20bc9b77e3014dd9cc808d6d1786d328b9
MD5 d0a53ab3d1d248386e0d20a3b9337e53
BLAKE2b-256 606581f18a0c44be47788b8068ee97a6e36c16295b220df8d59bc8109d080d8c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: secrit-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 616c9fab06f0e4347d73dcd4e5f5ea4f594d3bdeab186059b42f04b9e7bd2d93
MD5 41e1c5ff73c034e5c2fad9eee8db7af2
BLAKE2b-256 9893ebbc13df9cf1662a2ad7f18f63f43e4d4e2883b67c1129443db3a6f90a81

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