config:keepass
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| config:keepass [2022/07/14 14:52] – Wulf Rajek | config:keepass [2025/08/08 17:15] (current) – Wulf Rajek | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Keepass2 ====== | ====== Keepass2 ====== | ||
| - | Main Windows Download link (Pro version) can be found here:\\ | + | KeePass is a the free, open source, light-weight and easy-to-use password manager/password safe. |
| - | http:// | + | |
| - | + | ||
| - | (consider native cross-platform alternative https://keepassxc.org/ ) | + | |
| It can be installed under ubuntu/mint using | It can be installed under ubuntu/mint using | ||
| Line 10: | Line 7: | ||
| sudo add-apt-repository ppa: | sudo add-apt-repository ppa: | ||
| sudo apt update | sudo apt update | ||
| - | sudo apt-get install keepass2 ca-certificates | + | sudo apt-get install keepass2 ca-certificates |
| - | </ | + | |
| - | + | ||
| - | Note JTaylor' | + | |
| - | < | + | |
| - | sudo add-apt-repository ppa: | + | |
| - | sudo apt update | + | |
| - | sudo apt-get install keepass2 ca-certificates | + | |
| </ | </ | ||
| Line 24: | Line 14: | ||
| sudo apt remove --autoremove keepass2 | sudo apt remove --autoremove keepass2 | ||
| sudo add-apt-repository --remove ppa: | sudo add-apt-repository --remove ppa: | ||
| - | sudo add-apt-repository --remove ppa: | ||
| </ | </ | ||
| - | Due to a bug with mono and Tray Icons of WinForms applications, | + | ===== Keepass2.exe.config error ===== |
| < | < | ||
| - | sudo apt-add-repository ppa:dlech/keepass2-plugins | + | sudo apt-get install mono-utils |
| - | sudo apt-get update | + | monodis --assembly /usr/lib/keepass2/ |
| - | sudo apt-get install keepass2-plugin-tray-icon | + | sudo vi / |
| + | #replace newVersion number in file | ||
| + | |||
| + | Oneliner: | ||
| + | sudo sed -i ' | ||
| </ | </ | ||
| - | Plugins are compiled using mono to a native format. The plugin folder | + | Auto patching of config file, create shell script and apt pre-inst hook (no post inst hook available as per https:// |
| + | <code bash / | ||
| + | # | ||
| + | if grep -q keepass2 | ||
| + | then | ||
| + | if [ ! -f / | ||
| + | then | ||
| + | echo " | ||
| + | echo " | ||
| + | exit 1 | ||
| + | else | ||
| + | echo " | ||
| + | ( | ||
| + | sleep 300; | ||
| + | sed -i ' | ||
| + | ) & | ||
| + | fi | ||
| + | fi | ||
| + | </ | ||
| + | <code - / | ||
| + | DPkg:: | ||
| + | DPkg:: | ||
| + | </ | ||
| < | < | ||
| - | /usr/lib/keepass2/Plugins | + | sudo chmod 755 /usr/local/bin/fix-keepass2-config.sh |
| </ | </ | ||
| Line 43: | Line 58: | ||
| The keepass2 PPAs have not been updated for quite a while. To use the latest version, follow these instructions (after installing the PPA version): | The keepass2 PPAs have not been updated for quite a while. To use the latest version, follow these instructions (after installing the PPA version): | ||
| - | * Download the portable version zip file from Official | + | * Download the portable version zip file from official |
| * Close the KeePass2 application | * Close the KeePass2 application | ||
| * Make a copy of the / | * Make a copy of the / | ||
| Line 267: | Line 282: | ||
| </ | </ | ||
| set google sync plugin to sync both on saving and opening | set google sync plugin to sync both on saving and opening | ||
| + | |||
| + | ===== KeeAutoExec plugin ===== | ||
| + | |||
| + | This plugin automatically opens additional databases. | ||
| + | |||
| + | https:// | ||
| + | |||
| + | Installation: | ||
| + | < | ||
| + | wget https:// | ||
| + | sudo mkdir -p / | ||
| + | sudo unzip KeeAutoExec-2.6.zip -d / | ||
| + | rm KeeAutoExec-2.6.zip | ||
| + | </ | ||
| + | Then restart keepass | ||
| + | |||
| + | To use: | ||
| + | * Create a new group in your database and name it " | ||
| + | * Each non-expired entry in this group corresponds to a database that should be opened automatically when the current database is opened. The fields of each entry specify the following: | ||
| + | * Title: Ignored by the plugin; can be used for comments. | ||
| + | * User name: Must contain the path to the key file, if one should be used. The path can be either absolute or relative to the directory containing KeePass.exe. | ||
| + | * Password: The master password for the database to open. If no password is required, leave this field empty. | ||
| + | * URL: Path to the database file to open. The path can be either absolute or relative to the directory containing KeePass.exe. | ||
| + | * Server credentials. When opening a database from a URL, the credentials for accessing the file on the server can be specified using the custom entry strings " | ||
| + | * Custom entry string " | ||
| + | * Custom entry string " | ||
| + | * Custom entry string " | ||
| + | |||
| + | ===== Open specific db on startup ===== | ||
| + | |||
| + | * Turn off the option ' | ||
| + | * Go ' | ||
| + | * Switch to the ' | ||
| + | * Switch to the ' | ||
| + | |||
| + | Opening multiple specific databases at KeePass startup can for example be realized using the trigger approach above (with multiple trigger actions) or using the KeeAutoExec plugin. | ||
config/keepass.1657806766.txt.gz · Last modified: (external edit)