Looks like it matches a public SSH key to a did
sep 1, 2025, 10:16 pm β’ 0 0 β’ view
Looks like it matches a public SSH key to a did
Gets an encoded public key from user's DID doc and wraps it in some OpenSSL nonsense so it can be fed to the `jwt` gem which verifies the token. The OpenSSL part is what I have no idea why it is this way, because it's much more than just OpenSSL::Key.new(file)β¦
OpenSSL is infamous for being complicated to use. It's not meant to be maneuvered by people who aren't experts.
I just added this comment to my current project # Emerson! (βA foolish consistency is the hobgoblin of small minds.β
I remember back in the day working with some shared secret crypto code from MIT that was sprinkled with /*XXX*/ which apparently meant βfix this laterβ