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

218 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
LemonBoy
f492ec8abf Document the addition of the -autorun switch for /script reset. 2016-09-11 17:05:03 +02:00
Jari Matilainen
ccf1ca124b Wrong order in the arguments in /hilight example, -mask doesn't take a parameter 2016-07-17 17:28:21 +02:00
LemonBoy
798ce006c2 Merge pull request #498 from vague666/add_modify_functions
Add modify to /channel, /server and /network
2016-06-21 22:46:52 +02:00
Jari Matilainen
054a98b0ac Add info about MODIFY to help files 2016-06-18 17:59:59 +02:00
ailin-nemui
cf98260ede Merge pull request #476 from isundil/master
Add an option to make /hilight case sensitive
2016-04-30 21:46:18 +02:00
dennisschagt
b24921db7a Correct error/typo "You"->"Your" in help message 2016-04-30 09:44:26 +02:00
B Thibault
ddd5416430 changed command-line -case to -matchcase 2016-04-29 11:00:34 +02:00
B Thibault
d8a6e66699 Ref #421 (Add an option to make /hilight case sensitive)
Allow use of /hilight -case exAMPle (compatible with other options)
Added matchcase to hilight config file (exemple: { text = exAMPle; matchcase = yes; } )
2016-04-29 01:01:34 +02:00
ailin-nemui
1349755bb5 Merge pull request #453 from LemonBoy/dcc-quote
Support quoted filenames in some /DCC commands
2016-04-05 22:39:54 +02:00
ailin-nemui
ec4ecd844b Revert "Removed the obsolete SQUERY and SERVLIST commands"
This reverts commit 4beebe3238.
2016-03-29 22:41:01 +02:00
LemonBoy
be93c8d5be Update the documentation about DCC 2016-03-22 16:03:05 +01:00
ailin-nemui
7baf3a28bb correct quoting in /help dcc 2016-03-20 22:43:12 +01:00
Wieland Hoffmann
ca96444784 DCC close always requires a type 2015-12-09 11:21:51 +01:00
ailin-nemui
18989e76db Merge pull request #304 from LemonBoy/sasl_user_options
Allow the user to set and modify the SASL parameters
2015-09-26 19:07:54 +02:00
LemonBoy
1a2c479bc0 Allow the user to set and modify the SASL parameters
The /NETWORK ADD command now is able to modify the SASL mechanism, the
username and the password on a chatnet basis.
2015-09-26 18:53:10 +02:00
Ailin Nemui
d3df165e0b Improve the WINDOW help
Properly describe the window command.
Make help sort order deterministic.
2015-09-23 14:21:27 +02:00
ailin-nemui
f5f3d7cc98 Revert "Network and IPv{4,6} related changes" 2015-09-22 21:59:17 +02:00
LemonBoy
564829610d Ding dong the switch is dead 2015-09-21 14:55:35 +02:00
dequis
a47f45b5b7 Rename /proxy command to /irssiproxy for clarity 2015-06-14 11:57:11 -03:00
dequis
29fb0d9802 Merge branch 'master' into irssiproxy
Conflicts:
	src/irc/proxy/listen.c
2015-06-14 10:42:41 -03:00
Geert Hauwaerts
a79f150a76 Clarify the help for /LIST (#228)
Clarify the help for /LIST (#228)
2015-06-12 17:23:49 +02:00
Filip Szczepański
ae742f3f13 lastlog doc fix
Only the filename can come right after `-file`. Having `-force` in that position causes an `Irssi: Could not open lastlog: No such file or directory` error.
2015-05-14 13:06:50 +01: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
Hans Nielsen
7beffbdcc5 Add help files for proxy module 2015-02-24 19:53:23 -08:00
Vesa Pirila
cd5a571fd8 Added customization possibility for the lastlog date format, lastlog_date 2015-02-08 16:58:30 +02:00
Vesa Pirila
466166010b Added a -date parameter to /lastlog to prepend each row with the row's date 2015-02-08 13:00:51 +02:00
ailin-nemui
a26a909af0 Fix the lastlog help
Correct some confusing inaccuracies and document a parameters that got lost on the rewrite.
2015-02-01 19:21:59 +01:00
dequis
7ca9c86445 /help lastlog: Clarify usage of -<level> parameter 2015-01-31 11:49:01 -03:00
Geert Hauwaerts
08b390b11b Documentation fix for #185
Documentation fix for #185
2014-12-08 21:28:02 +01:00
Alexander Færøy
bbd7333924 Merge pull request #171 from vlajos/typofixes-vlajos-20141108
typo fixes - https://github.com/vlajos/misspell_fixer
2014-12-06 16:09:11 +01: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
Veres Lajos
f285332c5b typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-08 22:26:53 +00:00
Matt Lewandowsky
3ea2a8dab8 Remove duplicate example from ignore.in
Duplicated line inserted in commit 66f5fb6. Reported by @sharethebug on IRC.
2014-10-27 03:44:28 -07:00
David Leadbeater
7938af8092 Actually fix the params for /SERVER REMOVE 2014-10-20 21:11:20 +01:00
dequis
7847bdf67c Tiny fix to the param order in the /SERVER REMOVE help 2014-10-15 23:52:55 -03:00
Geert Hauwaerts
22d4dc729e Updated ALIAS help
Updated ALIAS help.
2014-08-07 23:36:53 +02:00
Geert Hauwaerts
71ab0fbda6 Applied grammar and styling corrections
Applied grammar and styling corrections.
2014-08-07 22:00:40 +02:00
Geert Hauwaerts
f0aa2d2049 Syntax rewrite of U-Z commands
Rewrote the syntax documentation of U-Z commands.
2014-08-05 22:00:30 +02:00
Geert Hauwaerts
1933c92532 Fixed a typo in the cmdmax argument
Fixed a typo in the cmdmax argument.
2014-07-30 23:27:41 +02:00
Geert Hauwaerts
a775a7c229 Updated the documentation for LIST
Updated the documentation for LIST.
2014-07-30 23:12:39 +02:00
Geert Hauwaerts
822db3090f Syntax rewrite for S-commands
Rewrote the syntax documentation for all commands starting with S.
2014-07-30 14:29:06 +02:00
Geert Hauwaerts
4beebe3238 Removed the obsolete SQUERY and SERVLIST commands
Removed the obsolete SQUERY and SERVLIST commands.
2014-07-30 13:02:26 +02:00
tomaw
cb6266f212 Fix typo in help for network command 2014-07-25 17:05:19 +01:00
Geert Hauwaerts
6e68b83723 Syntax rewrite for R-commands
Rewrote the syntax documentation for all commands starting with the
letter R.
2014-07-15 19:52:56 +02:00
Geert Hauwaerts
dde8540e3e Removed the obsolete RPING command
The RPING command is obsolete.
2014-07-14 20:38:01 +02:00
Geert Hauwaerts
fcee49a441 Fixed an example of QUOTE
Fixed an example of QUOTE
2014-07-13 14:10:40 +02:00
Geert Hauwaerts
9fd1e2f5da Syntax documentation rewrite for Q-commands
Rewrote the syntax documentation for all commands starting with the
letter Q.
2014-07-12 18:46:44 +02:00