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

@ -2,7 +2,7 @@
#define CONNECTIONMANAGERWINDOW_H
#include <QMainWindow>
#include <boost/optional.hpp>
#include <optional>
namespace Ui {
class ConnectionManagerWindow;
@ -19,7 +19,7 @@ class QStandardItemModel;
class ConnectionManagerWindow : public QMainWindow {
Q_OBJECT
public:
explicit ConnectionManagerWindow(MasterController *master, QWidget *parent = 0);
explicit ConnectionManagerWindow(MasterController *master, QWidget *parent = nullptr);
~ConnectionManagerWindow();
private slots:
@ -36,7 +36,7 @@ private:
QDataWidgetMapper *m_mapper = nullptr;
MasterController *m_masterController;
boost::optional<size_t> prevSelection;
std::optional<size_t> prevSelection;
void setupWidgetMappings();
};