aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Expand)AuthorAgeFilesLines
* util.iterators: join: Work even with only a single iterator in the chainMatthew Wild2022-10-061-1/+2
* prosodyctl: check turn: More clearly indicate the error is from TURN serverMatthew Wild2022-10-061-1/+1
* util.jwt: More robust ECDSA signature parsing, fail early on unexpected lengthMatthew Wild2022-09-301-1/+5
* util.jwt: Add support for ES512 (+ tests)Matthew Wild2022-09-291-0/+1
* util.crypto, util.jwt: Generate consistent signature sizes (via padding)Matthew Wild2022-09-291-4/+4
* Merge 0.12->trunkKim Alvefur2022-09-151-0/+5
|\
| * util.stanza: Return nil instead of nothing (fix test with luassert >=1.9)Kim Alvefur2022-09-151-0/+5
| * luacheck: Shut up (backports 3caff1f93520, ignores module deleted in trunk)Kim Alvefur2022-05-301-2/+2
* | util.paseto: Do strict type check in pae() functionKim Alvefur2022-07-111-0/+3
* | util.paseto: Drop custom wrappers around key objectsMatthew Wild2022-07-111-46/+5
* | util.paseto: Export similar API to new util.jwt for ease and consistencyMatthew Wild2022-07-111-0/+21
* | util.paseto: Error early on invalid keysMatthew Wild2022-07-111-0/+2
* | util.paseto: Fix to decode footer before comparisonMatthew Wild2022-07-111-0/+1
* | util.jwt: Add new init() convenience method to obtain both signer and verifierMatthew Wild2022-07-111-0/+6
* | util.jwt: Consolidate payload parsing, ensure it's always a valid objectMatthew Wild2022-07-111-11/+13
* | util.jwt: Provide built-in token expiry support (defaults to 3600s lifetime)Matthew Wild2022-07-111-3/+28
* | util.jwt: All the algorithms (+ all the tests!)Matthew Wild2022-07-021-5/+12
* | util.crypto: More digests for sign/verify, use macros for clarity/consistencyMatthew Wild2022-07-021-2/+2
* | util.jwt: Add support for RSA-based algorithms (RS256, PS256)Matthew Wild2022-07-021-14/+35
* | util.jwt: Add support/tests for ES256 via improved API and using util.cryptoMatthew Wild2022-07-011-19/+121
* | util.paseto: Implementation of PASETO v4.public tokensMatthew Wild2022-06-241-0/+123
* | util.stanza: Add add_error() to simplify adding error tags to existing stanzasMatthew Wild2022-08-291-25/+31
* | util.roles: Add new utility module to consolidate role objects and methodsMatthew Wild2022-07-191-0/+100
* | util.session: Add role management methodsMatthew Wild2022-06-151-0/+6
* | util.stanza: Add method for extracting a single attribute valueKim Alvefur2022-08-171-0/+8
* | util.datetime: Remove a lineKim Alvefur2022-08-171-2/+1
* | util.datetime: Add support for sub-second precision timestampsKim Alvefur2022-08-141-7/+19
* | doap: Update XEP versions for which no code changes appear neededKim Alvefur2022-08-081-0/+1
* | various: Update IETF RFC URLs for tools.ietf.org transitionKim Alvefur2022-08-051-6/+6
* | util.sasl.scram: Add 'tls-exporter' as recognised channel binding methodKim Alvefur2022-07-271-1/+1
* | compat: Use table.pack (there since Lua 5.2) over our util.tableKim Alvefur2022-07-113-3/+3
* | compat: Remove handling of Lua 5.1 location of 'unpack' functionKim Alvefur2022-07-117-7/+7
* | Merge 0.12->trunkKim Alvefur2022-07-082-145/+168
|\|
| * util.datamapper: Improve handling of schemas with non-obvious "type"Kim Alvefur2022-07-081-10/+27
| * util.jsonschema: Fix validation to not assume presence of "type" fieldKim Alvefur2022-07-081-135/+141
* | util.envload: Remove Lua 5.1 methodKim Alvefur2022-07-051-29/+10
* | util: Remove various Lua 5.1 compatibility hacksKim Alvefur2022-07-025-31/+2
* | util.dependencies: Reject Lua 5.1, Lua 5.2 or later is now required (see #1600)Kim Alvefur2022-07-021-2/+2
* | util.dependencies: Deprecate support for Lua 5.1, this is your final warningKim Alvefur2022-06-301-1/+1
* | util.hashes: Bind BLAKE2 algoritms supported by OpenSSLKim Alvefur2020-09-101-0/+2
* | util.hashes: Expose sha224 and sha384 HMAC functionsKim Alvefur2020-11-291-0/+2
* | Merge 0.12->trunkKim Alvefur2022-06-141-1/+5
|\|
| * util.startup: Fix async waiting for last shutdown stepsKim Alvefur2022-06-141-1/+5
* | util.watchdog: Allow passing a new timeout to :reset()Matthew Wild2022-06-111-1/+4
* | util.watchdog: Allow :reset() to restart a cancelled watchdogMatthew Wild2022-06-111-5/+6
* | util.watchdog: Update to use "new" util.timer APIMatthew Wild2022-06-111-13/+16
* | util.prosodyctl.shell: Print errors in red to highlight themKim Alvefur2022-06-011-1/+8
* | util.openmetrics: Set __name field on metatables to improve error messagesKim Alvefur2022-05-301-0/+3
* | util.openmetrics: Set (previously unused, empty) metatableKim Alvefur2022-05-301-2/+2
* | util.vcard: Delete since nothing uses itKim Alvefur2022-05-301-574/+0