# keyring_pass
This is a [`pass`](https://www.passwordstore.org/) backend for [`keyring`](https://pypi.org/project/keyring/)
Install with `pip install keyring-pass` and set the following content in
your [`keyringrc.cfg`](https://pypi.org/project/keyring/#config-file-path) file:
```ini
[backend]
default-keyring = keyring_pass.PasswordStoreBackend
```
You can modify the default `python-keyring` prefix for `pass`, by:
- adding following to `keyringrc.cfg`:
```ini
[pass]
key-prefix=alternative/prefix/path
binary=gopass
```
- (for `keyring` version 23.0.0 or higher) setting environment variables:
- `KEYRING_PROPERTY_PASS_KEY_PREFIX`
- `KEYRING_PROPERTY_PASS_BINARY`
- You can clear the path (start from root), by setting above to `.` or an empty value (just `key-prefix=` on the line).
## Test your setup
You can check if your setup works end-to-end (creates, reads and deletes a key from password store).
```shell
# warning: this will create and delete a key at `<prefix>/test/asd` in your password store
python -m keyring_pass
```
Raw data
{
"_id": null,
"home_page": "https://github.com/nazarewk/keyring_pass",
"name": "keyring-pass",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "keyring,pass",
"author": "Krzysztof Nazarewski",
"author_email": "3494992+nazarewk@users.noreply.github.com",
"download_url": "https://files.pythonhosted.org/packages/2a/64/08f9a85a0a91410e45de7de060bd00c8ee94262866969fc02fcd57681e55/keyring_pass-0.9.3.tar.gz",
"platform": null,
"description": "# keyring_pass\n\nThis is a [`pass`](https://www.passwordstore.org/) backend for [`keyring`](https://pypi.org/project/keyring/)\n\nInstall with `pip install keyring-pass` and set the following content in\nyour [`keyringrc.cfg`](https://pypi.org/project/keyring/#config-file-path) file:\n\n```ini\n[backend]\ndefault-keyring = keyring_pass.PasswordStoreBackend\n```\n\nYou can modify the default `python-keyring` prefix for `pass`, by:\n\n- adding following to `keyringrc.cfg`:\n\n ```ini\n [pass]\n key-prefix=alternative/prefix/path\n binary=gopass\n ```\n\n- (for `keyring` version 23.0.0 or higher) setting environment variables:\n - `KEYRING_PROPERTY_PASS_KEY_PREFIX`\n - `KEYRING_PROPERTY_PASS_BINARY`\n\n- You can clear the path (start from root), by setting above to `.` or an empty value (just `key-prefix=` on the line).\n\n## Test your setup\n\nYou can check if your setup works end-to-end (creates, reads and deletes a key from password store).\n\n```shell\n# warning: this will create and delete a key at `<prefix>/test/asd` in your password store\npython -m keyring_pass\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "https://www.passwordstore.org/ backend for https://pypi.org/project/keyring/",
"version": "0.9.3",
"project_urls": {
"Homepage": "https://github.com/nazarewk/keyring_pass",
"Repository": "https://github.com/nazarewk/keyring_pass"
},
"split_keywords": [
"keyring",
"pass"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7b89aefd1de31f1532801cc7268525eeee6d1df1615b8d1ebdfa49814ec51ab7",
"md5": "f37b5c95ccbeaf723bbd460865ef1a0b",
"sha256": "61cf6f8f4363cee09c11b9ab35f2b29f109386fbd8a697dd149d90ad76325f83"
},
"downloads": -1,
"filename": "keyring_pass-0.9.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f37b5c95ccbeaf723bbd460865ef1a0b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 5523,
"upload_time": "2024-03-08T08:12:03",
"upload_time_iso_8601": "2024-03-08T08:12:03.217376Z",
"url": "https://files.pythonhosted.org/packages/7b/89/aefd1de31f1532801cc7268525eeee6d1df1615b8d1ebdfa49814ec51ab7/keyring_pass-0.9.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2a6408f9a85a0a91410e45de7de060bd00c8ee94262866969fc02fcd57681e55",
"md5": "ac1a8910534ee784e705b6785b9a5666",
"sha256": "ca88c045fd8b4986301c5aa43ad4c0ff142d990a2ad6c142aeb1515502a22235"
},
"downloads": -1,
"filename": "keyring_pass-0.9.3.tar.gz",
"has_sig": false,
"md5_digest": "ac1a8910534ee784e705b6785b9a5666",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 4659,
"upload_time": "2024-03-08T08:12:05",
"upload_time_iso_8601": "2024-03-08T08:12:05.099745Z",
"url": "https://files.pythonhosted.org/packages/2a/64/08f9a85a0a91410e45de7de060bd00c8ee94262866969fc02fcd57681e55/keyring_pass-0.9.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-08 08:12:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "nazarewk",
"github_project": "keyring_pass",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "keyring-pass"
}