Currently ZNC compares fingerprint of the whole certificate with the whitelist, not only the public key part. That breaks e.g. key pinning of freenode tor hidden service, which provides public key fingerprint; fp of the whole certificate changes every time letsencrypt cert is renewed.
openssl x509 -pubkey -noout < cert.crt shows the public key part of the certificate. Need to find out how to do it in C API.
Irssi seems to support this already.
Currently ZNC compares fingerprint of the whole certificate with the whitelist, not only the public key part. That breaks e.g. key pinning of [freenode tor hidden service](https://freenode.net/kb/answer/chat), which provides public key fingerprint; fp of the whole certificate changes every time letsencrypt cert is renewed.
`openssl x509 -pubkey -noout < cert.crt` shows the public key part of the certificate. Need to find out how to do it in C API.
Irssi seems to support this already.
<!-- github-sync-id:310516087 -->
The public key can also be gotten with gnutls-cli in case that is of any help for anyone.
└┌(%:~)┌- gnutls-cli chat.freenode.net:6697
...
Public Key ID:
sha1:f67d915f48fe77acb59231d32e7bb23db0430afd
sha256:b575b498f1712f0042577568179b92fc4455ac198bdea6fae7fe3ed25046964e
...
The public key can also be gotten with `gnutls-cli` in case that is of any help for anyone.
```
└┌(%:~)┌- gnutls-cli chat.freenode.net:6697
...
Public Key ID:
sha1:f67d915f48fe77acb59231d32e7bb23db0430afd
sha256:b575b498f1712f0042577568179b92fc4455ac198bdea6fae7fe3ed25046964e
...
```
<!-- github-comment-id:501251052 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Currently ZNC compares fingerprint of the whole certificate with the whitelist, not only the public key part. That breaks e.g. key pinning of freenode tor hidden service, which provides public key fingerprint; fp of the whole certificate changes every time letsencrypt cert is renewed.
openssl x509 -pubkey -noout < cert.crtshows the public key part of the certificate. Need to find out how to do it in C API.Irssi seems to support this already.
This will be really helpful for Freenode+Tor users like me. 👍
same here, would be really helpful
The public key can also be gotten with
gnutls-cliin case that is of any help for anyone.