Skip to content

proposal: rename --no-verify to a name that says what it skips #636

Done

Description

@eitsupi

dbc install and dbc sync use --no-verify to skip the OpenPGP check of the driver library's .sig file for one run. This includes signatures that are present but invalid.
The flag leaves archive hash checks in place wherever an expected hash is available. It also leaves the locked source and signer checks in dbc sync in place.
It may not apply to Packslip verification either; the Packslip PoC (#497) kept its own verification separate from this flag.

The name suggests that it turns off verification in general, and the help text ("Allow installation of drivers without a signature file") describes neither of these limits.

For unsigned drivers, 0.4.0 supports declaring a registry or HTTP source unsigned with signing_key = false in dbc.toml. The lockfile records the unsigned policy.
I also plan to add dbc install --no-signing-key for one-off installs from a local archive or direct URL.
These options cover routine installs of unsigned drivers, so a longer, more explicit name would be reasonable for a flag intended for occasional use.

Proposal

  • Add a new name to dbc install and dbc sync with the existing behavior. Candidate: --skip-openpgp-verification. Like the old flag, it leaves the configured signing policy and the rules for updating the lockfile unchanged.
  • Keep --no-verify as a deprecated alias and print a one-line warning on stderr pointing to the new name. Preserve JSON output and exit codes.
  • Recommend the unsigned source declaration in help and docs. Document the one-off install option once it lands.

Open questions

  • Which name? --skip-openpgp-verification is the current candidate; alternatives include --skip-library-signature-check.
  • How long should we keep the deprecated alias? For example, should we keep it until 1.0?

Activity

  1. added this to the 0.4.0 milestone on Dec 2, 2026
  2. eitsupi commented on Dec 2, 2026

    @eitsupi
    MemberAuthor

    Considering that dbc may support other signature schemes such as Minisign in the future, and that a future package format may sign a file index rather than the driver library itself, I think --skip-package-signature-check would be a better name.
    This would avoid tying the flag to either a particular signature scheme or the current package format.

    The help text should clarify that it only skips signature verification based on the configured signing_key, not archive checksum verification, locked signer checks, or other source-specific verification such as Packslip.

  3. added a commit that references this issue on Dec 4, 2026
    47141fe
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions