Before this change, the key release policy was only using an array of claims which needed to be found in the attestation.
The policy is extended with operators. We added two operators:
gt: Greater than indicating that the attestation claim must be greater than what is indicated in the policy.
gte: Greater than or equal.
The key release policy logic changed completely as also the constitution.
New unit tests check the logic of key release policy.
Before this change, the key release policy was only using an array of claims which needed to be found in the attestation. The policy is extended with operators. We added two operators: gt: Greater than indicating that the attestation claim must be greater than what is indicated in the policy. gte: Greater than or equal.
The key release policy logic changed completely as also the constitution. New unit tests check the logic of key release policy.