Using a Key File For OwnKeepass [answered]
How can I use a key file for entering my master key? I wrote my master key in a file passw.pw in /home/nemo where ls -la passw.pw shows:
-rwx------ 1 nemo privileged 15 Nov 4 16:06 passw.pw
- But OwnKeepass moans "wrong password", both if I terminate the password file with a newline or not.
- It is also unclear to me, if OwnKeepass understands that I selected a key file, as it persist asking for a password (so to say, the GUI does not visibly react to my input of a path to pass.pw,).
Just now I help myself by writing the master password as a Note, then cut-and-paste, what of course should never happen for any password! But a complex password is hard to type with my thick fingers!
@jobe it is great that now OKP can operate on Keepass 2 databases! Thus I can synchronize identical databases among all my platforms and Password Managers (inside the Keepass family), and slowly dismiss Android there. I consider the Password Manager a heavy element of the overall system security!
prometheos de+it ( 2017-11-04 23:48:45 +0200 )editI think you misunderstood what the key file function is. It is not a file with your password in it. It is, in some sense, using the contents of a file as an additional password. You can only open with a keyfile databases that you have created with a keyfile.
Federico ( 2017-11-05 14:02:58 +0200 )editTo add to what @Federico said, keeping your master key in plain text defeats the whole point of encrypting your password database in the first place, especially if you give it a name as obvious as 'passw.pw' (for reference, files don't need any kind of extension either).
nthn ( 2017-11-05 14:49:40 +0200 )edit@Federico oh! Thank You for the info. Can You give me also a source please? Because I never saw a docu for Password Managers. My PM has been (and is still in Ubuntu) KeePassX, and there a Keyword File works as I intended. As far as OwnKeepass is concerned, can the Keyword in the file be different from the interactive Keyword? If yes, OwnKeepass offers a Two Factors Identification. A big improvement then! I have only the problem, that KeePassX is not offering this feature: I can then not synchronize .KDBX over the net to my different apps. I will try to answer myself.
prometheos de+it ( 2017-11-05 18:52:00 +0200 )edit@prometheos: A keyfile can be any kind of file, even your ringtone, as long as you keep that file backed up somewhere so you don't lose access to your passwords if you (accidentally) edit or remove it at some point. It doesn't have to and really shouldn't include any kind of password. KeePassX definitely supports keyfiles: https://ssd.eff.org/en/module/how-use-keepassx#2
nthn ( 2017-11-05 22:09:07 +0200 )edit