From rj1 to ~emersion/soju-dev
Hi,
I added support for both SHA256 and SHA512 hashes to be used as
fingerprints. When a user adds a fingerprint, it checks the string
length and prepends sha-256: or sha-512: to it's entry in the database,
respectively.
I fixed the database migration stuff as indicated. I've only tested it
using sqlite.
It will now check against every certificate the server offers until it
finds a match.
---
[message trimmed]
From rj1 to ~emersion/soju-dev
Hi, I added SSL fingerprint pinning functionality to soju. I need this feature in order connect to some IRC servers whose admins prefer to use self-signed certificates. --- database/database.go | 1 + database/postgres.go | 21 ++++++++++++--------- database/postgres_test.go | 1 + database/sqlite.go | 22 +++++++++++++--------- database/sqlite_test.go | 1 + doc/soju.1.scd | 5 +++++ service.go | 10 +++++++--- [message trimmed]
From rj1 to ~emersion/public-inbox
I've begun the process of rendering "ANSI" escape codes in messages as per https://todo.sr.ht/~emersion/gamja/11. Right now only regular PRIVMSGs are being rendered (e.g. not actions/notices, etc). I don't really understand the significance of linkify'ing. I would love some feedback in order to be able to implement that properly. If you could provide feedback so that I could make this patch acceptable that would be great. As it is, I have an instance of this running and it is working great for a small number of users on a private IRC server. Thanks for the great client! --- components/buffer.js | 4 +- lib/ansi.js | 177 ++++++++++ [message trimmed]