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

feat: add strict mode #2

Merged
merged 5 commits into from
Aug 9, 2024
Merged

feat: add strict mode #2

merged 5 commits into from
Aug 9, 2024

Conversation

RoryPTB
Copy link
Contributor

@RoryPTB RoryPTB commented Aug 9, 2024

Major Changes:
The validate_xml method now has a strict argument which defaults to True. If this is set to False, the XML signature validation result will not influence the validation. That is, if the signature validation fails, the validation will pass but the message in the validation response will inform the user if the XML file has been signed or if the signature is invalid.

Minor Changes:

  • Updated the CLI to have arguments --strict and --no-strict which support this feature.
  • Updated the readme to explain this new feature.

@RoryPTB RoryPTB merged commit ec4c2c9 into main Aug 9, 2024
22 checks passed
@RoryPTB RoryPTB deleted the feat/strict-mode branch August 9, 2024 14:23
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