Mercurial > prosody-modules
comparison mod_s2s_auth_fingerprint/README.markdown @ 1820:8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 02 Sep 2015 17:30:33 +0200 |
parents | 4d73a1a6ba68 |
children |
comparison
equal
deleted
inserted
replaced
1819:1b08597b5e6f | 1820:8de50be756e5 |
---|---|
20 ============= | 20 ============= |
21 | 21 |
22 After installing and enabling this module, you can put fingerprints of | 22 After installing and enabling this module, you can put fingerprints of |
23 remote servers in your config like this: | 23 remote servers in your config like this: |
24 | 24 |
25 s2s_auth_fingerprint_digest = "sha1" -- This is the default. Other options are "sha256" and "sha512" | 25 ``` {.lua} |
26 s2s_trusted_fingerprints = { | 26 s2s_auth_fingerprint_digest = "sha1" -- This is the default. Other options are "sha256" and "sha512" |
27 ["jabber.org"] = "11:C2:3D:87:3F:95:F8:13:F8:CA:81:33:71:36:A7:00:E0:01:95:ED"; | 27 s2s_trusted_fingerprints = { |
28 ["matthewwild.co.uk"] = { | 28 ["jabber.org"] = "11:C2:3D:87:3F:95:F8:13:F8:CA:81:33:71:36:A7:00:E0:01:95:ED"; |
29 "FD:7F:B2:B9:4C:C4:CB:E2:E7:48:FB:0D:98:11:C7:D8:4D:2A:62:AA"; | 29 ["matthewwild.co.uk"] = { |
30 "CF:F3:EC:43:A9:D5:D1:4D:D4:57:09:55:52:BC:5D:73:06:1A:A1:A0"; | 30 "FD:7F:B2:B9:4C:C4:CB:E2:E7:48:FB:0D:98:11:C7:D8:4D:2A:62:AA"; |
31 }; | 31 "CF:F3:EC:43:A9:D5:D1:4D:D4:57:09:55:52:BC:5D:73:06:1A:A1:A0"; |
32 } | 32 }; |
33 } | |
33 | 34 |
34 -- If you don't want to fall back to dialback, you can list the domains s2s_secure_domains too | 35 -- If you don't want to fall back to dialback, you can list the domains s2s_secure_domains too |
35 s2s_secure_domains = { | 36 s2s_secure_domains = { |
36 "jabber.org"; | 37 "jabber.org"; |
37 } | 38 } |
39 ``` | |
38 | 40 |
39 Compatibility | 41 Compatibility |
40 ============= | 42 ============= |
41 | 43 |
42 ------- -------------- | 44 ------- -------------- |