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

FIX: Handling of encrypted entries #208

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Commits on Oct 30, 2024

  1. FIX: Handling of encrypted entries

    - `PackageParser` changes:
      - parsing of `mimetype` and `META-INF/manifest.xml` are now done up front;
      - simpleified entry handling;
      - dedicated methods for mimetype and manifest parsing;
      - cleaned up handling of bad zip entries prior to moving this to the zip classes;
    - `OdfPackage` now has an `isEncrypted()` method to check if the package contains encrypted entries;
    - simplifed message processing in `ValidatingParser`;
    - addded encryption detection to prevent validation and profiling of encrypted package entries;
    - CLI reports incomplete validation for packages with encrypted entries, though this is still a little hacky.
    carlwilson committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    886c046 View commit details
    Browse the repository at this point in the history