Skip to content

Version Header Edge Case (3.1.0) #18

@xayaank

Description

@xayaank

currently in decrypt_bytes, we check if raw[len(MAGIC):len(HEADER)] != VERSION.

Issue: When v3.2.0 is released, v3.1.0 will see it as "unsupported" and crash.

Fix: only want to block major version mismatches or files from the future. Consider allowing decryption if the version is lower than or equal to the current one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-riskdocumentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions