switch back to bitwarden

This commit is contained in:
atagen 2025-10-03 14:14:13 +10:00
parent c649eab38a
commit e496f90e62
9 changed files with 24 additions and 50 deletions

View file

@ -27,8 +27,8 @@ pkgs.writeTextFile {
exit
fi
user=`rbw get --full $\{params["host"]} | grep "Username:" | cut -d' ' -f2-`
pass=`rbw get $\{params["host"]}`
user=`rbw get --folder Git --full $\{params["host"]} | grep "Username:" | cut -d' ' -f2-`
pass=`rbw get --folder Git $\{params["host"]}`
if [ "x$user" == "x" ] || [ "x$pass" == "x" ]; then
echo "Couldn't find host in rbw DB." > /dev/stderr
@ -40,5 +40,5 @@ pkgs.writeTextFile {
fi
'';
executable = true;
destination = "/bin/git-credential-rw";
destination = "/bin/git-credential-rbw";
}