Skip to content

Commit

Permalink
fix: review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
murali-shris committed Sep 26, 2024
1 parent cc71473 commit ea0dfd3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ class GetResponseTransformer
var decryptionService =
decryptionManager!.get(tuple.one, _atClient.getCurrentAtSign()!);
// Decrypt the data, for other keys
// For new encrypted data after AtClient v3.2.1, isEncrypted will be true by default
// For new encrypted data after AtClient v3.2.1, isEncrypted will be true(default value for PutRequestOptions.shouldEncrypt) for self and shared keys
// isEncrypted will be false if client sets PutRequestOptions.shouldEncrypt to false
if (_shouldDecrypt(atValue.metadata)) {
atValue.value = await _decrypt(atValue, decryptionService, tuple.one);
} else {
Expand Down

0 comments on commit ea0dfd3

Please sign in to comment.