ceramicnetwork / js-did

A simple interface to interact with DIDs that conform to the DID-provider interface.
Other
95 stars 28 forks source link

fix: make SIWE default to EIP55 #193

Closed oed closed 1 month ago

oed commented 1 month ago

A while back we updated the @didtools/cacao package to be able to verify SIWE messages with both eip55 encoded ethereum addresses as well as lower case ones. This is because the SIWE spec requires the address to be eip55. We needed to roll this change out to @ceramicnetwork/* packages before we could change the default behavior to sign eip55 messages from the pkh-ethereum package. This PR makes this change.