Skip to content

proposal: add commands to manage registries and signing keys #646

Backlog

Description

@eitsupi

dbc 0.4.0 supports third-party registries and OpenPGP signing keys through config.toml and dbc.toml. Setting them up requires editing TOML, and the CLI has no overview of which registries are active or where their settings come from.

Proposal

$ dbc signing-key add example ./example.asc
$ dbc registry add https://registry.example.com --signing-key example
$ dbc registry list
$ dbc signing-key list
$ dbc registry remove https://registry.example.com
$ dbc signing-key remove example
  • Edit the user's configuration by default and dbc.toml with --project. Preserve comments and unrelated settings. Refuse to remove entries still referenced by other settings in the same file.
  • Show each entry's origin and, for registries, whether it is active. Show signing key fingerprints. Support --json and omit credentials and key contents from both output formats.
  • Validate imported OpenPGP public keys, show their fingerprints, and store them inline.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions