Replies: 1 comment
-
Currently, you must use an ASCII key for HS256. I don't think that Caddyfile allows embedding binary. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to use Mercure with Symfony 6 and generate pusblisher / subscriber jwt key using HS256 algorith. I generated the key using php function random_bytes() and encoded the result using base64. How do I use these bytes as a key for mercure itself?.
If I put the base64 encoded string into caddyfile it will just convert characters into bytes which is not the original key.
Beta Was this translation helpful? Give feedback.
All reactions