mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 00:43:30 +02:00
get rid of "error" warning because the key wasn't broken into 64 char
lines
This commit is contained in:
parent
abf41300dd
commit
a6b437a79f
1 changed files with 1 additions and 1 deletions
|
@ -1189,7 +1189,7 @@ bool EntityTree::verifyNonce(const QString& certID, const QString& nonce, Entity
|
|||
key = sent.second;
|
||||
}
|
||||
|
||||
QString annotatedKey = "-----BEGIN PUBLIC KEY-----\n" + key + "\n-----END PUBLIC KEY-----";
|
||||
QString annotatedKey = "-----BEGIN PUBLIC KEY-----\n" + key.insert(64, "\n") + "\n-----END PUBLIC KEY-----";
|
||||
bool verificationSuccess = EntityItemProperties::verifySignature(annotatedKey.toUtf8(), actualNonce.toUtf8(), nonce.toUtf8());
|
||||
|
||||
if (verificationSuccess) {
|
||||
|
|
Loading…
Reference in a new issue