In order to keep all my secret in the same place, I would like to store my GPG private key in KeePassXC, under the "Notes" field.

Provided that the db file has very good password, is this safe?

Os this field encrypted?

2 Answers 2


The entire database is encrypted including the notes. The security of both the program and the file format is analysed indepth in KeePassXC Application Security Review by Zaur Molotnikov. From the summary:

KeePassXC provides sufficient cryptographic protection (confidentiality, integrity and authenticity) to the confidential information the user is storing in the database, given that the user selects a strong authentication method, e.g. a strong passphrase and a confidential random key file, and that the user will use KeePassXC with its latest secure file format.


Alternatively you can attach your private key file under Advanced/Attachments.

  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Sep 22, 2023 at 9:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .