The Proton Pass command line interface in GUIX.
If session is connected to kernel keyring (i.e. PROTON_PASS_KEY_PROVIDER = keyring) then documentation on use can be followed directly.
If you have no kernel keyring capabilities then PROTON_PASS_KEY_PROVIDER must be set to fs or env as per the documentation. Useful for containers but not secure.
For info on keyring access see keyring access.
Working on adding package channel but currently depends on nonguix binary-build-system.
Can be installed via
guix install -L /path/to/git/repository protonpass-cliTo login use:
pass-cli loginIf PROTON_PASS_KEY_PROVIDER is not set and it cannot access keyring you will get:
Error: Error creating client features
Caused by:
0: Failed to get encryption key for database
1: Could not get local key from keyring
2: Error accessing keyring: No matching entry found in secure storageTo start a session with access to keyring you must have keyutils installed. Then launch a session with keyring available and then login
keyctl session -l
pass-cli login