aboutsummaryrefslogtreecommitdiffstats
path: root/util/envload.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-07-01 18:51:15 +0100
committerMatthew Wild <mwild1@gmail.com>2022-07-01 18:51:15 +0100
commitae16ddcac75cb94ea1d699b19b0bd8ed37fd5030 (patch)
tree03f4c64ca004dab7eb46d1932d5e286dcad4ed1e /util/envload.lua
parentd9ce2d5e4e6ebc7a09d71a590b1243ca5f4d5f85 (diff)
downloadprosody-ae16ddcac75cb94ea1d699b19b0bd8ed37fd5030.tar.gz
prosody-ae16ddcac75cb94ea1d699b19b0bd8ed37fd5030.zip
util.jwt: Add support/tests for ES256 via improved API and using util.crypto
In many cases code will be either signing or verifying. With asymmetric algorithms it's clearer and more efficient to just state that once, instead of passing keys (and possibly other parameters) with every sign/verify call. This also allows earlier validation of the key used. The previous (HS256-only) sign/verify methods continue to be exposed for backwards-compatibility.
Diffstat (limited to 'util/envload.lua')
0 files changed, 0 insertions, 0 deletions