aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2025-12-20 11:14:56 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2025-12-20 11:14:56 -0500
commit4d904b84fbfbaf753122db3dc173a9bbcd971c28 (patch)
treec68dbbfa7a7bfd043072105233dd076568c7d44a
parent2ebc6e0e9e27f75fccfdb3b7baede6dc166859c2 (diff)
downloaddpw-4d904b84fbfbaf753122db3dc173a9bbcd971c28.tar.gz
dpw-4d904b84fbfbaf753122db3dc173a9bbcd971c28.tar.xz
Doc updates and add option to select age binary
-rwxr-xr-xdpw-age1
-rw-r--r--readme.md30
2 files changed, 29 insertions, 2 deletions
diff --git a/dpw-age b/dpw-age
index 0c72b73..c6eea56 100755
--- a/dpw-age
+++ b/dpw-age
@@ -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.
diff --git a/readme.md b/readme.md
index 721cd87..faf1c7e 100644
--- a/readme.md
+++ b/readme.md
@@ -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
+```