• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PeculiarVentures / xmldsigjs / 41473786976
86%

Build:
DEFAULT BRANCH: master
Ran 02 Nov 2026 03:40PM UTC
Jobs 1
Files 84
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Nov 2026 03:39PM UTC coverage: 86.125% (+0.3%) from 85.823%
41473786976

push

github

web-flow
feat(xmldsig): add canonicalization sign option (#157)

* feat(xmldsig): add canonicalization sign option

OptionsSign.canonicalization sets the SignedInfo CanonicalizationMethod.
It accepts the same names as reference transforms (c14n, exc-c14n,
c14n-com, exc-c14n-com) or an algorithm URI. The default stays c14n.

Closes #21

* fix(xmldsig): accept only canonicalization methods in the canonicalization option

The option resolved any transform, so values such as base64 or
enveloped were written to CanonicalizationMethod. With base64 the
signature covered only the DigestValue text, not the rest of SignedInfo.
Non-canonicalization transforms now throw ALGORITHM_NOT_SUPPORTED and an
empty value throws instead of falling back to the default.

* test(xmldsig): cover explicit c14n, custom C14N and comments in canonicalization option

* fix(xmldsig): keep custom canonicalization URI as given

A registered C14N subclass that does not override Algorithm was written as the built-in URI, so its own canonicalizer never ran on verify. Short names still map to the built-in URI; namespace URIs are kept as given.

1147 of 1527 branches covered (75.11%)

7 of 7 new or added lines in 1 file covered. (100.0%)

2278 of 2645 relevant lines covered (86.12%)

2106.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41473786976.1 02 Nov 2026 03:40PM UTC 84
86.12
GitHub Action Run
Source Files on build 41473786976
  • Tree
  • List 84
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #41473786976
  • 7a6a0b54 on github
  • Prev Build on master (#41471681544)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc