database: Pass master seed to challenge response keys
* Pass the master seed from the database to CompositeKey::challenge() function which will in turn issue challenges to all selected drivers. Signed-off-by: Kyle Manna <kyle@kylemanna.com>
This commit is contained in:
@@ -176,6 +176,11 @@ QByteArray Database::transformedMasterKey() const
|
||||
return m_data.transformedMasterKey;
|
||||
}
|
||||
|
||||
QByteArray Database::challengeMasterSeed(const QByteArray& masterSeed) const
|
||||
{
|
||||
return m_data.key.challenge(masterSeed);
|
||||
}
|
||||
|
||||
void Database::setCipher(const Uuid& cipher)
|
||||
{
|
||||
Q_ASSERT(!cipher.isNull());
|
||||
|
||||
Reference in New Issue
Block a user