-
Notifications
You must be signed in to change notification settings - Fork 11
Description
part of #275
When this is present, it will contain a list of domains (defaults to empty array when not set/nil), or possibly a star * which means disable Attester search completely (and only rely on WKD).
You'll want to re-implement this method in ClientConfiguration or a similar place:
Then you'll use that method whenever fetching public keys from Attester. If this returns false, do not send any request to Attester and act as if Attester returned zero results. Best would be to edit the Attester methods, for example like done here: https://github.com/FlowCrypt/flowcrypt-browser/blob/3efa45c841808d9e9185ff9b38d1b78be10117f4/extension/js/common/api/key-server/attester.ts#L22-L28
Please be careful that - while the OrgRules belong to the sender - inside the above method goes email address of the recipient.