Skip to content

TUF: Add support for signing_config.json #1150

@zimmerad

Description

@zimmerad

Description

Currently, when deploying tuf with the provided chart, cosign complains about a missing signing_config.v0.2.json file when calling cosign initialize:

cosign initialize --mirror http://localhost:8080 --root=http://localhost:8080/root.json --root-checksum ...

WARNING: Could not fetch signing_config.json from the TUF mirror (encountered error: getting info for target "signing_config.v0.2.json": target signing_config.v0.2.json not found). It is recommended to use a signing config file rather than provide service URLs when signing.

Upon performing a signing operation with cosign, the following error is printed:

Error: error getting signing config from TUF: error getting signing config from TUF: getting info for target "signing_config.v0.2.json": target signing_config.v0.2.json not found
error during command execution: error getting signing config from TUF: error getting signing config from TUF: getting info for target "signing_config.v0.2.json": target signing_config.v0.2.json not found

Version

cosign version: v3.0.5
tuf version: v0.7.31

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions