Switch to python implementation of hbw for TOTP

This commit is contained in:
traxys 2022-12-12 13:08:29 +01:00
parent 25f7880c0d
commit ce2258679e
5 changed files with 64 additions and 15 deletions

View file

@ -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