Skip to content

Add optional libxml2 validation - #3

Open
arvvoid wants to merge 4 commits into
mainfrom
uoejfz-codex/add-optional-flag-for-libxml2-validation
Open

Add optional libxml2 validation#3
arvvoid wants to merge 4 commits into
mainfrom
uoejfz-codex/add-optional-flag-for-libxml2-validation

Conversation

@arvvoid

@arvvoid arvvoid commented May 26, 2025

Copy link
Copy Markdown
Member

Summary

  • add optional tests with libxml2 signature verification
  • parse SignedInfo via XPath in the libxml2 verifier
  • provide helper to get SignatureValue from XML

Replace build constraints with runtime checks for Linux and libxml2
availability, removing the need for a separate test file
@arvvoid arvvoid removed the codex label May 26, 2025
arvvoid added 2 commits May 26, 2025 18:57
Extract SignedInfo element separately from SignatureValue instead of
parsing the entire document. Add support for both namespaced and
non-namespaced XML elements. Simplify C canonicalization to work
directly on the extracted SignedInfo element rather than using XPath.
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