Repository navigation
SekurIRCd 1.2.5
Pinned TLS server links
Pin each other's TLS certificate with fingerprint = "sha256:..." in [[links.peers]] (needs [links] tls = true).
- Self-signed certificates work without
tls_insecure_skip_verify. - A server that doesn't show the pinned certificate is refused before any password is sent or checked: the dialing side checks the hub's certificate before
PASS, and the hub now asks for the dialer's certificate (its[tls]cert) and checks it before the password. - With a fingerprint the password is optional, so a link can run with no plain-text secret on either server.
- Turning on
[links] tlsno longer cuts off the services daemon (it has no TLS): plain links are still accepted from127.0.0.1, and only TLS from anywhere else. tools/linkmgmt.py fingerprintprints this server's fingerprint,test HOST PORT --tlsshows the other server's, and theadd/editwizard offers pinning.
Passwords and file permissions
tools/confcheck.py --fix --writeturns plain-text passwords into scryptpassword_hashlines: operators,die_password/restart_password, and link peers the server only accepts from. The same passwords keep working. The ircd logs a reminder at start and on/REHASHwhile any are left. Delete the.pre-fix-*backup once/OPERworks: it still holds the old passwords.confcheckwarns about configs, the TLS key, account/ChanServ stores and--fixbackups that other local users can read or change, with the exactchmod/chownfor each case (including when the daemon runs as another user).--fixbackups are now0600.
Upgrading
Nothing to convert. Existing links keep working unchanged; pinning is opt-in. Optionally run tools/confcheck.py to see plain-text passwords and file-permission warnings.
132 end-to-end integration tests, including pinned links, wrong pins on either side, and services over loopback.
SHA-256 sekurircd-1.2.5.tar.gz: 6a06c48d3790a6c9caef08b8c5128c3587e1003bbd2ad3b00386806a0549bf80