Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve verification #1020

Merged
merged 16 commits into from
May 17, 2024
Merged

feat: improve verification #1020

merged 16 commits into from
May 17, 2024

Conversation

ajewellamz
Copy link
Contributor

Description of changes:

CanonizeForEn(De)crypt moved to Canonize.ForEn(De)crypt, using mech different verification strategy.

Output ensure's for En(De)cryptPathStructure moved to lemmas, so they never need to see the final opaque ensured predicate.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ajewellamz ajewellamz marked this pull request as ready for review May 16, 2024 17:59
@ajewellamz ajewellamz requested a review from a team as a code owner May 16, 2024 17:59
Comment on lines +171 to +172
reveal IsValidPath();
:- Need(forall k <- data :: Paths.ValidPath(k.key), E("Invalid Paths"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIce

Copy link
Contributor

@seebees seebees left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ajewellamz ajewellamz merged commit cbde4ef into main May 17, 2024
30 checks passed
@ajewellamz ajewellamz deleted the ajewell/verify branch May 17, 2024 19:28
rishav-karanjit pushed a commit that referenced this pull request May 30, 2024
## [3.5.0](v3.4.0...v3.5.0) (2024-05-30)

### Features

* **DynamoDbEncryption:** Add GetEncryptedDataKeyDescription operation ([#856](#856)) ([8f8471a](8f8471a))
* improve verification ([#1020](#1020)) ([cbde4ef](cbde4ef))
* simplify structured encryption ([#866](#866)) ([a70a569](a70a569))

### Maintenance

* allow Legacy to use subclass of DynamoDBEncryptor ([#1073](#1073)) ([135acd9](135acd9))
* bump MPL to 1.4 ([#1067](#1067)) ([51bbab5](51bbab5))
* **Java-Release:** update release commands and use SNAPSHOT builds ([#995](#995)) ([ac9b79e](ac9b79e))
* reformat and enforce formatting ([#1035](#1035)) ([8a76a9d](8a76a9d))
* verify with Dafny 4.6 ([#1072](#1072)) ([9db6e78](9db6e78))
ajewellamz pushed a commit that referenced this pull request May 31, 2024
* chore(release): 3.5.0

## [3.5.0](v3.4.0...v3.5.0) (2024-05-30)

### Features

* **DynamoDbEncryption:** Add GetEncryptedDataKeyDescription operation ([#856](#856)) ([8f8471a](8f8471a))
* improve verification ([#1020](#1020)) ([cbde4ef](cbde4ef))
* simplify structured encryption ([#866](#866)) ([a70a569](a70a569))

### Maintenance

* allow Legacy to use subclass of DynamoDBEncryptor ([#1073](#1073)) ([135acd9](135acd9))
* bump MPL to 1.4 ([#1067](#1067)) ([51bbab5](51bbab5))
* **Java-Release:** update release commands and use SNAPSHOT builds ([#995](#995)) ([ac9b79e](ac9b79e))
* reformat and enforce formatting ([#1035](#1035)) ([8a76a9d](8a76a9d))
* verify with Dafny 4.6 ([#1072](#1072)) ([9db6e78](9db6e78))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants