You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Identity#sign is a synchronous function, but it should be async.
This is because the function may need to perform I/O operations, such as using AWS KMS or another service to sign the message keeping the private key secure.
Do you think it would be better to make the sign function async?
For example, I'd like to add another implementation of Identity trait for AWS KMS like this:
async
sign
function in Identity traitIdentity#sign is a synchronous function, but it should be async.
This is because the function may need to perform I/O operations, such as using AWS KMS or another service to sign the message keeping the private key secure.
Do you think it would be better to make the
sign
function async?For example, I'd like to add another implementation of
Identity
trait for AWS KMS like this:The text was updated successfully, but these errors were encountered: