index
:
prosody.git
0.11
0.12
master
s2s
sasl
tls
origin/0.11
origin/0.12
origin/master
origin/s2s
origin/sasl
origin/tls
origin/vault/0.11
origin/vault/master
origin/vault/s2s
origin/vault/sasl
origin/vault/tls
unofficial mirror of the prosody mercurial project
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
util
/
jwt.lua
Commit message (
Expand
)
Author
Age
Files
Lines
*
util: Prefix module imports with prosody namespace
Kim Alvefur
2023-03-17
1
-6
/
+6
*
util.jwt: More robust ECDSA signature parsing, fail early on unexpected length
Matthew Wild
2022-09-30
1
-1
/
+5
*
util.jwt: Add support for ES512 (+ tests)
Matthew Wild
2022-09-29
1
-0
/
+1
*
util.crypto, util.jwt: Generate consistent signature sizes (via padding)
Matthew Wild
2022-09-29
1
-4
/
+4
*
util.jwt: Add new init() convenience method to obtain both signer and verifier
Matthew Wild
2022-07-11
1
-0
/
+6
*
util.jwt: Consolidate payload parsing, ensure it's always a valid object
Matthew Wild
2022-07-11
1
-11
/
+13
*
util.jwt: Provide built-in token expiry support (defaults to 3600s lifetime)
Matthew Wild
2022-07-11
1
-3
/
+28
*
util.jwt: All the algorithms (+ all the tests!)
Matthew Wild
2022-07-02
1
-5
/
+12
*
util.crypto: More digests for sign/verify, use macros for clarity/consistency
Matthew Wild
2022-07-02
1
-2
/
+2
*
util.jwt: Add support for RSA-based algorithms (RS256, PS256)
Matthew Wild
2022-07-02
1
-14
/
+35
*
util.jwt: Add support/tests for ES256 via improved API and using util.crypto
Matthew Wild
2022-07-01
1
-19
/
+121
*
util.jwt: Use constant-time comparison with expected signature
Matthew Wild
2021-05-13
1
-1
/
+2
*
util.jwt: Basic JSON Web Token library supporting HS256 tokens
Kim Alvefur
2020-02-24
1
-0
/
+50