Very impressive design of the application -- haven't looked into the crypto yet. It reminds me a bit of the design the OpenBSD folks made with letskencrypt/acme-client:
https://kristaps.bsd.lv/acme-client/Sometimes I feel like I am a capable software engineer and then I come across work like yours and realize how much I don’t know.
Honestly don’t understand this or can even fathom how great this is but good luck!
One of the best pieces of code that I've seen in a while. Thanks for sharing