small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo

fix(trust): match blocked roots with the lenient decoder

albedo_trust:cacerts/0 decoded every OS store cert with pkix_decode_cert(Der, plain) to match blocked roots. A single cert that the strict decoder rejects (e.g. countryName as UTF8String) crashed it, so every TLS request failed, OAuth token exchanges included. Read keys with the otp decoder instead, which TLS itself uses: such certs no longer crash the filter, and a malformed copy of a blocked root is still dropped.


Author madoka.systems
Committer Tangled Date Commit Parent a2d9a2d8 Change ID
+48 -4
3 changed files
+48 -4
3 changed files