Skip to content

Commit

Permalink
Merge pull request #532 from atsign-foundation/jeremy-trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
gkc authored Mar 20, 2024
2 parents a608d27 + 50ffa13 commit a6723c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/at_lookup/lib/src/at_lookup_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ class AtLookupImpl implements AtLookUp {
value = VerbUtil.getFormattedValue(value);
logger.finer('value: $value dataSignature:$dataSignature');
var isDataValid = publicKey.verifySHA256Signature(
utf8.encode(value), base64Decode(dataSignature));
// ignore: unnecessary_cast
utf8.encode(value) as Uint8List, base64Decode(dataSignature));
logger.finer('data verify result: $isDataValid');
return 'data:$value';
} on Exception catch (e) {
Expand Down

0 comments on commit a6723c1

Please sign in to comment.