Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

golang DNSSEC key creation creates invalid keys #2628

@dneuman64

Description

@dneuman64

When DNSSEC keys are created by the golang route they are invalid and choke TR. It looks like the domain name is being generated with two periods at the end which is causing the issue.

Example: "name": "neuman-test.cdn.domain.com..", "expirationDate": 1535907835, "inceptionDate": 1533315835, "effectiveDate": 1533315835,

which causes this error in TR:

org.xbill.DNS.TextParseException: 'neuman-test.cdn.comcast.net..': invalid empty label
    at org.xbill.DNS.Name.parseException(Name.java:172)
    at org.xbill.DNS.Name.<init>(Name.java:251)
    at org.xbill.DNS.Name.<init>(Name.java:288)
    at com.comcast.cdn.traffic_control.traffic_router.core.dns.DnsSecKeyPairImpl.<init>(DnsSecKeyPairImpl.java:68)
    at com.comcast.cdn.traffic_control.traffic_router.core.dns.SignatureManager$1.run(SignatureManager.java:134)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)```

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Routerrelated to Traffic Routerregression buga bug in existing functionality introduced by a new version

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions