Skip to content

Drop support for supplying TSIG secret on the CLI, support NSD/Unbound's TSIG config snippet format #898

Description

@maertsen

At present, it is possible for an operator to config TSIG secrets as an argument to cascade tsig add. This is an unfortunate default we should strive to avoid, because it leaks the TSIG key to process listings and shell history. That's also the case with dig, but we have the freedom to pick a safer default.

There is already support to read the secret from a file, which still requires passing name and algorithm on the CLI.

There is no standard file format for TSIG keys that is shared amongst popular DNS implementations. The next best thing appears to be to align with our other projects. The goal of this ticket is to support our existing config format for TSIG in NSD (and soon Unbound). We can then drop support for supplying TSIG secrets on the CLI.

This issue is blocked on file parsing in Domain NLnetLabs/domain#695

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXUser experience.blockedcliRelating to the `cascade` CLI tool, which talks to the daemon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions