💾 Archived View for gemi.dev › gemini-mailing-list › 001084.gmi captured on 2024-08-19 at 03:12:22. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-12-28)
-=-=-=-=-=-=-
Hey all, As I've mentioned before, I've been working on a Gemini server framework for Haskell. I've got the basic framework finished, but there's one bug that I'm just beating my head against a wall trying to sort out. For whatever reason, when the client sends a certificate, it isn't being passed to the handler. If there are any Haskellers here (particularly any who have experience with the tls and/or tcp-streams packages) any assistance would be appreciated. The code itself is at: https://codeberg.org/jlamothe/gemcap There's an open issue at: https://codeberg.org/jlamothe/gemcap/issues/1 ...and finally, the branch where I'm working on it is the certfix branch. Functions that are likely of particular interest are:
So... I'm starting to wonder if perhaps the bug lies with the browser rather than with my actual code. Is there somewhere I can point a Gemini browser at to test if it's sending a client certificate properly?
Which browser are you using? I've had good luck with Lagrange doing client certificates correctly. On Fri Nov 26, 2021 at 7:16 PM UTC, Jonathan Lamothe wrote: > So... I'm starting to wonder if perhaps the bug lies with the browser > rather than with my actual code. Is there somewhere I can point a Gemini > browser at to test if it's sending a client certificate properly? Xe https://christine.website .i la budza pu cusku lu <<.i ko snura .i ko kanro .i ko panpi .i ko gleki
Kristall. For the life of me, I can't find a version number. On Fri, Nov 26, 2021 at 07:29:45PM +0000, Xe wrote: > Which browser are you using? I've had good luck with Lagrange doing > client certificates correctly. > > On Fri Nov 26, 2021 at 7:16 PM UTC, Jonathan Lamothe wrote: > > So... I'm starting to wonder if perhaps the bug lies with the browser > > rather than with my actual code. Is there somewhere I can point a Gemini > > browser at to test if it's sending a client certificate properly? > > Xe > https://christine.website > > .i la budza pu cusku lu > <<.i ko snura .i ko kanro > .i ko panpi .i ko gleki -- Regards, Jonathan Lamothe
You may want to try Lagrange: https://gmi.skyjake.fi/lagrange/, if only to be sure that your tools are working. On Fri Nov 26, 2021 at 7:49 PM UTC, Jonathan Lamothe wrote: > Kristall. > > For the life of me, I can't find a version number. > > On Fri, Nov 26, 2021 at 07:29:45PM +0000, Xe wrote: > > Which browser are you using? I've had good luck with Lagrange doing > > client certificates correctly. > > > > On Fri Nov 26, 2021 at 7:16 PM UTC, Jonathan Lamothe wrote: > > > So... I'm starting to wonder if perhaps the bug lies with the browser > > > rather than with my actual code. Is there somewhere I can point a Gemini > > > browser at to test if it's sending a client certificate properly? > > > > Xe > > https://christine.website > > > > .i la budza pu cusku lu > > <<.i ko snura .i ko kanro > > .i ko panpi .i ko gleki > > -- > Regards, > Jonathan Lamothe Xe https://christine.website .i la budza pu cusku lu <<.i ko snura .i ko kanro .i ko panpi .i ko gleki
Issue persists with Lagrange. I guess I'm back to banging my head against a wall on this bug. -- Regards, Jonathan Lamothe Sent from my mobile device. Nov. 26, 2021 14:51:41 Xe <me@christine.website>: > You may want to try Lagrange: https://gmi.skyjake.fi/lagrange/, if only > to be sure that your tools are working. > > On Fri Nov 26, 2021 at 7:49 PM UTC, Jonathan Lamothe wrote: >> Kristall. >> >> For the life of me, I can't find a version number. >> >> On Fri, Nov 26, 2021 at 07:29:45PM +0000, Xe wrote: >>> Which browser are you using? I've had good luck with Lagrange doing >>> client certificates correctly. >>> >>> On Fri Nov 26, 2021 at 7:16 PM UTC, Jonathan Lamothe wrote: >>>> So... I'm starting to wonder if perhaps the bug lies with the browser >>>> rather than with my actual code. Is there somewhere I can point a Gemini >>>> browser at to test if it's sending a client certificate properly? >>> >>> Xe >>> https://christine.website >>> >>> .i la budza pu cusku lu >>> <<.i ko snura .i ko kanro >>> .i ko panpi .i ko gleki >> >> -- >> Regards, >> Jonathan Lamothe > > Xe > https://christine.website > > .i la budza pu cusku lu > <<.i ko snura .i ko kanro > .i ko panpi .i ko gleki
On Fri, Nov 26, 2021 at 07:16:21PM +0000, Jonathan Lamothe <jonathan@jlamothe.net> wrote a message of 32 lines which said: > So... I'm starting to wonder if perhaps the bug lies with the > browser rather than with my actual code. Is there somewhere I can > point a Gemini browser at to test if it's sending a client > certificate properly? You can try with a different browser. For instance, Agunua <gemini://gemini.bortzmeyer.org/software/agunua/> allows you to send a client certificate. Handy to test servers since it works from the command-line. I use it with Station <gemini://station.martinrue.com/> (see the file client-certificate.md in Agunua's distribution).
---
Previous Thread: Announcing SpellBinding, a cgi game for Gemini