Debian Codegraph @

/

debian keyring-pass 0.9.3-2debian python3-keyring-pass python keyring-pass 0.9.3 debianinimakemakefilemarkdownnixpythonshelltomlyaml 21 files · 123 symbols
View dependency graph

Depends on

README (full)

keyring_pass

This is a pass backend for keyring

Install with pip install keyring-pass and set the following content in your keyringrc.cfg file:

[backend]
default-keyring = keyring_pass.PasswordStoreBackend

You can modify the default python-keyring prefix for pass, by:

  • adding following to keyringrc.cfg:

    [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).

# warning: this will create and delete a key at `<prefix>/test/asd` in your password store
python -m keyring_pass
dir debian/
dir keyring_pass/
file .envrc
file .gitignore
file GNUmakefile
file LICENSE
file README.md
file config.nix
file default.nix
file flake.lock
file flake.nix
file poetry.lock
file pyproject.toml