location: Diff for "keepassx"

Institute of Mathematics - PublicMathWiki:

Differences between revisions 29 and 40 (spanning 11 versions)
Revision 29 as of 2018-04-10 07:06:23
Size: 3988
Editor: crose
Comment:
Revision 40 as of 2021-12-11 16:34:15
Size: 4052
Editor: crose
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Keepass =

<<TableOfContents>>

 * Background information: https://www.heise.de/news/Open-Source-Adventskalender-Der-Passwort-Manager-KeePass-6288780.html
Line 8: Line 14:
 * iOS - https://itunes.apple.com/us/app/minikeepass-secure-password/id451661808?mt=8&ign-mpt=uo%3D4

The following describes 'KeePassX' - the installed version at the thinlinc terminals.
 * iOS - https://keepassium.com/
Line 14: Line 18:
 * KeePassX can create/open/edit/save password-databases.  * KeePassX create/open/edit/save password-databases in a single file.
Line 18: Line 22:
 * Encryption- either the Advanced Encryption Standard (AES) or the Twofish algorithm are used for encryption of the database in 256 bit sized increments  * Encryption -- either the Advanced Encryption Standard (AES) or the Twofish algorithm are used for encryption of the database in 256 bit sized increments
Line 21: Line 25:
== Using !KeePassX == == Using KeePassX on the Thinlinc terminals ==
Line 23: Line 27:
 * Start !KeePassX:
  * Ubuntu / Thinlinc: Applications > Accessoires > !KeePassX
 * Start KeePassX:
  * Ubuntu / Thinlinc: Applications > Accessoires > KeePassX
Line 26: Line 30:
 * You can use the same password database on different computers if they have !KeePassX installed.
 * when opening !KeePassX with a database, you will be asked for the master password of the file.
 * when a password database is open, !KeePassX "locks itself" after a certain amount of time. After that you have to unlock the file again with your master password.
 * you can hide/view usernames and passwords by clicking on "View" --> "Hide Usernames" and "View" --> "Hide Passwords"
 * you can right-click on an entry and choose "Copy Username to Clipboard" or "Copy Password to Clipboard". You can then paste the password. After a few seconds, the password is no longer stored in the Clipboard.
 * You can use the same password database on different computers if they have KeePassX installed.
 * When opening KeePassX with a database, you will be asked for the master password of the file.
 * When a password database is open, KeePassX "locks itself" after a certain amount of time. After that you have to unlock the file again with your master password.
 * You can hide/view usernames and passwords by clicking on "View" --> "Hide Usernames" and "View" --> "Hide Passwords"
 * You can right-click on an entry and choose "Copy Username to Clipboard" or "Copy Password to Clipboard". You can then paste the password. After a few seconds, the password is no longer stored in the Clipboard.
Line 49: Line 53:
== Best practice to sync == == Sync Database via cloud ==
Line 52: Line 56:
 * Decide by your own:  * Decide on your own:
Line 54: Line 59:
     * on all devices the same password.      * the same password on all devices.
Line 56: Line 61:
Line 59: Line 65:
 * US based cloud provider like Google Drive, Dropbox, Apple iDrive, Microsoft OneDrive:  * US based cloud provider like Google Drive, Dropbox, Apple iDrive, Microsoft !OneDrive:
Line 61: Line 67:
   * Those services are very attractive to hacker.
   * The NSA has the right to get all data from US companies. After Snowden it's for sure the NSA is not friendly.
   * Those services are very attractive to hackers.
   * The NSA has the right to get all data from US companies. After Snowden it's for sure, the NSA is not friendly.
Line 65: Line 71:
 * Non US based cloud provider: Switch Highschool cloud service - '''switchdrive'''  * Local cloud storage provider:
Line 67: Line 73:
   * http://drive.switch.ch.
   * Swiss data protection laws.
   * https://drive.switch.ch - Switch Highschool cloud service - '''switchdrive'''
   * [[drive.math.uzh.ch]] - I-MATH
Line 72: Line 78:
   * On all computers where you want to sync your !KeePass database file, install and configure 'switchdrive'.     * On all computers where you want to sync your !KeePass database file, install and configure [[drive.math.uzh.ch]]

Keepass

Description

KeePass(X) is a tool to store and manage passwords. It is freely available for

How KeePassX works

  • KeePassX create/open/edit/save password-databases in a single file.
  • A password-database is basically an encrypted file, where you can store your various usernames/passwords/URLs and also attachments like pictures or other important / private documents.
  • A password-database can only be opened if you know the Master-Password. The Master Password is the key to all your stored passwords.
  • If you forgot your Master-Password, you cannot access your stored passwords anymore.
  • Encryption -- either the Advanced Encryption Standard (AES) or the Twofish algorithm are used for encryption of the database in 256 bit sized increments
  • All features: http://www.keepassx.org/features/

Using KeePassX on the Thinlinc terminals

  • Start KeePassX:
    • Ubuntu / Thinlinc: Applications > Accessoires > KeePassX

    • command line: keepassx
  • You can use the same password database on different computers if they have KeePassX installed.
  • When opening KeePassX with a database, you will be asked for the master password of the file.
  • When a password database is open, KeePassX "locks itself" after a certain amount of time. After that you have to unlock the file again with your master password.
  • You can hide/view usernames and passwords by clicking on "View" --> "Hide Usernames" and "View" --> "Hide Passwords"

  • You can right-click on an entry and choose "Copy Username to Clipboard" or "Copy Password to Clipboard". You can then paste the password. After a few seconds, the password is no longer stored in the Clipboard.

Creating a Password Database

  • Click on "File" --> "New Database..."

  • you will be prompted to set a master key. Input your master password (the master password for all your other stored passwords). Then click "OK"
  • repeat your master password. click "OK".
  • chose a group. (Standard choices are Internet of eMail. You can also create your own groups).
  • click on "Entries" --> "Add New Entry..."

  • Input the information you need
    • Title: a short description of the entry
    • Username: your username
    • URL: on what homepage do you need the password
    • Password: your password
    • Repeat: repeat your password
    • Comment: a longer description of the entry
  • click on "File" --> "Save Database"

  • chose a location and a name for your password database. click "OK"

Sync Database via cloud

  • Only use a cloud service if you need to sync your passwords over several devices.
  • Decide on your own:
    • Pro 'cloud':
      • the same password on all devices.
      • creates automatically backups.
    • Contra 'cloud':
      • If your cloud access is compromised or the cloud service provider is compromised: the thief owns the treasure.
  • US based cloud provider like Google Drive, Dropbox, Apple iDrive, Microsoft OneDrive:

    • Those services are very attractive to hackers.
    • The NSA has the right to get all data from US companies. After Snowden it's for sure, the NSA is not friendly.
    • Rule of thumb: Don't use US hosted / company based services for confidential data.

  • Local cloud storage provider:
  • How to:
    • On all computers where you want to sync your KeePass database file, install and configure drive.math.uzh.ch

    • Open the KeePass database file on all of your devices directly from switchdrive folder.

PublicMathWiki: keepassx (last edited 2021-12-11 16:34:15 by crose)