Mercurial > prosody-modules
annotate mod_s2s_auth_monkeysphere/README.markdown @ 4651:8231774f5bfd
mod_cloud_notify_encrypted: Ensure body substring remains valid UTF-8
The `body:sub()` call risks splitting the string in the middle of a
multi-byte UTF-8 sequence. This should have been caught by util.stanza
validation, but that would have caused some havoc, at the very least causing
the notification to not be sent.
There have been no reports of this happening. Likely because this module
isn't widely deployed among users with languages that use many longer UTF-8
sequences.
The util.encodings.utf8.valid() function is O(n) where only the last
sequence really needs to be checked, but it's in C and expected to be fast.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 22 Aug 2021 13:22:59 +0200 |
parents | 8d1141025b43 |
children |
rev | line source |
---|---|
1803 | 1 --- |
2 labels: | |
3 - 'Stage-Alpha' | |
4 - 'Type-S2SAuth' | |
5 summary: Monkeysphere certificate checking for s2s | |
3392
c8c9c940ec2d
mod_s2s_auth_monkeysphere/README: Normalize markdown
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
6 --- |
1803 | 7 |
3392
c8c9c940ec2d
mod_s2s_auth_monkeysphere/README: Normalize markdown
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
8 ## Introduction |
1803 | 9 |
10 [Monkeysphere](http://web.monkeysphere.info/) is a project aiming to | |
11 introduce PGP's web of trust to protocols such as SSH and TLS (which | |
12 XMPP uses). | |
13 | |
3392
c8c9c940ec2d
mod_s2s_auth_monkeysphere/README: Normalize markdown
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
14 ## Details |
1803 | 15 |
16 This module is currently just a prototype, it has numerous issues and is | |
17 **not** suitable for production use. | |
18 | |
3392
c8c9c940ec2d
mod_s2s_auth_monkeysphere/README: Normalize markdown
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
19 ## Compatibility |
1803 | 20 |
3393
8d1141025b43
mod_s2s_auth_monkeysphere: Remove blocking mode (simplifes code) (not tested)
Kim Alvefur <zash@zash.se>
parents:
3392
diff
changeset
|
21 ------- ----------------------------- |
8d1141025b43
mod_s2s_auth_monkeysphere: Remove blocking mode (simplifes code) (not tested)
Kim Alvefur <zash@zash.se>
parents:
3392
diff
changeset
|
22 trunk Works (not tested recently) |
8d1141025b43
mod_s2s_auth_monkeysphere: Remove blocking mode (simplifes code) (not tested)
Kim Alvefur <zash@zash.se>
parents:
3392
diff
changeset
|
23 0.11 Works (not tested) |
8d1141025b43
mod_s2s_auth_monkeysphere: Remove blocking mode (simplifes code) (not tested)
Kim Alvefur <zash@zash.se>
parents:
3392
diff
changeset
|
24 0.10 Does not work |
8d1141025b43
mod_s2s_auth_monkeysphere: Remove blocking mode (simplifes code) (not tested)
Kim Alvefur <zash@zash.se>
parents:
3392
diff
changeset
|
25 0.9 Does not work |
8d1141025b43
mod_s2s_auth_monkeysphere: Remove blocking mode (simplifes code) (not tested)
Kim Alvefur <zash@zash.se>
parents:
3392
diff
changeset
|
26 ------- ----------------------------- |