News for hackers. Stuff that matters.
Re:Uacme: ACMEv2 client written in plain C with minimal depe... by dividuum on Sunday August 21, 2022 @12:34PM (#32541790)
Personally, I'm a fan of https://github.com/diafygi/acme-tiny. 200 lines of python without any additional python requirements and only the openssl binary as external dependency.
Re:Uacme: ACMEv2 client written in plain C with minimal depe... by ori_b on Sunday August 21, 2022 @01:10PM (#32542195)
If we're plugging implementations, I tend to use the single-file implementation that ships with 9front. I wrote the first cut, but it's been improved heavily by others:

http://man.9front.org/8/acmed

http://git.9front.org/plan9front/plan9front/HEAD/sys/src/cmd...

It works quite well, and if you mount your unix machines via sshfs, it's pretty easy to dump the certs into the right place with them.

And unlike most ACME clients, it works seamlessly with DNS authentication, which allows you to easily grab wildcard certs.

Re:Uacme: ACMEv2 client written in plain C with minimal depe... by yonrg on Sunday August 21, 2022 @03:06PM (#32543350)
This! Thanks for also mentioning it. So plain easy and just does what I need! Thanks to the author for publishing it.

I maintain my own patch, so tiny-acme supports an '--outfile' option (it originally only writes to stdout). This comes in handy when it is run by systemd service/timer.

The pull request is on hold, because the code then exceeds then 200 lines threshold :shrug:

Re:Uacme: ACMEv2 client written in plain C with minimal depe... by Klasiaster on Sunday August 21, 2022 @04:15PM (#32543957)
You can directly redirect the service's output to a file: https://www.freedesktop.org/software/systemd/man/systemd.exe...
Re:Uacme: ACMEv2 client written in plain C with minimal depe... by yonrg on Friday August 26, 2022 @12:25PM (#32609460)
Thanks! That's tempting to drop the patch and just stay with the upstream.
Re:Uacme: ACMEv2 client written in plain C with minimal depe... by frutiger on Sunday August 21, 2022 @12:50PM (#32541979)
I will plug my own Python program https://github.com/frutiger/concorde, which does depend on `requests` and `cryptography`.