Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | spec: Suppress some harmless luacheck warnings in tests | Matthew Wild | 2023-01-13 | 1 | -0/+1 |
| | |||||
* | util.paseto: Add support for v3.local tokens | Matthew Wild | 2023-01-13 | 1 | -18/+191 |
| | |||||
* | util.paseto: Drop custom wrappers around key objects | Matthew Wild | 2022-07-11 | 1 | -1/+1 |
| | | | | | | | | | | The PASETO spec recommends - no, *requires* - that implementations enforce type safety for keys, and e.g. do not pass them around as arbitrary byte strings. Typed wrapper objects are recommended. I originally followed this advice when starting the lib. However, key wrapping and type safety is now also a feature of util.crypto. All we're doing is duplicating it unnecessarily with this additional wrapper code. | ||||
* | util.paseto: Add tests based on official PASETO test vectors | Matthew Wild | 2022-07-11 | 1 | -0/+118 |
Unfortunately there are only a few relevant ones, but they did help catch some bugs. |