You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Validation defaults for iat and nbf conflicts with documentation #66
Although it is interesting in terms of UX what should be done there. We want good, secure defaults for the decoding so it should probably validate those by default if possible, meaning the api of v4 was better despite the buggy implementation (#51).
I'll think about it over the next couple of days but it looks like this needs to be re-done and it is a breaking change :(
I'll welcome any input on it, here are the things I would also like to change:
Activity
Keats commentedon Nov 9, 2018
Looks like I forgot to update the docs :(
Keats commentedon Nov 9, 2018
Although it is interesting in terms of UX what should be done there. We want good, secure defaults for the decoding so it should probably validate those by default if possible, meaning the api of v4 was better despite the buggy implementation (#51).
I'll think about it over the next couple of days but it looks like this needs to be re-done and it is a breaking change :(
I'll welcome any input on it, here are the things I would also like to change:
iatof 2042-10-10 is supposed to be legit if there is nonbfsomehow.Probably a few other things but it's already a good start.
Keats commentedon Nov 9, 2018
Ah I also don't remember why Validation:algorithm is a
vecsadly...PSeitz commentedon Jan 7, 2019
There may be cases where there are multiple validation algorithms are used, but it's only secure if they are paired with their keys.
Keats commentedon Jan 10, 2019
Yes that's in the spec but I thought I changed that before, weird. Will be fixed in the next version
Keats commentedon Feb 4, 2019
iatvalidation removed for now, will open another issue to discuss the restKeats commentedon May 25, 2019
I think the validation issues are fixed in v6 so closing it