awslabs / awslabs/aws-encryption-sdk-specification

Implementation: Hold final frame plaintext on Decrypt until signature verifies

Open
#184 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
37
Forks
27
PR merge metrics
No merged PRs in 30d

Description

per https://github.com/awslabs/aws-encryption-sdk-specification/blob/master/client-apis/decrypt.md
If streaming decrypt:
```
If this operation is using an algorithm suite with a signature algorithm,
all plaintext decrypted from regular frames SHOULD be released as soon as the above calculation,
including tag verification, succeeds.
Any plaintext decrypted from unframed data or a final frame MUST NOT
be released until signature verification successfully completes.
```

- [ ] Java https://github.com/aws/aws-encryption-sdk-java/issues/206
- [x] JS https://github.com/aws/aws-encryption-sdk-javascript/issues/390
- [ ] C https://github.com/aws/aws-encryption-sdk-c/issues/561

Contributor guide

Open the contributing guide

Research direction

Start with the streaming-decrypt requirement in decrypt.md, then review the linked Java, JavaScript, and C implementation issues. The Java and C checklist items remain open; done means final-frame and unframed plaintext is withheld until signature verification succeeds in each implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, java, javascript
Domain
cryptography, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.