openlawteam / ethers-gcp-kms-signer

Ethers.js Signer that connects to GCP KMS
https://www.npmjs.com/package/ethers-gcp-kms-signer
MIT License
40 stars 22 forks source link

Software protection level #7

Closed MahmoudHigazy closed 1 year ago

MahmoudHigazy commented 1 year ago

Is there any way to sign the transaction with a key with a software protection level?

fforbeck commented 1 year ago

Is there any way to sign the transaction with a key with a software protection level?

I don't think it is possible in GCP. The signing relies on secp256k1 algorithm, and GCP requires HSM protection level to enable the secp256k1 algorithm.