Belgi(ë|que|en)
From Bert Livens to ~lioploum/offpunk-devel
So, this is the part that doesn't want to apply. In the hope it is the problem, I replaced a directed ' with a straight '. If that doesn't help, it is probably easiest to just copy and paste the code. (The symbol does appear a few other times in the codebase but maybe those never passed through git send-email.) Signed-off-by: Bert Livens <bert@bertlivens.be> --- netcache.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/netcache.py b/netcache.py index 7640f69..2d0743a 100644 --- a/netcache.py +++ b/netcache.py @@ -986,12 +986,14 @@ def main(): [message trimmed]
From Bert Livens to ~lioploum/offpunk-devel
This is part one, it doesn't define the flags for netcache.py yet so the command won't work. Signed-off-by: Bert Livens <bert@bertlivens.be> --- CHANGELOG | 2 + netcache.py | 140 ++++++++++++++++++++++++++++++++++++++++++++++------ offpunk.py | 37 ++++++++++++++ 3 files changed, 163 insertions(+), 16 deletions(-) mode change 100755 => 100644 netcache.py diff --git a/CHANGELOG b/CHANGELOG index e24ef8e..1ee9dfd 100644 --- a/CHANGELOG [message trimmed]
From Bert Livens to ~lioploum/offpunk-devel
Hi everyone, I've been away for a while (exams, vacation) but I'm back. Once again, this is a patch that tries to add support for client certificates to offpunk and provides the command to use them. It is based on the most recent version of Offpunk. More information about what this tries to do and how it works can be found in this previous thread: https://lists.sr.ht/~lioploum/offpunk-devel/<bc5af397-9386-450d-bf2a-45f5cceccedd@bertlivens.be> Don't hesitate to ask any questions you have. ~~ Bert Livens Signed-off-by: Bert Livens <bert@bertlivens.be> --- CHANGELOG | 2 + netcache.py | 145 ++++++++++++++++++++++++++++++++++++++++++++++------ [message trimmed]
From Bert Livens to ~lioploum/offpunk-devel
Let's see if this works. I replaced a ’ by ' in a the help of the --ids flag. There is now also a line in the CHANGELOG. Signed-off-by: Bert Livens <bert@bertlivens.be> --- CHANGELOG | 1 + netcache.py | 92 ++++++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 75 insertions(+), 18 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 095e40b..5841b03 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -11,6 +11,7 @@ [message trimmed]
From Bert Livens to ~lioploum/offpunk-devel
Signed-off-by: Bert Livens <bert@bertlivens.be> --- CHANGELOG | 1 + netcache.py | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++ offpunk.py | 35 +++++++++++++++++++++++++++++++++ 3 files changed, 92 insertions(+) mode change 100755 => 100644 offpunk.py diff --git a/CHANGELOG b/CHANGELOG index 095e40b..6857ded 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -11,6 +11,7 @@ - opnk: fix a crash when caching returns None [message trimmed]
From Bert Livens to ~lioploum/offpunk-devel
Signed-off-by: Bert Livens <bert@bertlivens.be> --- netcache.py | 89 +++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 72 insertions(+), 17 deletions(-) diff --git a/netcache.py b/netcache.py index c0a5893..0222d67 100644 --- a/netcache.py +++ b/netcache.py @@ -579,12 +579,48 @@ def _validate_cert(address, host, cert,accept_bad_ssl=False,automatic_choice=Non with open(os.path.join(certcache, fingerprint+".crt"), "wb") as fp: fp.write(cert) def _get_client_certkey(site_id: str, host: str):[message trimmed]
From Bert Livens to ~lioploum/offpunk-devel
Signed-off-by: Bert Livens <bert@bertlivens.be> --- CHANGELOG | 1 + cert_migration.py | 48 ++++++++++++++++++++++++++++++ netcache.py | 74 +++++++++++++++++++++++------------------------ offutils.py | 49 +++++++++++++++++++++++++++---- 4 files changed, 129 insertions(+), 43 deletions(-) create mode 100644 cert_migration.py mode change 100755 => 100644 netcache.py diff --git a/CHANGELOG b/CHANGELOG index 31d54fa..095e40b 100644 --- a/CHANGELOG +++ b/CHANGELOG [message trimmed]
From Bert Livens to ~lioploum/offpunk-devel
On 1/06/2024 22:33, Ploum wrote: > This is quite impressive ! And it seems to work well offline. > > So far, I’ve found only a small glitch when creating a new certificates: > the help message is not helpful when you miss an argument. It says > "usage". > > But that’s all details. > > I believe that this will be the big feature of 2.3. I'll fix that, it is supposed to be a short explanation of the command, the same you would find in `help certs`.
From Bert Livens to ~lioploum/offpunk-devel
> Hi Bert, > > How can we test your work? Where is it located? Could you provide us > with: > > 1. The git repository Apparently forgot to put it in the previous mail: https://git.sr.ht/~twijg/offpunk > 2. Some specific workflows to test I used the certificates on bbs.geminispace.org and astrobotony.mozz.us and chat.mozz.us. The certs command does have a help section. You can use it to list all
From Bert Livens to ~lioploum/offpunk-devel
Hi everyone, I worked some more on the client certificates and the certificate cache. - There is now a migration script that gets called. I decided to make it a different script as the cache migration instead of making it a version 2. - Using the `certs` command, you can now list the available certificates for a gemini capsule or even create new certificates. Do take a look at it. I use it every day (at least once, to water my plant on gemini://astrobotany.mozz.us ) and it does seem to work but of course I have not created a hundred certificates for tens of sites)