summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-04-24 02:00:47 -0400
committerJesse Luehrs <doy@tozt.net>2020-04-24 02:00:47 -0400
commitf555b450ca61449695302cea97a3842ee4caf756 (patch)
tree0870669007b56c060748dcad21fdd6b296af9fe8 /bin
parente81e0a25ac1db00a46864ad748a9d476213c6c33 (diff)
downloadpuppet-tozt-f555b450ca61449695302cea97a3842ee4caf756.tar.gz
puppet-tozt-f555b450ca61449695302cea97a3842ee4caf756.zip
convert from pass to rbw
Diffstat (limited to 'bin')
-rwxr-xr-xbin/secrets2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/secrets b/bin/secrets
index d5161e8..f29a5b2 100755
--- a/bin/secrets
+++ b/bin/secrets
@@ -12,7 +12,7 @@ mounted() {
cmd_open() {
if ! opened; then
- pass="$(pass show crypt/luks/tozt-secrets)"
+ pass="$(rbw get luks tozt-secrets)"
echo -n "$pass" | sudo cryptsetup --key-file=- open ~/crypt/tozt-secrets.luks tozt-secrets
fi
if ! mounted; then