Move images, and add SSL page
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 632 B After Width: | Height: | Size: 632 B |
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 881 B After Width: | Height: | Size: 881 B |
Before Width: | Height: | Size: 712 B After Width: | Height: | Size: 712 B |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
@ -15,6 +15,7 @@ Contents:
|
|||
themes
|
||||
commands
|
||||
dev/index
|
||||
misc/index
|
||||
|
||||
..
|
||||
configure
|
||||
|
|
22
doc/source/misc/index.rst
Normal file
|
@ -0,0 +1,22 @@
|
|||
Miscellaneous topics
|
||||
====================
|
||||
|
||||
Contents:
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
ssl
|
||||
|
||||
|
||||
..
|
||||
configure
|
||||
ssl
|
||||
usage
|
||||
themes
|
||||
keys
|
||||
plugins
|
||||
misc
|
||||
xep
|
||||
dev
|
||||
|
60
doc/source/misc/ssl.rst
Normal file
|
@ -0,0 +1,60 @@
|
|||
SSL Management
|
||||
==============
|
||||
|
||||
Starting from version 0.7.5, poezio offers some options to check the validity
|
||||
of a X.509 certificate.
|
||||
|
||||
TOFU
|
||||
----
|
||||
|
||||
The default handling method is the `TOFU/TUFU`_
|
||||
method. At your first connection, poezio will save the hash of the certificate
|
||||
received, and will compare the received one and the first one for the next
|
||||
connections.
|
||||
|
||||
|
||||
If you are paranoid (or run poezio for the first time in an unsafe
|
||||
environment), you can set the _certificate_ value of your config file yourself
|
||||
(the hash, not colon-separated).
|
||||
|
||||
|
||||
If the certificate is not the same, poezio will show an error message and wait
|
||||
for confirmation:
|
||||
|
||||
.. figure:: ../images/ssl_warning.png
|
||||
:alt: Warning message
|
||||
|
||||
If you press y, the change is validated an poezio will match the next certs
|
||||
with the accepted one.
|
||||
|
||||
If you press n, you will get the confirmation that the change has been
|
||||
refused, and you will be disconnected.
|
||||
|
||||
CA-Based
|
||||
--------
|
||||
|
||||
If you are connecting to a large server that has several front-facing
|
||||
endpoints, you might be bothered by having to validate the change each time,
|
||||
and you may want to check only if it the same authority delivered the
|
||||
certificate.
|
||||
|
||||
You can then set the *ca_cert_path* option to the path of a file containing
|
||||
the validation chain in `PEM format`_ ; those certificates are usually in
|
||||
/usr/share/ca-certificates/ but it may vary depending of your distribution.
|
||||
|
||||
|
||||
If the authority does not match when connecting, you should be disconnected.
|
||||
|
||||
None
|
||||
----
|
||||
|
||||
If you do not want to bother with certificate validation at all (which can be
|
||||
the case when you run poezio on the same computer as your jabber server), you
|
||||
can set the *ignore_certificate* value to true, and let the *ca_cert_path*
|
||||
option empty (or even remove it).
|
||||
|
||||
.. warning:: Only do this if you know what you are doing, or you will be open
|
||||
to Man in The Middle attacks!
|
||||
|
||||
.. _TOFU/TUFU: https://en.wikipedia.org/wiki/User:Dotdotike/Trust_Upon_First_Use
|
||||
.. _PEM format: https://tools.ietf.org/html/rfc1422.html
|
|
@ -69,7 +69,7 @@ text white on black by default, a fg_color of -1 is white, and a bg_color
|
|||
of -1 is black). If it’s between 0 and 256 it represents one of the colors
|
||||
on the image:
|
||||
|
||||
.. figure:: ../images/theme_256_colors.png
|
||||
.. figure:: ./images/theme_256_colors.png
|
||||
:alt: The list of all 256 colors
|
||||
|
||||
The list of all 256 colors
|
||||
|
|