Software /
code /
prosody
File
spec/scansion/empty_bookmarks.scs @ 12713:52eead170bb8
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.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 11 Jul 2022 14:30:39 +0100 |
parent | 12593:1832b6c9c6ed |
line wrap: on
line source
# mod_scansion_record on host 'localhost' recording started 2022-07-26T21:39:55Z [Client] Romeo password: password jid: juliet@localhost/UaksS4M1xYZB ----- Romeo connects Romeo sends: <iq xml:lang='en' type='get' id='bNBJLtpIJXpq'> <pubsub xmlns='http://jabber.org/protocol/pubsub'> <items node='storage:bookmarks'/> </pubsub> </iq> Romeo receives: <iq id='bNBJLtpIJXpq' type='error'> <error type='cancel'> <item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> </error> </iq> Romeo disconnects # recording ended on 2022-07-26T21:40:45Z