Repository navigation
fix: detect Base64 encoded messages on decrypt, stop testing on Python 3.8 and 3.9 - #836
Merged
Merged
Conversation
This reverts commit 8136b2b.
…n 3.8 and 3.9 Co-authored-by: Eugene Pisarchik <et.pisarchik@vebtech.by> Co-authored-by: Lucas McDonald <lucmcdon@amazon.com> Co-authored-by: Anirav Kareddy <aniravk@amazon.com>
akareddy04
force-pushed
the
revert-831-aniravk/base64-encoded-message-hint-decrypt
branch
from
November 17, 2026 18:48
5a2da9e to
3039075
Compare
akareddy04
force-pushed
the
reapply-831
branch
from
November 17, 2026 18:48
0df8b91 to
811747c
Compare
lucasmcdonald3
previously approved these changes
Nov 17, 2026
akareddy04
changed the base branch from
revert-831-aniravk/base64-encoded-message-hint-decrypt
to
master
November 17, 2026 22:35
akareddy04
dismissed
lucasmcdonald3’s stale review
November 17, 2026 22:35
The base branch was changed.
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #, if available: #192
Description of changes:
Re-applies #831 (reverted in #834) so the squash commit credits the original contributor, @evgpisarchik. Stacked on #834 to demonstrate CI passes with these changes restored.
Decrypting the Base64 encoding of a message previously failed with the generic "Unsupported version 65" error. Per the Decrypt specification's Encrypted Message Format section, detect the Base64 encoding of the first two bytes of each supported message format version ("AY" for V1, "Ag" for V2) and raise a more specific NotSupportedError.
Also moves Linux CI to CodeBuild-hosted runners and stops testing on Python 3.8 and 3.9.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.