bad signature found #34
Replies: 3 comments
-
Could you give an example of how you generated the token, imported/generated keys etc...? |
Beta Was this translation helpful? Give feedback.
0 replies
-
v4.public.eyJhY2Nlc3NfdXVpZCI6IjEyMWRmNmNiLWM1ZGQtNGFhOC05MGIyLWVhMTk4OGY5NTMyMyIsImF1dGhvcml6ZWQiOiJ0cnVlIiwiZXhwIjoiMjAyMy0wNC0xMFQxOToyODoxNiswNjowMCIsInVzZXJfaWQiOiIzOSJ9syp0sEB11Qs6SPSIPh5m0eufmBmxH3JvMCmS45OeJG0ypGrmJAju_cnIc1pF0d00yjKJ98V_9zMLlYdk8GioDQ |
Beta Was this translation helpful? Give feedback.
0 replies
-
I was looking more for the code you used to generate the token 🙂 |
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
-
parser := paseto.NewParser()
publicKey, err := paseto.NewV4AsymmetricPublicKeyFromHex(config.PAccessKey)
if err != nil {
fmt.Println(err) // panic or deal with error of invalid key
}
this err show me bad signature. but why??
Beta Was this translation helpful? Give feedback.
All reactions