[ANN] Diohsc: incredibly ordinary haskell client
- 📧 Messages: 3
- 🗣️ Authors: 2
- 📅 First Message: 2020-05-30 18:11
- 📅 Last Message: 2020-05-31 07:48
1. Martin Bays (mbays (a) sdf.org)
- 📅 Sent: 2020-05-30 18:11
- 📧 Message 1 of 3
I hacked together a little haskell client:
gemini://gemini.thegonz.net/diohsc/
https://repo.or.cz/diohsc.git
It implements everything except client certificates. Those may get added
at some point.
For now at least, the interface is line-based, similar to AV-98.
For TLS, it uses the rather nice pure haskell libraries (tls, x509,
cryptonite) by Vincent Hanquez. It allows a mix of TOFU and trusting
specified CAs.
Currently it's tested only on my linux machine, but in theory it should
be pretty portable.
The code is fairly terse:
$ grep -hv '^--' *.hs | grep -v '^