I have been thinking about managing my Offpunk list files that I might be modifying on either, or both, my netbook and some main laptop. Since this is mostly about new parts that might have gotten added, I didn’t want to introduce some full-blown version control to this. Instead, I figured that I could start ensuring the files end with a time-specific marker when was the file last appended before sync that would also be useful to the humanβ¦
Getting TLS1.3 Key Log from Go application with requests by a library, and using it in Wireshark
Today I wanted to sniff on TLS traffic of hell, a “mastodon client” that seemed to not want to work with things that aren’t Mastodon. The network calls are mostly made from within a library, hellclient-go-mastodon fork of go-mastodon.
SSLKEYLOGFILE turned out to be a standard, now even RFC 9850, for TLS client instrumentation. But Go standard library doesn’t simply write the secrets to a log file in coupling with the obscure environment variable. Not much libraries seem to do it β just programs like major web browsers and curl. (Perhaps bizarrely, this Haskell package adds it coupled with an environment variable β introduced to one’s Haskell code by means of adding nothing more than an import statement.)
Distributed file version management in 15 minutes of Bash
You don’t always need to have all the tools at your disposal, but you may want to have some way of checking in your file edits. CVS is too powerful and has a lot of unnecessary parts, while not being distributed. You may not need to keep everything in deltas. So why not just write…
Read More “Distributed file version management in 15 minutes of Bash” »
Subscription into list rather than tour β Offpunk draft feature patch
Offpunk has a feature where any updated links from a subscribed list will be added to tour on sync. I expanded on that feature by making it possible to parameterize #subscribe with a list name like #subscribe(some_list_name) to the result of the links getting added to that list, with just the one link to that list getting added to tour.
Read More “Subscription into list rather than tour β Offpunk draft feature patch” »
Slash-hierarchical list names β my draft implementation for Offpunk
More draft patches for Offpunk from me that I haven’t particularly tested much yet.
Offpunk has no support for slash-containing list names β it just crashes on an attempt, because the names are neither supported by creating directories nor sanitized to not contain slashes. I wrote a patch for that. And another to make the all lists view, and other logic involving iterating through all lists like subscriptions and syncs, traverse them all, flatly for now.
Read More “Slash-hierarchical list names β my draft implementation for Offpunk” »