Hey there! I'm just trying out your library to validate ATProto JWT verification tokens and really appreciating the work on this. ๐
So far I can resolve the DID of a handle, and I can resolve the user's DID document, but I don't know how to convert the DID document's verification method to the KeyData that is needed by the JWT verify() function.
Any pointers would be appreciated, and it seems like it'd be handy to have a helper function on VerificationMethod to attempt to get a KeyData from it, if possible.
Nevermind, I found it:
identify_key(). I found out from perplexity that the format was the same as thedid:key:format, which gave me enough of a hint to look at the code example you had fordid:key.Thanks again for the library!