Bjarni |grep -i tech on Nostr: That's this code: The connection broker uses with-block to selectively monkey patch ...
That's this code:
https://github.com/mailpile/Mailpile/blob/master/mailpile/conn_brokers.pyThe connection broker uses with-block to selectively monkey patch the socket library, so third party code would make outgoing #TLS and/or #Tor connections according to a configurable security policy.
Pretty cool! I have yet to port this to #moggie, but I will for sure.
The security researcher just grepped and skimmed, they missed the fact that not only did I solve the problem, I knocked that one out of the park.
I politely told them so. ;-) (3/3)
Published at
2023-07-28 16:29:54Event JSON
{
"id": "1a06c8a899c0548e6decda1e20a624ab57d951d188176c96a3792e1ab9c84584",
"pubkey": "fb62d871753e2895023007e8e484535e92cb67fb01480b7977c957b06933b286",
"created_at": 1690561794,
"kind": 1,
"tags": [
[
"e",
"9734bbb43eff9c681b823672ab0c4dae4fd98de092a60945e7a49cb4a9caff7d",
"wss://relay.mostr.pub",
"reply"
],
[
"t",
"TLS"
],
[
"t",
"Tor"
],
[
"t",
"moggie"
],
[
"mostr",
"https://floss.social/users/HerraBRE/statuses/110792657769134265"
]
],
"content": "That's this code: https://github.com/mailpile/Mailpile/blob/master/mailpile/conn_brokers.py\n\nThe connection broker uses with-block to selectively monkey patch the socket library, so third party code would make outgoing #TLS and/or #Tor connections according to a configurable security policy.\n\nPretty cool! I have yet to port this to #moggie, but I will for sure.\n\nThe security researcher just grepped and skimmed, they missed the fact that not only did I solve the problem, I knocked that one out of the park.\n\nI politely told them so. ;-) (3/3)",
"sig": "00c0056f13b189fe4aae4e5e80cdb449c0f92964d094ce5882fe21da923ee7d8130429ab51e25ec4dc090423780738e2d0eb97ded5e43c0951bcf7fbd4dc1bf9"
}