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

Uploaded Python 3

File details

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

File metadata

  • Download URL: secrit-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 7c03751566f81563362bd486971096f1ac49c9c95101634a192e77522d358292
MD5 ca3deb7ba27cab153e2dfe2aaf05e015
BLAKE2b-256 0fcb73c57231a47bb2269ce7610eef80b3a920c756cd6ab219745f7f81eec2ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: secrit-0.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f73fc6a74e5aef7a07b00494601af25b3cd3ac2569b70eab39fea00a49b35e30
MD5 fcc3862dc4feaa5cec310d6159ecd9f4
BLAKE2b-256 bcce331f1602a0c4f9991b85d8dc1b42ca8cd31f6c6b1b7c2435760e31c73cb2

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