Skip to content

fix: detect Base64 encoded messages on decrypt, stop testing on Python 3.8 and 3.9 - #837

Merged
akareddy04 merged 1 commit into
masterfrom
aniravk/reapply-831
Nov 17, 2026
Merged

akareddy04 merged 1 commit into
masterfrom
aniravk/reapply-831

Conversation

@akareddy04

@akareddy04 akareddy04 commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

#836 was supposed to reapply it, but it merged as an empty commit.

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.

Check any applicable:

  • Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.

@akareddy04
akareddy04 requested a review from a team as a code owner November 17, 2026 22:55
…n 3.8 and 3.9

Co-authored-by: Eugene Pisarchik <et.pisarchik@vebtech.by>
@akareddy04
akareddy04 merged commit ba0e235 into master Nov 17, 2026
143 checks passed
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.

1 participant