I am new to Keepass and using the portable version on an Windows 7 and on an Linux Mint 17 machine. I have some questions:
Where is the masterpassword stored? I think in the kdbx database file but I like to be sure?
If I want to backup Keepass is it enough to just backup the kdbx database file?
If Keepass should crash but I have an copy of the kdbx database file, can I just download a new version of Keepass and imnport my database again?
If I want to open the portable version in Linux Mint 17 I have to click on the .exe file. I find that a little bit strange because I always thougt Linux was not working with .exe files? So is this the right way to open Keepass on Linux?
Thank you for your help!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Where is the masterpassword stored? I think in the kdbx database file but I like to be sure?
The Master Password is a secret that is NOT stored. It is a secret used to encrypt your database and it is discarded once the database is locked or closed. You must provide the secret again each time you wish to decrypt (open/unlock) your database.
If I want to backup Keepass is it enough to just backup the kdbx database file?
If your Master Key is a Master Password only, it is enough to backup the kdbx file.
If your Master Key includes a Key File then the Key File must also be backed up.
If your Master Key includes the Windows User Account then you should read carefully the cautions on the Composite Master Key Help page. Home user will most likely need to make an image backup of their computer.
If Keepass should crash but I have an copy of the kdbx database file, can I just download a new version of Keepass and imnport my database again?
Yes, as long as it is the same KeePass edition e.g. 2.x for kdbx files, 1.x for kdb files.
If I want to open the portable version in Linux Mint 17 I have to click on the .exe file. I find that a little bit strange because I always thougt Linux was not working with .exe files? So is this the right way to open Keepass on Linux?
I am not familiar with KeePass on Linux but that may be correctt. KeePass is a native Windows program and requires mono (a .NET replacement) to run, so it may exhibit Windows like behaviors on Linux. For more information about running KeePass on Linux see the Installation/Portability Help page.
Remark: To obtain the best result on this forum segregate your questions by OS because users with specific expertise with KeePass for Windows may be different than those with expertise with KeePass on Linux like OSes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The master password is not stored anywhere. It is used to encrypt and decrypt the database, then the database is stored.
KeePass works in Linux by using Mono - a Linux version of Microsoft .NET framework. You actually run it like this, mono KeePass.exe. I suggest you install KeePass from the Mint software repository and it will then place a shortcut in Mint for you to use.
cheers, Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Allow me to add one more question: I created my Keepass2 db in Windows and stored it on my NAS. Works well. Recently I created a Linux MINT environment (dual boot) on my notebook and installed Keepass2 on it. In Linux Mint I use the same database on my NAS and this works fine, except when I make changes to it. In that case I get error message "failed to save to the specified file!" and I am prompted to save to a different location. On Linux, the file can be found at /run/user/1000/gvfs/smb-share:server=myserver.local,share=folder1/folder2/etcetc
I have the impression this is related to Linux set-up and not Keepass.
I hope you can shed some light on it and how to solve.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I "created" workaround for now: I stored the master DB file on the Windows environment on my notebook. I use this DB also when working in Linux (it's a dual boot notebook; and Linux can access the Windows partitions on it). I can edit/save the DB without issues.
I will need to check if Syncthing application can make my life easier in the future but for now I sync manually to NAS from Windows environment, using Keepass. Using Keepass for syncing to NAS via Linux Mint gives error "could not find a part of the path /run/user/1000/gvfs/smb-share:server=myserver.local,share=folder1/folder2/etcetc"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am new to Keepass and using the portable version on an Windows 7 and on an Linux Mint 17 machine. I have some questions:
Where is the masterpassword stored? I think in the kdbx database file but I like to be sure?
If I want to backup Keepass is it enough to just backup the kdbx database file?
If Keepass should crash but I have an copy of the kdbx database file, can I just download a new version of Keepass and imnport my database again?
If I want to open the portable version in Linux Mint 17 I have to click on the .exe file. I find that a little bit strange because I always thougt Linux was not working with .exe files? So is this the right way to open Keepass on Linux?
Thank you for your help!
Yes to the first 3 questions. I don't have a linux machine to test your last question at the moment.
The Master Password is a secret that is NOT stored. It is a secret used to encrypt your database and it is discarded once the database is locked or closed. You must provide the secret again each time you wish to decrypt (open/unlock) your database.
Yes, as long as it is the same KeePass edition e.g. 2.x for kdbx files, 1.x for kdb files.
I am not familiar with KeePass on Linux but that may be correctt. KeePass is a native Windows program and requires mono (a .NET replacement) to run, so it may exhibit Windows like behaviors on Linux. For more information about running KeePass on Linux see the Installation/Portability Help page.
Remark: To obtain the best result on this forum segregate your questions by OS because users with specific expertise with KeePass for Windows may be different than those with expertise with KeePass on Linux like OSes.
The master password is not stored anywhere. It is used to encrypt and decrypt the database, then the database is stored.
KeePass works in Linux by using Mono - a Linux version of Microsoft .NET framework. You actually run it like this, mono KeePass.exe. I suggest you install KeePass from the Mint software repository and it will then place a shortcut in Mint for you to use.
cheers, Paul
Allow me to add one more question: I created my Keepass2 db in Windows and stored it on my NAS. Works well. Recently I created a Linux MINT environment (dual boot) on my notebook and installed Keepass2 on it. In Linux Mint I use the same database on my NAS and this works fine, except when I make changes to it. In that case I get error message "failed to save to the specified file!" and I am prompted to save to a different location. On Linux, the file can be found at /run/user/1000/gvfs/smb-share:server=myserver.local,share=folder1/folder2/etcetc
I have the impression this is related to Linux set-up and not Keepass.
I hope you can shed some light on it and how to solve.
It could be related to this:
https://sourceforge.net/p/keepass/bugs/2321/
Best regards,
Dominik
I "created" workaround for now: I stored the master DB file on the Windows environment on my notebook. I use this DB also when working in Linux (it's a dual boot notebook; and Linux can access the Windows partitions on it). I can edit/save the DB without issues.
I will need to check if Syncthing application can make my life easier in the future but for now I sync manually to NAS from Windows environment, using Keepass. Using Keepass for syncing to NAS via Linux Mint gives error "could not find a part of the path /run/user/1000/gvfs/smb-share:server=myserver.local,share=folder1/folder2/etcetc"
Can your NAS serve the file as a webdav? If so you could try opening / synching via URL.
cheers, Paul
p.s. you should always open a local copy in case the NAS / internet bit is not working. Then sync with the outside source.