After 2 hours of trial and error, I must admit that the erlang crypto module is really confusing
#myelixirstatus
-
-
I ended up using :public_kry for parsing the PEM file, and :crypto for signing :public_key can be used for the whole thing?
-
yes, there's a sign and a verify function that wraps :crypto, probably doing exactly what you did yourself
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
as binary, but I couldnt figure out how to format the thing