Skip to content
Discussion options

You must be logged in to vote

Got it.

The reason is your key: VGhpc0lzQW5CYXNlNjRLZXlGb3JMeWNoZWU=. It is too short.
If I base64 decode it and send it to hex I get:
546869734973416e4261736536344b6579466f724c7963686565 which is 52 characters or 26 bytes. Lychee need keys of length 32 bytes.

Thanks you for the heads up, I will add a check to validate the key-length.

Here is a command that generates a key of 64 bytes.

openssl rand -base64 32

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ildyria
Comment options

Answer selected by ildyria
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants