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

dnsimple / erldns / 15584382532
85%

Build:
DEFAULT BRANCH: main
Ran 11 Jun 2025 12:06PM UTC
Jobs 1
Files 32
Run time 78min
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

11 Jun 2025 12:06PM UTC coverage: 76.1% (+0.007%) from 76.093%
15584382532

push

github

web-flow
Use KSK to sign CDS and CDNSKEY RRSets (#235)

According to the RFC 7344 Section 4.1, CDS and CDNSKEY RRSets must be signed using a key that's present in both the DNSKEY and DS RRSets. However, erldns uses the ZSK, which is not present in the DS RRSet.

* Add comprehensive unit tests for CDS/CDNSKEY RRSIG functionality

- Add test suite to verify CDS/CDNSKEY use key-signing-key for RRSIG
- Tests verify signer selection logic works correctly
- Following TDD approach with tests that verify expected behavior
- Tests cover requires_key_signing_key and choose_signer_for_rrset functions

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Implement CDS/CDNSKEY RRSIG signing with key-signing-key

- Add choose_signer_for_rrset function to select appropriate signer
- Add requires_key_signing_key helper to identify CDS/CDNSKEY records
- Modify rrsig_for_zone_rrset to use new signer selection logic
- Export functions for testing
- CDS and CDNSKEY records now use key-signing-key for RRSIG
- Other record types continue using zone-signing-key
- All tests pass confirming implementation works correctly

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Cleanup: `make format`

* Rename test suite

* Keep new exports as only for tests

* Ensure correct signature happen on zone loading

* Migrate dnssec documentation

* Remove wildcard filtering

* Unify in a single pass both zsk and ksk signing

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Nelson Vides <nelson.vides@erlang-solutions.com>

22 of 24 new or added lines in 3 files covered. (91.67%)

1 existing line in 1 file now uncovered.

1124 of 1477 relevant lines covered (76.1%)

1509.95 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
19.8
-0.4% src/erldns_records.erl

Uncovered Existing Lines

Lines Coverage ∆ File
1
82.61
-4.35% src/erldns_txt.erl
Jobs
ID Job ID Ran Files Coverage
1 15584382532.1 11 Jun 2025 12:06PM UTC 32
76.1
GitHub Action Run
Source Files on build 15584382532
  • Tree
  • List 32
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15584382532
  • 55721913 on github
  • Prev Build on main (#15584237833)
  • Next Build on main (#15633746394)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc