Skip to content

Commit 25736f4

Browse files
committed
Merge branch 'task/SDK-4691_pub_key_signature' into 'release/v8.2.0'
SDK-4691 Investigate public key signature verification failure [hotfix 8.2.0] See merge request sdk/sdk!6124
2 parents cb25bf2 + d414210 commit 25736f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/megaclient.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -15903,7 +15903,7 @@ error MegaClient::trackSignature(attr_t signatureType, handle uh, const std::str
1590315903
if (signatureType == ATTR_SIG_CU255_PUBK)
1590415904
{
1590515905
// retrieve public key whose signature wants to be verified, from cache
15906-
const UserAttribute* attribute = user->getAttribute(signatureType);
15906+
const UserAttribute* attribute = user->getAttribute(ATTR_CU25519_PUBK);
1590715907
if (!attribute || !attribute->isValid())
1590815908
{
1590915909
LOG_warn << "Failed to verify signature " << User::attr2string(signatureType)

0 commit comments

Comments
 (0)