mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-05-10 04:45:04 +02:00
Switch to python implementation of hbw for TOTP
This commit is contained in:
parent
25f7880c0d
commit
ce2258679e
5 changed files with 64 additions and 15 deletions
14
scripts/hbw
14
scripts/hbw
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
NAME=$1
|
||||
if [ -z $1 ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
bw list items --search $NAME |\
|
||||
jq 'reduce .[] as $item (
|
||||
"";
|
||||
. + "=====" + $item.name + "====\n "
|
||||
+ $item.login.username + "\n "
|
||||
+ $item.login.password + "\n\n")' -r |\
|
||||
head -n -2
|
||||
Loading…
Add table
Add a link
Reference in a new issue