OnePassword Keyring
Implementation of the Keyring backend code reading secrets from 1Password using 1password-cli.
Overview
The Keyring python package provides a handy single point of entry for any secret holding system.
This projects allows Keyring to read secrets from 1Password, a multiplatform cloud password manager. It is based on and forked from bitwarden-keyring by ewjoachim.
This backend assumes that it will be used in the context of a CLI application, and that it can communicate with the user using sdtin, stdout and stderr.
Requirements
This project uses the official 1Password CLI. You will need to install it and configure it before using this backend.
Installation and configuration
pip install onepassword-keyring
Usage
Use as a normal keyring backend. It is installed with priority 10 so it's likely going to be selected first.
onepassword-keyring will automatically ask for credentials when needed.
Caveats
This fork was made for personal use and is not guaranteed to work in all cases. Please use with caution, as I can't take responsibility for any issues that may arise from using this package.
onepassword-keyring was only tested with:
- macOS, using the
1password-clifrombrew
As mentioned, onepassword-keyring only works in the context of a CLI application with access to standard inputs and output.
Licensing
onepassword-keyring is published under the terms of the MIT License.
Acknowledgment
This package is forked from and heavily based on bitwarden-keyring by ewjoachim
Metadata
Release files for onepassword-keyring 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| onepassword-keyring-0.1.1.tar.gz | 4.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| onepassword_keyring-0.1.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / onepassword-keyring-0.1.1.tar.gz
| Download URL | onepassword-keyring-0.1.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38999a38d646e77b841623dc219f36144284817fc69b7f2b771144dc4fd46108
|
|
BLAKE2b-256 checksum How to use checksums |
d3e579aee1c8e74bd662025ca9e0f397f6e5331f3b5f6a80aa50d87d6474ecd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / onepassword_keyring-0.1.1-py2.py3-none-any.whl
| Download URL | onepassword_keyring-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2a551eab4152465b55c07cf52dfae22eeefe9ecad954388e2111e546cbf04fb5
|
|
BLAKE2b-256 checksum How to use checksums |
9a1b115066a511ec3f19879e5fa57177ad735af6373a38b6cab8ca06b0d7c14a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Security for onepassword-keyring 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.