Skip to content

feat: introduce NewValidatorFromDoc func#107

Merged
adamdecaf merged 1 commit into
moov-io:masterfrom
regeda:new-validator-from-doc
May 15, 2026
Merged

feat: introduce NewValidatorFromDoc func#107
adamdecaf merged 1 commit into
moov-io:masterfrom
regeda:new-validator-from-doc

Conversation

@regeda

@regeda regeda commented May 11, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the golang.org/x/crypto dependency and introduces a NewValidatorFromDoc function in validator.go. Feedback was provided regarding an inconsistency in NewValidatorFromDoc, which currently skips the XML declaration removal step required for correct signature verification. A code suggestion was provided to address this and correct the function's docstring.

Comment thread validator.go Outdated
@regeda regeda force-pushed the new-validator-from-doc branch from caafc87 to 69a8d21 Compare May 11, 2026 13:15
@adamdecaf adamdecaf merged commit 8d0c8ea into moov-io:master May 15, 2026
3 checks passed
@adamdecaf

Copy link
Copy Markdown
Member

Thanks!

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.

2 participants