-
Notifications
You must be signed in to change notification settings - Fork 710
Description
See helpful context: #2461 (comment)_
The
verify-*commands have this argument:
--certificate-chain string: path to a list of CA certificates in PEM format which will be needed when building the certificate chain for the signing certificate. Must start with the parent intermediate CA certificate of the signing certificate and end with the root certificateWe automatically trust any provided chain here. That's a reasonable behavior, if you're trying to specify a trust root.
However, when I see a flag named
--certificate-chainI assume that it's just something I provide to link the cert back up to a default trust root! It feels eminently reasonable to me to download a certificate and a chain alongside a signature, and want to pass that in.Can we rename this to something like
--ca-trust-rootor--root-caand then just specify in the help text that accepts a certificate or a chain of certs?