Skip to content
/ qvm-pass Public

Frontend for pass (password store) service in a Qubes OS vault VM

License

Notifications You must be signed in to change notification settings

mtdcr/qvm-pass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qvm-pass

qvm-pass is a frontend for pass running in a vault VM. It is an implementation of split-pass in the spirit of split-gpg and split-ssh using the qrexec RPC interface of Qubes OS. qvm-pass aims to provide the same user interface as the original pass command. However, the pass git subcommand gets blocked to avoid execution of dangerous operations.

Consider combining qvm-pass with split-gpg.

This code was written in a very short time frame and hasn't had any peer review. Use at your own risk!

Installation

Location: AppVM for qvm-pass

1. Clone the repository

git clone https://github.com/mtdcr/qvm-pass

2. Install pass script to ~/.local/bin

pipx install ./qvm-pass

3. Copy qrexec service to TemplateVM for pass-vault

qvm-copy qvm-pass/qubes-rpc/qubes.PasswordStoreWrite

Location: Dom0

4. Install qrexec policies

Create policy files:

  • /etc/qubes-rpc/policy/qubes.PasswordStoreRead
  • /etc/qubes-rpc/policy/qubes.PasswordStoreWrite

Examples can be found in qubes-rpc/policy.

Location: TemplateVM for pass-vault

5. Install qrexec service for write operations

sudo install -m755 ~/QubesIncoming/*/qubes.PasswordStoreWrite /etc/qubes-rpc/

6. Create symlink for qrexec service for read operations

sudo ln -s qubes.PasswordStoreWrite /etc/qubes-rpc/qubes.PasswordStoreRead

Configuration

qvm-pass reads the name of the vault VM from ~/.config/qvm-pass/qube. It defaults to pass-vault.

Supported environment variables and their default values

  • PASSWORD_STORE_CLIP_TIME=45
  • PASSWORD_STORE_GENERATED_LENGTH=25
  • PASSWORD_STORE_X_SELECTION=clipboard

Alternatives

  • qubes-pass - It uses a slightly modified command-line interface compared to the original pass command.

About

Frontend for pass (password store) service in a Qubes OS vault VM

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages