Skip to content

Remove default canonicalization algorithm - #405

Merged
cjbarth merged 2 commits into
node-saml:masterfrom
cjbarth:default-canonicalization
Oct 18, 2023
Merged

Remove default canonicalization algorithm#405
cjbarth merged 2 commits into
node-saml:masterfrom
cjbarth:default-canonicalization

Conversation

@cjbarth

@cjbarth cjbarth commented Oct 12, 2023

Copy link
Copy Markdown
Contributor

This removes the default canonicalization algorithm forcing the consumer to choose the one that they want. This is an attempt to address #376.

Side note: We do not support all the "required" algorithms. See: https://www.w3.org/TR/xmldsig-core1/#:~:text=4.1%20DSA%5D-,canonicalization,-Required

@codecov

codecov Bot commented Oct 12, 2023

Copy link
Copy Markdown

Codecov Report

Merging #405 (9bced7e) into master (e044d7a) will decrease coverage by 0.45%.
The diff coverage is 70.58%.

@@            Coverage Diff             @@
##           master     #405      +/-   ##
==========================================
- Coverage   74.35%   73.91%   -0.45%     
==========================================
  Files           9        9              
  Lines         889      897       +8     
  Branches      236      238       +2     
==========================================
+ Hits          661      663       +2     
- Misses        135      139       +4     
- Partials       93       95       +2     
Files Coverage Δ
src/c14n-canonicalization.ts 52.50% <100.00%> (+0.39%) ⬆️
src/enveloped-signature.ts 83.33% <100.00%> (+0.72%) ⬆️
src/exclusive-canonicalization.ts 77.51% <100.00%> (+0.17%) ⬆️
src/types.ts 90.00% <ø> (ø)
src/signed-xml.ts 75.94% <54.54%> (-1.15%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@LoneRifle LoneRifle left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@cjbarth
cjbarth merged commit 5629be4 into node-saml:master Oct 18, 2023
@cjbarth
cjbarth deleted the default-canonicalization branch October 18, 2023 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants