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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file secrit-0.0.2.tar.gz.
File metadata
- Download URL: secrit-0.0.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f49f4ff3fe89fcc8c7465bc7547dc653a664d31bdda17695b6afd031df9889e8
|
|
| MD5 |
48ddeb52b67ff698550034eb0b056409
|
|
| BLAKE2b-256 |
ea389b92ffc23601fa49f0da79ec09c5bcbda7be26a2b5a177f29edff0223e18
|
File details
Details for the file secrit-0.0.2-py3-none-any.whl.
File metadata
- Download URL: secrit-0.0.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d6da4f29878242357be79613620679b14ea56dc2ae53e6255d2d065e3f1979a
|
|
| MD5 |
89db60ca99acb7e3f72db3238856a560
|
|
| BLAKE2b-256 |
72c74760b77003eb8048f280d84215002070638caf1b3212a7c1f4f71b82e7d4
|