Closed techport-om closed 1 month ago
Hey thanks for finding that and the offer for a PR. Feel free to take a stab at it and reach out with any questions. Much appreciated!
I was unable to reproduce this. I wrote a test to check for this but it provides an error in the result as expected. If you've got an example I can repro from I'll be happy to look into it again.
Describe the bug While testing i discovered a case where the library will panic instead of throwing an error. Explicitly while attempting a wrong token "v4.local.1234".
The error is
To Reproduce just try to decrypt "v4.local.1234"
Expected behavior i was expecting to catch the error same as other errors.
Additional context I think this problem could be solved by checking the length of the third part. I am interested to create a PR for this as first contribution.