Age | Commit message (Collapse) | Author |
|
This patch removes support for DANE validation of TLS certificates.
There wasn't enough support in the IRC community to push for this on the
majority of bigger IRC networks. If you believe this should be
reintroduced into irssi, then please come up with an implementation that
does not rely on the libval library. It is causing a lot of troubles for
our downstream maintainers.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
This patch adds the TLS_REC structure. This structure is used to emit
information about the TLS handshake from the core of irssi to the
front-end layers such that we can display connection information to the
user.
|
|
|
|
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.
|
|
This patch adds binary_to_hex(), which can take an input buffer and
convert it to colon-delimited hex strings suitable for printing for
fingerprints.
|
|
This patch removes the optional checks for whether to build irssi with
TLS support or not. This will allow us to ship a default configuration
file where we connect to TLS enabled IRC servers out of the box.
|
|
update INSTALL requirement: terminfo or ncurses for text frontend
|
|
Some small adjustments to the netsplit code.
|
|
Make the cap_complete field unsigned.
|
|
|
|
Fixes a problem where the field would end up as a negative number when
exposed to the perl scripts.
And move it near the other bit-packed fields so we take advantage of the
packing.
|
|
SASL: handle fragmentation
|
|
nullptr when doing module backward compat on invalid config
|
|
|
|
Expose the CAP fields to the perl scripts.
|
|
sync buf.pl
|
|
|
|
|
|
|
|
|
|
|
|
By Gabriel Campana and Adrien Guinet from Quarkslab.
|
|
/script reset can now also run the autorun scripts
|
|
|
|
|
|
|
|
|
|
Correct error/typo "You"->"Your" in help message
|
|
net_gethosterror: Handle EAI_SYSTEM ("System error") properly
|
|
Revert "Removed the obsolete SQUERY and SERVLIST commands"
|
|
Correct the prototype for the 'message private' signal.
|
|
Wrong order in the arguments in /hilight example, -mask doesn't take …
|
|
fix nick->host == NULL crash
|
|
Set the default STATUSMSG to @ instead of @+ if it's missing
|
|
Fix the tab completion for paths starting with ./
|
|
Make sure to make a copy of ERRSV content.
|
|
Otherwise we might end up showing an empty message.
Fixes #522.
|
|
|
|
Update INSTALL to reflect perl changes
|
|
|
|
This way we reload all the scripts in the autorun folder.
|