Secure config WIP
This commit is contained in:
parent
b5890340e3
commit
14384131f4
7 changed files with 83 additions and 28 deletions
|
@ -26,6 +26,8 @@ public:
|
|||
|
||||
bool encryptionRequired() const;
|
||||
|
||||
QByteArray getEncKey() const;
|
||||
QByteArray getEncIv() const;
|
||||
private:
|
||||
QSettings m_settings;
|
||||
|
||||
|
@ -33,8 +35,8 @@ private:
|
|||
|
||||
QStringList encryptedKeys; // encode only key listed here
|
||||
|
||||
QByteArray m_key;
|
||||
QByteArray m_iv;
|
||||
mutable QByteArray m_key;
|
||||
mutable QByteArray m_iv;
|
||||
|
||||
const QByteArray magicString { "EncData" }; // Magic keyword used for mark encrypted QByteArray
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue