Skip to content

Commit 81f2d1c

Browse files
committed
Merge branch 'task/SDK-4691_pub_key_signature' into 'release/v8.0.1'
SDK-4691 Investigate public key signature verification failure [hotfix 8.0.1] See merge request sdk/sdk!6125
2 parents 88468b7 + d414210 commit 81f2d1c

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
@@ -15756,7 +15756,7 @@ error MegaClient::trackSignature(attr_t signatureType, handle uh, const std::str
1575615756
if (signatureType == ATTR_SIG_CU255_PUBK)
1575715757
{
1575815758
// retrieve public key whose signature wants to be verified, from cache
15759-
const UserAttribute* attribute = user->getAttribute(signatureType);
15759+
const UserAttribute* attribute = user->getAttribute(ATTR_CU25519_PUBK);
1576015760
if (!attribute || !attribute->isValid())
1576115761
{
1576215762
LOG_warn << "Failed to verify signature " << User::attr2string(signatureType) << " for user " << uid << ": CU25519 public key is not available";

0 commit comments

Comments
 (0)