querdos/qpass-db-bundle

Symfony bundle for storing passwords in separate database (encrypted)

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

v1.1 2017-04-21 14:22 UTC

This package is not auto-updated.

Last update: 2024-04-19 20:21:05 UTC


README

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

A symfony bundle that allow you to create local encrypted database for passwords storage

Behind the scene

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 and QPassword. After the database creation, an instance of a QDatabase is created. When adding a password, a QPassword 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
  • For removal and edition, the process is the same

Documentation

For usage documentation, please see: Resources/doc/index.md