Software /
code /
prosody
Annotate
spec/scansion/empty_bookmarks.scs @ 12953:ebe3b2f96cad
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).
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 21 Mar 2023 14:33:29 +0000 |
parent | 12593:1832b6c9c6ed |
rev | line source |
---|---|
12593
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 # mod_scansion_record on host 'localhost' recording started 2022-07-26T21:39:55Z |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 [Client] Romeo |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 password: password |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 jid: juliet@localhost/UaksS4M1xYZB |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
6 |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
7 ----- |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
8 |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
9 Romeo connects |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
10 |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
11 Romeo sends: |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
12 <iq xml:lang='en' type='get' id='bNBJLtpIJXpq'> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
13 <pubsub xmlns='http://jabber.org/protocol/pubsub'> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
14 <items node='storage:bookmarks'/> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
15 </pubsub> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
16 </iq> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
17 |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
18 Romeo receives: |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
19 <iq id='bNBJLtpIJXpq' type='error'> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
20 <error type='cancel'> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
21 <item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
22 </error> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
23 </iq> |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
24 |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
25 Romeo disconnects |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
26 |
1832b6c9c6ed
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
27 # recording ended on 2022-07-26T21:40:45Z |