Skip to content

Sigstore-gradle fails to sign files on Windows #973

@keastrid

Description

@keastrid

Signing fails on Windows when running signing tasks, this does not happen when running on linux via WSL.

Fails with:

Caused by: dev.sigstore.KeylessSignerException: Returned log entry was inconsistent with request
	at dev.sigstore.KeylessSigner.sign(KeylessSigner.java:343)
	at dev.sigstore.KeylessSigner.signFiles(KeylessSigner.java:449)
	at dev.sigstore.KeylessSigner.signFile(KeylessSigner.java:465)
	at dev.sigstore.sign.work.SignWorkAction.execute(SignWorkAction.kt:58)

This check is failing: https://github.com/sigstore/sigstore-java/blob/main/sigstore-java/src/main/java/dev/sigstore/KeylessSigner.java#L346-L350

Log of a local run

A forked version of the Examples workflow to run on windows, mac, and linux, with the windows runner having failed: https://github.com/keastrid/sigstore-java/actions/runs/15307366456/job/43063353325

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