aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-07-11 14:30:39 +0100
committerMatthew Wild <mwild1@gmail.com>2022-07-11 14:30:39 +0100
commite12c9a83df999049970403cbbd6a6427f79f889e (patch)
tree33c072a98178621723e48a408b78ac42bf9e09bf /prosody
parentae070865028fdee8285e924a63689ad88871ab6b (diff)
downloadprosody-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 'prosody')
0 files changed, 0 insertions, 0 deletions