💾 Archived View for bbs.geminispace.org › s › GmCapsule › 21395 captured on 2024-12-17 at 15:10:31. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Editing static files via Titan

I'd like to be able to visit a Titan url with a pre-authorized Titan certificate and use Lagrange to edit the files in my static gmcapsule directory.

I know this is possible but I would love some direction on where there might be documentation to set this up in practice.

Posted in: s/GmCapsule

🐐 satch

Oct 31 · 7 weeks ago · 👍 smallpatatas

5 Comments ↓

🐐 satch [OP] · Oct 31 at 16:46:

On my 'messaging only' free airplane wifi, Gemini and Titan work fine but ssh doesn't. Mostly just an interesting note, but I suppose it's one example use case of the system I'd like to set up.

🕹️ skyjake [mod...] · Oct 31 at 18:05:

I have this kind of a Titan script that I use for managing my gemlog. The script can be seen here:

— git.skyjake.fi/booster/capsule/booster.py

The corresponding CGI configuration for GmCapsule is:

[cgi.booster]
protocol = titan
host = skyjake.fi
path = /gemlog/*
command = /usr/bin/python3 /home/jaakko/gemini/booster/booster.py

🦆 CitySlicker · Nov 02 at 19:35:

Were you able to get booster working, satch? I'm attempting to get it to work, but I keep getting the error "Not authorized -- The provided client certificate is valid but is not authorized for accessing the requested resource."

🦆 CitySlicker · Nov 02 at 19:36:

I added my fingerprint the the authorized section in booster's config.json, but am still getting the error

🐐 satch [OP] · Nov 02 at 19:54:

@CitySlicker I haven't set it up yet. Is your certificate hash in the right format?

I think I will write my own and use skyjake's as a reference.