Hi all, I wanted to have a little discussion today about the second factor of protection in keepassxc (I'm not sure if this functionality is available in the original version of keepass).
Not everyone knows that you can additionally protect your password database with a key file, which always must be stored separately from the database itself. A key file is any file that can be added to your password database in addition to the master password from the database. It can be a picture, audio or video file, or a key file generated by keepass itself. But the less attention this file attracts, the better.
If you use cloud-based password managers, TOTP codes are likely to be the second security factor. Not too long ago I moved from the cloud-based password manager Bitwarden to keepassxc to regain full control of my passwords. Bitwarden is good, very convenient, but it's still the cloud.
Using a key file, you can safely store the database itself in any cloud storage, contrary to my previous paragraph, without fear of it being hacked. Even if the password database and your master password are stolen, you can't access all passwords without the key file.
This degrades the user experience a bit, but greatly elevates security and your personal peace of mind. It is important to keep the base and the key file separate from each other and make multiple backups.
In my case I have 4 backups of the base in cloud storage and on offline devices (thumb drives, hdd, laptop) and several copies of the key files stored in other cloud storage and other offline devices.
An important note is that the key file should not be modified. For example, if you use some photo as a key file, this photo must not be edited in graphic editors or converted to another format, otherwise when you try to open the database using a modified key file you will fail.
It's interesting to see how much you care about the security of your password database)