You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A Transform without an Algorithm attribute is skipped instead of rejected #622
A DigestMethod without Algorithm already throws could not find Algorithm attribute in node .... A Transform without it names a step that cannot be identified, and verifying as though the element were absent digests something the signer never described.
On 6.3.2, a signature whose SignedInfo contains <Transforms><Transform/><Transform Algorithm="...enveloped-signature"/><Transform Algorithm="...xml-exc-c14n#"/></Transforms>, signed over that SignedInfo, passes checkSignature(). The loaded reference lists only the two transforms that have an Algorithm.
The element is inside SignedInfo, so only the signer can produce it. This is a conformance problem, not a bypass.
Proposal
Throw, as for DigestMethod. That rejects documents that verify today, so it belongs in 7.0.
Activity