Skip to content

Bad Request for url: https://fulcio.sigstore.dev/api/v2/signingCert #376

@gaborbernat

Description

@gaborbernat

https://github.com/tox-dev/filelock/actions/runs/16941242974/job/48012593889

Retrieving signed certificate...
Traceback (most recent call last):
  File "/root/.local/lib/python3.12/site-packages/sigstore/_internal/fulcio/client.py", line 237, in post
    resp.raise_for_status()
  File "/root/.local/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://fulcio.sigstore.dev/api/v2/signingCert

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/attestations.py", line 149, in <module>
    main()
  File "/app/attestations.py", line 142, in main
    with SigningContext.production().signer(identity, cache=True) as signer:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/contextlib.py", line 137, in __enter__
    return next(self.gen)
           ^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.12/site-packages/sigstore/sign.py", line 364, in signer
    yield Signer(identity_token, self, cache)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.12/site-packages/sigstore/sign.py", line 105, in __init__
    self.__cached_signing_certificate = self._signing_cert()
                                        ^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.12/site-packages/sigstore/sign.py", line 159, in _signing_cert
    certificate_response = self._signing_ctx._fulcio.signing_cert.post(
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.12/site-packages/sigstore/_internal/fulcio/client.py", line 244, in post
    raise FulcioClientError from http_error
sigstore._internal.fulcio.client.FulcioClientError

This stops the publish entirely 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions