You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In AtClientMobile->AtClientService.dart, the "createAtChops" method creates the instance of AtChops on authentication of an atSign. Only the RSA Key-Pairs are set and SelfEncryptionKey is not set.
Attaching the code snippet:
AtChops createAtChops(Map<String, String> decryptedAtKeys) {
final atEncryptionKeyPair = AtEncryptionKeyPair.create(
decryptedAtKeys[BackupKeyConstants.ENCRYPTION_PUBLIC_KEY_FROM_FILE]!,
decryptedAtKeys[BackupKeyConstants.ENCRYPTION_PRIVATE_KEY_FROM_FILE]!);
final atPkamKeyPair = AtPkamKeyPair.create(
decryptedAtKeys[BackupKeyConstants.PKAM_PUBLIC_KEY_FROM_KEY_FILE]!,
decryptedAtKeys[BackupKeyConstants.PKAM_PRIVATE_KEY_FROM_KEY_FILE]!);
final atChopsKeys = AtChopsKeys.create(atEncryptionKeyPair, atPkamKeyPair);
final atChops = AtChopsImpl(atChopsKeys);
return atChops;
}
Excepted Result: Set the SelfEncryptionKey in AtChops Instance.
The text was updated successfully, but these errors were encountered:
Excepted Result: Set the SelfEncryptionKey in AtChops Instance.
The text was updated successfully, but these errors were encountered: