Commit graph

14 commits

Author SHA1 Message Date
eelke
aac55b0ed1 Store connection configuration as key value pairs
Add migration for the sqlite database.
Because the Qt SQL library is a bit hard to work with use sqlite through custom wrapper.
2025-02-22 19:59:24 +01:00
eelke
d22b125d81 Accessing Scrypt implementation directly is deprecated. 2024-04-12 06:26:54 +02:00
eelke
4fa2189b27 Added the capability to reset the password manager
Also some documentation about the password manager.
2022-09-05 07:33:08 +02:00
eelke
b5ca7099c1 Catch botan exception in password manager and throw higher level exception. 2022-07-08 19:54:18 +02:00
eelke
8b671090a0 Big cleanup 2022-05-26 08:25:31 +02:00
eelke
082293e58a Switched ConnectionConfig to QString from std::string to fit better into Qt framework 2019-09-16 19:24:39 +02:00
eelke
d489f11e52 Store encrypted passwords with connections.
Closes #22 as encrypted password is now deleted as part of the connection record.
2019-09-01 14:07:58 +02:00
eelke
e36924c087 Passwords are now saved in a password manager.
The password manager uses strong encryption using a key derived from the passphrase using
scrypt key strengthening algorithm. This ensures encryption is performed using a strong key
and that brute forcing the passphrase is time consuming.

If the user loses his passphrase no recovery is possible.
2018-11-08 21:50:49 +01:00
eelke
6b9b602c64 Replaced old PasswordManager code with code using Botan's new PSK_Database
This greatly reduces the amount of encryption related code required. Thought
we still have todo our own key strenthening but this also is easier with Botan::PasswordHash.
2018-11-04 11:24:13 +01:00
eelke
8f1ba8130c Unit tests on PasswordManager are now much faster because the tests use a much
lower iterations count now then the default setting.
2017-12-16 21:42:41 +01:00
eelke
bebb3391c3 Builds on windows again 2017-11-26 13:07:21 +01:00
Eelke Klein
7c4e8e95e8 Restructured locations of source. 2017-08-27 07:36:42 +02:00
Eelke Klein
04723a289b Switching to linux for development of pglab.
Switched from qmake to cmake. Code changes to make it compile.
2017-08-23 08:10:01 +02:00
eelke
d0ea9dfa0c Moved some parts to a static lib so both the executable and the tests can link to it.
Written additional tests.
2017-02-26 19:29:50 +01:00