ApeWorX / ape-aws

Plugin to interact with AWS for transactions on the Ethereum Blockchain
Apache License 2.0
2 stars 0 forks source link

feat: add accounts python file #3

Closed johnson2427 closed 4 months ago

johnson2427 commented 5 months ago

What I did

Adding aws kms interface capability

fixes: #

How I did it

boto3 API calls

How to verify it

TBD

Checklist

johnson2427 commented 5 months ago

The message is DER encoded. From the looks of it, the first value of the signature is a standard (48, sometimes other values), and the second tells you how many characters define the signature. This value can change.

AWS uses asn1 tools to compile the information given to the signer, then decodes with that.

fubuloubu commented 4 months ago

Actually kinda of a neat find, you can use this to "type check" your dicts and kwargs (and some values) with boto usage: https://pypi.org/project/boto3-stubs/

fubuloubu commented 4 months ago

Be nice to add a few tests for signing, then add py 3.10 and 3.11 (3.12 if it's easy)

You can drop 3.8 if you want, Ape v0.8 is gonna get rid of it and it doesn't matter for use with Silverback anyways (3.9 for that matter too)