Skip to content

Commit

Permalink
Merge branch 'task/SDK-4691_pub_key_signature' into 'release/v8.0.1'
Browse files Browse the repository at this point in the history
SDK-4691 Investigate public key signature verification failure [hotfix 8.0.1]

See merge request sdk/sdk!6125
  • Loading branch information
aabellagm committed Dec 13, 2024
2 parents 88468b7 + d414210 commit 81f2d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/megaclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15756,7 +15756,7 @@ error MegaClient::trackSignature(attr_t signatureType, handle uh, const std::str
if (signatureType == ATTR_SIG_CU255_PUBK)
{
// retrieve public key whose signature wants to be verified, from cache
const UserAttribute* attribute = user->getAttribute(signatureType);
const UserAttribute* attribute = user->getAttribute(ATTR_CU25519_PUBK);
if (!attribute || !attribute->isValid())
{
LOG_warn << "Failed to verify signature " << User::attr2string(signatureType) << " for user " << uid << ": CU25519 public key is not available";
Expand Down

0 comments on commit 81f2d1c

Please sign in to comment.