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.
This commit is contained in:
eelke 2018-11-08 21:50:49 +01:00
parent 2230a4bd61
commit e36924c087
27 changed files with 605 additions and 346 deletions

View file

@ -8,7 +8,7 @@
#include <vector>
#include <QString>
#include <QDateTime>
#include <boost/optional.hpp>
#include <optional>
namespace Pgsql {
@ -154,10 +154,10 @@ namespace Pgsql {
};
template <typename T>
void operator<<(boost::optional<T> &s, const Value &v)
void operator<<(std::optional<T> &s, const Value &v)
{
if (v.null())
s = boost::optional<T>();
s = std::optional<T>();
else
*s << v;
}