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

savonrb / akami / 35146483208
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: v1.4.0
DEFAULT BRANCH: main
Ran 16 Sep 2026 08:26PM UTC
Jobs 1
Files 8
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

16 Sep 2026 08:23PM UTC coverage: 91.049% (-1.3%) from 92.332%
35146483208

push

github

web-flow
Fix signature verification for multi-token documents and signed attachments

Reimplements the functional core of #48 on current main.

- Select the signer certificate via ds:Signature/ds:KeyInfo/
  wsse:SecurityTokenReference/wsse:Reference when a document carries
  more than one BinarySecurityToken, instead of taking the first token.
  Single-token documents behave exactly as before.
- Support digest verification of cid: attachment references through a
  new VerifySignature.new(xml, decrypted_attachments: { id => content })
  keyword argument. Missing attachments raise MissingDecryptedAttachment,
  handled by valid?/verify! like the other verification errors.
- Read each Reference's DigestValue directly from the Reference node
  instead of re-querying the document by element Id, so non-fragment
  (cid:) references verify correctly.
- Recognize the http://www.w3.org/2001/04/xmlenc#sha256 digest algorithm.

Backwards compatible: the new keyword argument defaults to {}, and
single-token documents follow the previous code path.

16 of 21 new or added lines in 1 file covered. (76.19%)

295 of 324 relevant lines covered (91.05%)

21.62 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
85.23
-4.38% lib/akami/wsse/verify_signature.rb
Jobs
ID Job ID Ran Files Coverage
1 35146483208.1 16 Sep 2026 08:26PM UTC 8
91.05
GitHub Action Run
Source Files on build 35146483208
  • Tree
  • List 8
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35146483208
  • c2ddb658 on github
  • Prev Build on main (#35145633609)
  • Next Build on release-1.4.0 (#35146495082)
  • Delete
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