This PR enables the pkh-ethereum CACAO verifier to verify SIWE messages that have the ethereum address in the iss field encoded using EIP-55, while retaining support for lower case addresses.
In addition it would be desirable to change the default behavior of generated SIWE messages for CACAO to use eip55 by default since the spec says the address "Must" be encoded using eip55. However, since the did-session package uses @ceramicnetwork packages that depend on a released version of @didtools it's not possible to make this change now before the verification support has been rolled out.
This PR enables the pkh-ethereum CACAO verifier to verify SIWE messages that have the ethereum address in the
iss
field encoded using EIP-55, while retaining support for lower case addresses.In addition it would be desirable to change the default behavior of generated SIWE messages for CACAO to use eip55 by default since the spec says the address "Must" be encoded using eip55. However, since the
did-session
package uses@ceramicnetwork
packages that depend on a released version of@didtools
it's not possible to make this change now before the verification support has been rolled out.This PR fixes #173