A Wayland-native interface for conveniently using pass
This repository has been archived on 2023-07-10. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2020-03-30 20:18:22 -04:00
LICENSE Initial commit 2020-03-27 22:51:59 -04:00
README.md add script and README 2020-03-27 22:55:38 -04:00
wofi-pass added better help message and intelligent squashing 2020-03-30 20:18:22 -04:00

wofi-pass

Since wofi isn't a drop-in replacement for rofi, I couldn't use rofi-pass anymore. So, I just made a version of passmenu that accomplishes everything I needed from rofi-pass.

What does it do?

This script uses wofi and ydotool to provide a completely Wayland-native way to conveniently use pass. It provides the same search that passmenu does, but shows a second dialogue that lets the user choose which field to copy/print.

It also assumes that pass-otp is installed if an otpauth://... string is present in a password file.

The script assumes several things:

  1. The password is on the first line;
  2. The rest of the lines are formatted as key:value pairs.

See the following example:

Th3Gr3at3stPassw0rd
username: JohnDoe
email: john@example.com
otpauth://totp/example?secret=ABCDCBABCDCBABCD
pin: 1234

I know this script needs some work; it was mostly hacked together in an afternoon to get the minimum functionality I needed.