A symfony bundle that allow you to create local encrypted database for passwords storage
The goal of this bundle is to provide you a simple way to create and manage passwords storage for your users (or other things...)
The logic in it is simple:
- Creation of a database with a given name and password. The database is an SQLite3 one and the main file is encrypted using GnuPG (symetric encryption)
- There are two main linked entities,
QDatabase
andQPassword
. After the database creation, an instance of aQDatabase
is created. When adding a password, aQPassword
instance is created, with a label and a pass_id. - Now, if you want to access the database, the process is simple:
- With a given password, the database is unlocked
- Either you want to retrieve all saved passwords
- Or you can retrieve a password with the given
pass_id
- The database is locked again and saved to the
db_dir
directory
- When adding a new password:
- The database is unlocked (the decrypted file is placed in the
/tmp
directory of your system) - The password is added to the plain database
- The original file will be overwritten by the updated database
- The database is unlocked (the decrypted file is placed in the
- For removal and edition, the process is the same
For usage documentation, please see: Resources/doc/index.md