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:
parent
2230a4bd61
commit
e36924c087
27 changed files with 605 additions and 346 deletions
|
|
@ -6,7 +6,7 @@
|
|||
#include <libpq-fe.h>
|
||||
#include "Pgsql_declare.h"
|
||||
#include "Pgsql_oids.h"
|
||||
#include <boost/optional.hpp>
|
||||
#include <optional>
|
||||
|
||||
namespace Pgsql {
|
||||
|
||||
|
|
@ -37,7 +37,7 @@ namespace Pgsql {
|
|||
|
||||
Param add(const QString &s, Oid oid=varchar_oid);
|
||||
Param add(const char *data, Oid oid=varchar_oid);
|
||||
Param add(boost::optional<std::string> s, Oid oid=varchar_oid)
|
||||
Param add(std::optional<std::string> s, Oid oid=varchar_oid)
|
||||
{
|
||||
return add(s ? s->c_str() : nullptr, oid);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue