ecadlabs / signatory

Signatory - A Tezos Remote Signer for signing block-chain operations with private keys using YubiHSM, AWS, GCP, Ledger's or Azure Key Vault
https://signatory.io
Apache License 2.0
62 stars 18 forks source link

DAL attestation is not working with Tezos Bakers #505

Open michaelkernaghan opened 1 month ago

michaelkernaghan commented 1 month ago

use v1.1.8-beta1 Set up signatory with signatory.yaml

server:
  address: :6732
  utility_address: :9583

vaults:
  local_secret:
    driver: file
    config:
      file: /etc/secret.json

tezos:
  tz1PZY3tEWmXGasYeehXYqwXuw2Z3iZ6QDnA:
    log_payloads: true
    allow:
      block:
      endorsement:
      preendorsement:
      dal_publish_commitment:
      attestation_with_dal:
      generic:
        - transaction
        - reveal
        - delegation

When running Baker with a DAL, get this error in baker logs

Oct 15 09:38:45.557: unable to sign attestation for mykey (tz1PZY3tEWmXGasYeehXYqwXuw2Z3iZ6QDnA)
Oct 15 09:38:45.557:   at level 8562106, round 0 --
Oct 15 09:38:45.557:   Error:
Oct 15 09:38:45.557:     Rpc request failed:
Oct 15 09:38:45.557:        - meth: POST
Oct 15 09:38:45.557:        - uri: http://localhost:6732/keys/tz1PZY3tEWmXGasYeehXYqwXuw2Z3iZ6QDnA
Oct 15 09:38:45.557:        - error: Oops! It looks like we forged an invalid HTTP request.
Oct 15 09:38:45.557:                   [{"id":"failure","kind":"temporary","msg":"gotez: unknown tag 23"}]
Oct 15 09:38:45.557:
Oct 15 09:38:45.557: