1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-15 04:28:09 -04:00

Merge pull request #603 from dequis/pining-for-the-freenodes

NEWS: Avoid explicitly mentioning freenode in the pinning examples
This commit is contained in:
ailin-nemui 2017-01-06 17:08:06 +01:00 committed by GitHub
commit f97d5f2648

8
NEWS
View File

@ -39,16 +39,16 @@ v1.0.0 2017-01-03 The Irssi team <staff@irssi.org>
values like this: Start by downloading the certificate from a given IRC
server:
$ openssl s_client -connect chat.freenode.net:6697 < /dev/null 2>/dev/null | \
openssl x509 > freenode.cert
$ openssl s_client -connect irc.example.net:6697 < /dev/null 2>/dev/null | \
openssl x509 > example.cert
Find the value for -tls_pinned_cert:
$ openssl x509 -in freenode.cert -fingerprint -sha256 -noout
$ openssl x509 -in example.cert -fingerprint -sha256 -noout
Find the value for -tls_pinned_pubkey:
$ openssl x509 -in freenode.cert -pubkey -noout | \
$ openssl x509 -in example.cert -pubkey -noout | \
openssl pkey -pubin -outform der | \
openssl dgst -sha256 -c | \
tr a-z A-Z