Made password input invisible

This commit is contained in:
2025-10-15 14:56:03 +02:00
parent 9749814273
commit a6726d07d4

View File

@@ -1,7 +1,7 @@
#!/bin/bash
if [ "$(bw status | jq -r '.status')" = "locked" ]; then
read -p "Bitwarden password: " password
read -s -p "Bitwarden password: " password
token=$(eval "bw unlock $password --raw")