sudo apt-add-repository ppa:keepassx/daily
sudo apt-get update
sudo apt-get install keepassx
keepassx 自動開啟資料庫
使用master password開啟(折騰版XD)
* install gnome-keyring-query to get password from gnome-keyring
* sudo apt-add-repository ppa:wiktel/ppa
* sudo apt-get update
* sudo apt-get install gnome-keyring-query
* start gnome-keyring-daemon
gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh
* settings
1. start seahorse and add a new keyring
2. add a new key using gnome-keyring-query [set] [keyname] # 不知道為什麼只能用gnome-keyring-query設定的key才能正常動作?!
* command
keepassx --password $(gnome-keyring-query get {keepassx master password}){your database}
使用keyfile開啟
* chmod database and keyfile with permission 600* command
keepassx --keyfile {your_keyfile} {your_database}