Skip to content

cosign does not seem to honor --tlog-upload=false #4503

@rams3sh

Description

@rams3sh

Description

Cosign does not seem to honor --tlog-upload=false. Below is the command I executed

cosign sign --tlog-upload=false --key awskms:///arn:aws:kms:us-west-2:0123456789123:key/mrk-dummy --verbose=true ttl.sh/<redacted>@sha256:<redacted>

I get the below snippet in the debug logs :-

2025/10/28 09:37:51 --> PATCH https://ttl.sh/v2/<redacted>?_state=<redacted>
2025/10/28 09:37:51 PATCH /v2/<redacted>/blobs/uploads/<redacted>?_state=<redacted> HTTP/1.1
Host: ttl.sh
User-Agent: cosign/v3.0.2 (darwin; arm64) go-containerregistry/v0.20.6
Content-Length: 4361
Content-Type: application/octet-stream
Accept-Encoding: gzip

{"mediaType":"application/vnd.dev.sigstore.bundle.v0.3+json", "verificationMaterial":{"publicKey":{"hint":"<redacted>"}, "tlogEntries":[{"logIndex":"647594071", "logId":{"keyId":"<redacted>"}, "kindVersion":{"kind":"dsse", "version":"0.0.1"}, "integratedTime":"1761624467", "inclusionPromise": .......

I checked the transparency logs in the below link :-
https://search.sigstore.dev/?logIndex=647594071

And it seems like the entry has been created.

I am not sure if I am doing anything wrong in the above command execution.

Version

  ______   ______        _______. __    _______ .__   __.
 /      | /  __  \      /       ||  |  /  _____||  \ |  |
|  ,----'|  |  |  |    |   (----`|  | |  |  __  |   \|  |
|  |     |  |  |  |     \   \    |  | |  | |_ | |  . `  |
|  `----.|  `--'  | .----)   |   |  | |  |__| | |  |\   |
 \______| \______/  |_______/    |__|  \______| |__| \__|
cosign: A tool for Container Signing, Verification and Storage in an OCI registry.

GitVersion:    v3.0.2
GitCommit:     84449696f0658a5ef5f2abba87fdd3f8b17ca1be
GitTreeState:  "clean"
BuildDate:     2025-10-10T18:17:56Z
GoVersion:     go1.25.2
Compiler:      gc
Platform:      darwin/arm64

Metadata

Metadata

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