[ANN] Diohsc: incredibly ordinary haskell client

Martin Bays mbays at sdf.org
Sat May 30 19:11:41 BST 2020


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 '^$' | wc
724    4312   34955

Let me know if you find any bugs or other inadequacies.


More information about the Gemini mailing list