Closed clehner closed 2 years ago
Note: aud: m.uri.try_into().unwrap(),
fails when the URI is a did:key
verification method DID URL.
e.g.
thread 'tests::[...]' panicked at 'called `Result::unwrap()` on an `Err` value: CreationError { source: RiString("did:key:z6MkiTBz1ymuepAQ4HEHYSF1H8quG5GLVVQR3djdX3mDooWp#z6MkiTBz1ymuepAQ4HEHYSF1H8quG5GLVVQR3djdX3mDooWp"), error: Error(()) }', /home/cel/src/cacao-rs/src/siwe.rs:72:35
Fixed in #6, including allowing verification method DID URL in uri
.