config:keepass
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| config:keepass [2019/02/17 15:51] – [Keepass2] Wuff | config:keepass [2025/08/08 17:15] (current) – Wuff | ||
|---|---|---|---|
| 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:// | + | |
| - | It can be installed under linux using | + | It can be installed under ubuntu/ |
| < | < | ||
| - | apt-get install keepass2 ca-certificates | + | sudo add-apt-repository ppa: |
| + | sudo apt update | ||
| + | sudo apt-get install keepass2 ca-certificates | ||
| </ | </ | ||
| + | |||
| + | Uninstall instructions: | ||
| + | < | ||
| + | sudo apt remove --autoremove keepass2 | ||
| + | sudo add-apt-repository --remove ppa: | ||
| + | </ | ||
| + | |||
| + | ===== Keepass2.exe.config error ===== | ||
| + | < | ||
| + | sudo apt-get install mono-utils | ||
| + | monodis --assembly / | ||
| + | sudo vi / | ||
| + | #replace newVersion number in file | ||
| + | |||
| + | Oneliner: | ||
| + | sudo sed -i ' | ||
| + | </ | ||
| + | |||
| + | Auto patching of config file, create shell script and apt pre-inst hook (no post inst hook available as per https:// | ||
| + | <code bash / | ||
| + | #!/bin/bash | ||
| + | if grep -q keepass2 | ||
| + | then | ||
| + | if [ ! -f / | ||
| + | then | ||
| + | echo " | ||
| + | echo " | ||
| + | exit 1 | ||
| + | else | ||
| + | echo " | ||
| + | ( | ||
| + | sleep 300; | ||
| + | sed -i ' | ||
| + | ) & | ||
| + | fi | ||
| + | fi | ||
| + | </ | ||
| + | <code - / | ||
| + | DPkg:: | ||
| + | DPkg:: | ||
| + | </ | ||
| + | < | ||
| + | sudo chmod 755 / | ||
| + | </ | ||
| + | |||
| + | ===== Manual update to latest Windows 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 link https:// | ||
| + | * Close the KeePass2 application | ||
| + | * Make a copy of the / | ||
| + | * Unzip the portable version and copy the file KeePass.exe to / | ||
| + | |||
| ===== Plugins under Linux ===== | ===== Plugins under Linux ===== | ||
| Keepass compiles plugins and requires the complete mono environment in order to do this.\\ | Keepass compiles plugins and requires the complete mono environment in order to do this.\\ | ||
| < | < | ||
| - | apt-get install mono-complete | + | apt-get install mono-complete |
| </ | </ | ||
| Once plugins are copied into the ''/ | Once plugins are copied into the ''/ | ||
| Line 186: | Line 241: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| + | |||
| + | |||
| + | ====== Install Keepass2 ====== | ||
| + | |||
| + | Keepass2 is available in the regular debian repositories. | ||
| + | |||
| + | < | ||
| + | sudo apt-get install keepass2 ca-certificates-mono | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | For the Google Sync Plugin, download it from http:// | ||
| + | < | ||
| + | sudo cp GoogleSyncPlugin.plgx / | ||
| + | sudo chmod 666 / | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ===== Google Sync Plugin full install ===== | ||
| + | < | ||
| + | cd /tmp | ||
| + | wget wget https:// | ||
| + | unzip GoogleSyncPlugin-2.1.2.zip | ||
| + | unzip GoogleSyncPlugin-2.1.2.zip GoogleSyncPlugin.plgx | ||
| + | rm GoogleSyncPlugin-2.1.2.zip | ||
| + | sudo mkdir -p / | ||
| + | sudo mv GoogleSyncPlugin.plgx / | ||
| + | sudo chmod 666 / | ||
| + | |||
| + | wget http:// | ||
| + | unzip log4net-2.0.8-bin-newkey.zip | ||
| + | sudo cp log4net-2.0.8/ | ||
| + | sudo chown root:root / | ||
| + | sudo chmod 644 / | ||
| + | sudo cp / | ||
| + | sudo chmod 644 / | ||
| + | </ | ||
| + | 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.1550418705.txt.gz · Last modified: (external edit)