aboutsummaryrefslogtreecommitdiffstats
path: root/net/websocket
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2023-03-21 14:33:29 +0000
committerMatthew Wild <mwild1@gmail.com>2023-03-21 14:33:29 +0000
commitfc80e83b42c04f8b3407487a97e663ae0b4d82fc (patch)
treea5b41779188a8c75e15d40718eecd7f4db9b5f06 /net/websocket
parent5019bacff6553fdaa8e0d9eab836c4cf83dfbe52 (diff)
downloadprosody-fc80e83b42c04f8b3407487a97e663ae0b4d82fc.tar.gz
prosody-fc80e83b42c04f8b3407487a97e663ae0b4d82fc.zip
mod_tokenauth: Switch to new token format (invalidates existing tokens!)
The new format has the following properties: - 5 bytes longer than the previous format - The token now has separate 'id' and 'secret' parts - the token itself is no longer stored in the DB, and the secret part is hashed - The only variable length field (JID) has been moved to the end - The 'secret-token:' prefix (RFC 8959) is now included Compatibility with the old token format was not maintained, and all previously issued tokens are invalid after this commit (they will be removed from the DB if used).
Diffstat (limited to 'net/websocket')
0 files changed, 0 insertions, 0 deletions