1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
Commit Graph

23 Commits

Author SHA1 Message Date
Alexander Færøy
5146ce9631
Add x509 certificate and public key pinning support.
This patch adds two new options to /CONNECT and /SERVER to let the user
pin either an x509 certificate and/or the public key of a given server.

It is possible to fetch the certificate outside of Irssi itself to
verify the checksum. To fetch the certificate call:

    $ openssl s_client -connect chat.freenode.net:6697 < /dev/null 2>/dev/null | \
      openssl x509 > freenode.cert

This will download chat.freenode.net:6697's TLS certificate and put it into the
file freenode.cert.

-tls_pinned_cert
----------------

This option allows you to specify the SHA-256 hash of the x509
certificate. When succesfully connected to the server, irssi will verify
that the given server certificate matches the pin set by the user.

The SHA-256 hash of a given certificate can be verified outside of irssi
using the OpenSSL command line tool:

    $ openssl x509 -in freenode.cert -fingerprint -sha256 -noout

-tls_pinned_pubkey
------------------

This option allows you to specify the SHA-256 hash of the subject public key
information section of the server certificate. This section contains both the
cryptographic parameters for the public key, but also information about the
algorithm used together with the public key parameters.

When succesfully connected to the server, irssi will verify that the
given public key matches the pin set by the user.

The SHA-256 hash of a public key can be verified outside of irssi using
the OpenSSL command line tool:

    $ openssl x509 -in freenode.cert -pubkey -noout | \
      openssl pkey -pubin -outform der | \
      openssl dgst -sha256 -c | \
      tr a-z A-Z

It is possible to specify both -tls_pinned_cert and -tls_pinned_pubkey
together.
2016-10-22 22:01:50 +02:00
Alexander Færøy
2be7289085
Rename SSL to TLS.
This patch changes the internal name of SSL to TLS. We also add -tls_*
options to /CONNECT and /SERVER, but make sure that the -ssl_* versions
of the commands continue to work like before.
2016-10-22 20:36:50 +02:00
Haw Loeung
9f77dd802d trivial: Minor cosmetic changes fixing docs as per review from ahf. 2015-04-18 13:53:07 +10:00
Haw Loeung
50e955e342 ssl: Add option to specify SSL cipher suite preference. 2015-04-14 18:07:35 +10:00
dequis
0bba34bbe9 Fix -ssl_pass documentation in /server and /connect
Copied text from 68f8229 (SVN r5231)
2014-11-14 03:46:02 -03:00
Geert Hauwaerts
0885282294 Replaced google.com with irssi.org examples
Replaced google.com with irssi.org examples.
2014-07-06 18:53:05 +02:00
Geert Hauwaerts
074735db08 New syntax documentation for NETWORK and SERVER
Rewrote the syntax documentation for NETWORK and SERVER
2014-07-06 18:17:05 +02:00
Geert Hauwaerts
591e10b3b6 Syntax documentation rewrite for H-I-commands 2014-07-05 22:16:35 +02:00
richlv
940566b111 Update connect.in
add trailing dot for consistency; mention that existing connections are kept
2014-07-05 20:47:06 +03:00
Geert Hauwaerts
037fae0ed5 Syntax format changes for A-C commands
Updated the file format template for commands A through C.
2014-07-03 21:41:10 +02:00
Geert Hauwaerts
3f79c8553c Syntax documentation rewrite for C-commands
Rewrote the syntax documentation for all the commands starting with the
letter C.
2014-07-03 17:41:15 +02:00
Alexander Færøy
68f8229373 Add -ssl_pass to /connect and /server
Fixes: Bug #305

git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5231 dbcabf3a-b0e7-0310-adc4-f8d773084564
2014-01-11 19:53:17 +00:00
Alexander Færøy
796134ffbd Add -noautosendcmd to /SERVER and /CONNECT.
Passing this option will force Irssi to not execute the content of the
autosendcmd chatnet-setting upon connect.

Fixes: #738


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5209 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-11-21 21:27:58 +00:00
Jilles Tjoelker
10ae40c368 Various updates/enhancements/fixes to the help files.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4545 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-08 15:59:02 +00:00
Timo Sirainen
ab3ba54ab4 s/ircnet/network/ - patch by Joost Vunderink
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3270 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-11 21:31:49 +00:00
Timo Sirainen
0092feca56 ssl changes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3149 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 18:03:17 +00:00
Timo Sirainen
5bf764ac14 doc/syntax updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3020 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21 18:34:54 +00:00
Timo Sirainen
a5e01823c9 SSL updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2892 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 22:06:37 +00:00
Timo Sirainen
24c83dcfc4 updated see also
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2678 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-14 15:43:17 +00:00
Timo Sirainen
185826ccf5 added -! option help, by c0ffee
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2536 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-06 14:43:42 +00:00
Timo Sirainen
4c7b07ed3f IPv6 fixes. Everything now keeps both v4 and v6 addresses in memory and
at connect() time it's decided which one should be used.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1334 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 01:47:13 +00:00
Timo Sirainen
83b03a1b4b updated
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@600 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-13 15:24:23 +00:00
Timo Sirainen
d9f9b64c76 Help files by lite
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@536 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-26 17:52:19 +00:00