forked from colonelpanic/dotfiles
[Linux] Add keepass get password functions
This commit is contained in:
parent
cd21eb25dd
commit
5844b4e921
@ -463,3 +463,13 @@ function localip {
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
function keepass_system_password {
|
||||
keepasshttp.py --get -u "http://$(hostname).systempassword" |
|
||||
jq '.[].password' | unescape.py
|
||||
}
|
||||
|
||||
function keepass_keepass_password {
|
||||
keepasshttp.py --get -u "http://keepass.password" |
|
||||
jq '.[].password' | unescape.py
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user