diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2025-12-20 11:14:56 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2025-12-20 11:14:56 -0500 |
| commit | 4d904b84fbfbaf753122db3dc173a9bbcd971c28 (patch) | |
| tree | c68dbbfa7a7bfd043072105233dd076568c7d44a | |
| parent | 2ebc6e0e9e27f75fccfdb3b7baede6dc166859c2 (diff) | |
| download | dpw-4d904b84fbfbaf753122db3dc173a9bbcd971c28.tar.gz dpw-4d904b84fbfbaf753122db3dc173a9bbcd971c28.tar.xz | |
Doc updates and add option to select age binary
| -rwxr-xr-x | dpw-age | 1 | ||||
| -rw-r--r-- | readme.md | 30 |
2 files changed, 29 insertions, 2 deletions
@@ -272,6 +272,7 @@ DPW_AGE_KEY="${DPW_AGE_KEY} DPW_AGE_RECIPIENT_SUFFIX="${DPW_AGE_RECIPIENT_SUFFIX}" DPW_AGE_AUTO_SYNC="${DPW_AGE_AUTO_SYNC}" PASSWORD_STORE_UMASK="${UMASK}" +DPW_AGE_BIN="${DPW_AGE_BIN}" If the above are set their values are shown, if unset the defaults are shown. @@ -31,7 +31,8 @@ If for some reason it doesn't detect wayland try setting ## dmenu script There's also a small dmenu script included that makes copying or typing -out passwords and OTP tokens very quick and easy +out passwords and OTP tokens very quick and easy ( `oath-toolkit` in most package +managers ) If you wish to use something other than `dmenu` it's best to drop a compatible wrapper somewhere earlier in your path. ( This is actually how I use `bemenu` in @@ -52,8 +53,33 @@ simple, accept the following four commands: * show `<key>` * Dump to stdout * rm `<key>` - * init ( optional ) + +There are a couple of optional commands backends can implement + + * sync + * init `dpw` will take care of all the additional commands by wrapping the four above as needed. +## Age with yubikey plugin + +Under Arch for example: + +``` +# pacman -S age age-plugin-yubikey pcsc-tools ccid +# systemctl enable pcscd +# systemctl start pcscd +``` + +### It walks you through the setup: + +``` +$ age-plugin-yubikey +``` + +### Fetching the key for use with dpw: + +``` +$ age-plugin-yubikey -i --slot 1 > ~/.dpw-age-key +``` |
