chainloop icon indicating copy to clipboard operation
chainloop copied to clipboard

"signature is invalid" error when trying to start attestation crafting

Open zaibon opened this issue 2 years ago • 0 comments

I hit an error when trying to start the attestation crafting process. The error is:

chainloop --debug attestation init
DBG loaded token from robot account
DBG Retrieving attestation definition
ERR rpc error: code = Unknown desc = signature is invalid

How I ended up in this situation:

  1. created a new workflow
  2. save robot account token
  3. update contract
  4. run attestation process in CI

It seemed the error came from my CI secret configuration. I added the wrong robot account. After creating a new robot account and updating my CI secret. Things started to work as expected.

Expected behavior: The error received could be more explicit about which signature is invalid.

zaibon avatar Aug 30 '23 14:08 zaibon