Hi Friends!
We would like to use private key for wallet in Amazon KMS. This tool generates key inside and then we can send data to it to be signed, for example serialized transaction.
KMS seem to support key type ECC_SECG_P256K1 with signing ECDSA_SHA_256
SUI allows seemingly corresponding secp256k1 key type.
However it is said that since recent changes transactions are hashed with blake2b
before signing.
Meanwhile KMS seemingly uses sha256
for the same purpose. Hence signature is wrong.
Is there a way to change hashing method?