diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-07-11 14:30:39 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-07-11 14:30:39 +0100 |
commit | e12c9a83df999049970403cbbd6a6427f79f889e (patch) | |
tree | 33c072a98178621723e48a408b78ac42bf9e09bf /plugins/mod_authz_internal.lua | |
parent | ae070865028fdee8285e924a63689ad88871ab6b (diff) | |
download | prosody-e12c9a83df999049970403cbbd6a6427f79f889e.tar.gz prosody-e12c9a83df999049970403cbbd6a6427f79f889e.zip |
util.paseto: Drop custom wrappers around key objects
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.
Diffstat (limited to 'plugins/mod_authz_internal.lua')
0 files changed, 0 insertions, 0 deletions