Yeah as much as I had “fun” working on the self-rolled solution, there are just too many permutations on multiple dimensions (data structures, string encodings, cryptography algorithms, key formats, etc) that it’s becoming a cartesian explosion of trial and error. I got the python to elixir side working in both stacks, but the return side (back in python) has me flummoxed. JOSE appears to be exactly what I need - a set standards with actual implementations in a bunch of languages including of course, elixir, and python. Though of course, as is typical, python has too many implementations :-/
With all due thanks to @ErikNaslund I’m going to go with this as a solution.






















