2020-06-17 Tiny Gemini Client in Bash
This defines the function โgeminiโ such that you can visit a Gemini URL from the command line.
I should write another one that uses a client certificate, too. ๐
And hereโs an uploader using Titan.
Hereโs how to call it:
I put these two functions into a git repo.
โ#Bash โ#Gemini
Comments
(Please contact me if you want to remove your comment.)
โ
I guess the URL schema is superfluous. ๐
If somebody uses a client certificate with a common name set, we could use this to save a username when saving pages. An excellent way to self-identify.
Sadly, on the server side, I have not found a way to learn anything about the client certificate used. ๐
โ Alex Schroeder 2020-06-17 21:41 UTC
---
I depends upon the library you are using for TLS. I use libtls, which makes it not only easy to use TLS, but to obtain information from the client certificate.
โ Sean Conner 2020-06-17 22:21 UTC
---
Hm. I use Perlโs IO::Socket::SSL which allows me to examine the peer certificate, according to the do documentation but when I do it, there is nothing. ๐
โ Alex Schroeder 2020-06-18 12:42 UTC