# OnePassword Keyring
Implementation of the [Keyring](https://pypi.org/project/keyring/) backend code reading secrets from [1Password](https://1password.com) using [1password-cli](https://developer.1password.com/docs/cli/get-started/).
## Overview
The [Keyring](https://pypi.org/project/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](https://github.com/ewjoachim/bitwarden-keyring) by [ewjoachim](https://github.com/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](https://developer.1password.com/docs/cli/get-started/). 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-cli` from `brew`
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](LICENSE.md).
## Acknowledgment
This package is forked from and heavily based on [bitwarden-keyring](https://github.com/ewjoachim/bitwarden-keyring) by [ewjoachim](https://github.com/ewjoachim)
Raw data
{
"_id": null,
"home_page": "https://github.com/falling-springs/onepassword-keyring",
"name": "onepassword-keyring",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "onepassword keyring password",
"author": "Falling Springs",
"author_email": "fallstosprings@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d3/e5/79aee1c8e74bd662025ca9e0f397f6e5331f3b5f6a80aa50d87d6474ecd1/onepassword-keyring-0.1.1.tar.gz",
"platform": null,
"description": "# OnePassword Keyring\n\nImplementation of the [Keyring](https://pypi.org/project/keyring/) backend code reading secrets from [1Password](https://1password.com) using [1password-cli](https://developer.1password.com/docs/cli/get-started/).\n\n## Overview\n\nThe [Keyring](https://pypi.org/project/keyring/) python package provides a handy single point of entry for any secret holding system.\n\nThis projects allows Keyring to read secrets from 1Password, a multiplatform cloud password manager. It is based on and forked from [bitwarden-keyring](https://github.com/ewjoachim/bitwarden-keyring) by [ewjoachim](https://github.com/ewjoachim).\n\nThis 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`.\n\n## Requirements\n\nThis project uses the official [1Password CLI](https://developer.1password.com/docs/cli/get-started/). You will need to install it and configure it before using this backend.\n\n## Installation and configuration\n\n```\npip install onepassword-keyring\n```\n\n## Usage\n\nUse as a normal keyring backend. It is installed with priority 10 so it's likely going to be selected\nfirst.\n\n`onepassword-keyring` will automatically ask for credentials when needed.\n\n## Caveats\n\nThis 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.\n\n`onepassword-keyring` was only tested with:\n- macOS, using the `1password-cli` from `brew`\n\nAs mentioned, `onepassword-keyring` only works in the context of a CLI application with access to standard inputs and output.\n\n## Licensing\n\n`onepassword-keyring` is published under the terms of the [MIT License](LICENSE.md).\n\n## Acknowledgment\n\nThis package is forked from and heavily based on [bitwarden-keyring](https://github.com/ewjoachim/bitwarden-keyring) by [ewjoachim](https://github.com/ewjoachim)\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Keyring backend reading password data from 1Password",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/falling-springs/onepassword-keyring"
},
"split_keywords": [
"onepassword",
"keyring",
"password"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9a1b115066a511ec3f19879e5fa57177ad735af6373a38b6cab8ca06b0d7c14a",
"md5": "1ef9d14eef328288872819216922704a",
"sha256": "2a551eab4152465b55c07cf52dfae22eeefe9ecad954388e2111e546cbf04fb5"
},
"downloads": -1,
"filename": "onepassword_keyring-0.1.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "1ef9d14eef328288872819216922704a",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 4647,
"upload_time": "2023-12-20T17:12:50",
"upload_time_iso_8601": "2023-12-20T17:12:50.373689Z",
"url": "https://files.pythonhosted.org/packages/9a/1b/115066a511ec3f19879e5fa57177ad735af6373a38b6cab8ca06b0d7c14a/onepassword_keyring-0.1.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d3e579aee1c8e74bd662025ca9e0f397f6e5331f3b5f6a80aa50d87d6474ecd1",
"md5": "66b2e509a0d3330d04080d72e94c2d57",
"sha256": "38999a38d646e77b841623dc219f36144284817fc69b7f2b771144dc4fd46108"
},
"downloads": -1,
"filename": "onepassword-keyring-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "66b2e509a0d3330d04080d72e94c2d57",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4881,
"upload_time": "2023-12-20T17:12:51",
"upload_time_iso_8601": "2023-12-20T17:12:51.428998Z",
"url": "https://files.pythonhosted.org/packages/d3/e5/79aee1c8e74bd662025ca9e0f397f6e5331f3b5f6a80aa50d87d6474ecd1/onepassword-keyring-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-20 17:12:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "falling-springs",
"github_project": "onepassword-keyring",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "onepassword-keyring"
}