0.2 Early Bird Gets Wormed
from tedu@azorius.net to azorius@azorius.net on 25 Jul 2023 16:15
https://azorius.net/p/Nn3Q4Ps24pljbr31CQ

Well, that was quick. 0.2 is here. Almost immediately after setting up azorius.net, I found an accidental key disclosure. I was told sharing is caring, but the "experts" say that's wrong. More on that below.

So it's a little short of where 0.2 was supposed to be.

changelog

why why why

The tactical bug was accidentally putting an internal object into public json. There are wire representations for these things, and it's not supposed to include all the messy guts. There are now json marshal methods for each type that panic to prevent a recurrence.

The strategic bug was keeping secret key data in the everyday types at all. I felt like this was a mistake, but let it slide. Gah. The fix here was to move all the key data out of the normal tables and types, so it's only accessed as needed.

The database upgrade will also rotate keys. I think fedi key disclosures are kinda low impact anyway, but whatever.

#azorius

threaded - newest

horia on 26 Jul 2023 14:34 collapse

the /all/ page doesn't render on my v0.2.0 instance ;)

tedu@azorius.net on 26 Jul 2023 15:30 collapse

There's something wrong with your views directory. Check again.

horia on 26 Jul 2023 15:39 collapse

I had an older homepage.html but it's fixed now, thanks!