Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. |