5 ms·
> To help the team stay in touch, a custom chatroom has been created using a Tcl/Tk script. The same script works as both client and server. The chatroom is pri
by captn3m0 1y ago
> To help the team stay in touch, a custom chatroom has been created using a Tcl/Tk script. The same script works as both client and server. The chatroom is private and uses a proprietary protocol, so that developers are free to discuss sensitive matters without fear of eavesdropping. The chatroom is implemented as just over 1000 lines of Tk code, and is thus accessible and easy to customize.
Curious if anyone has more details on this. Does it have encryption?
- v9v 1y agoFossil comes with a chatroom feature (https://fossil-scm.org/home/doc/trunk/www/chat.md https://fossil-scm.org/home/doc/trunk/www/chat.md). Could that be what they're referring to?
- froh 1y agothey refer to it's precursor, as per a sibling comment.
- Retr0id 1y agoE2EE group chat in 1000 lines would be rather impressive
- therein 1y agoWith a lot of the code that may be stashed away into libraries, it doesn't seem all that remarkable. I think the higher level logic and control flow for E2EE group chat could be condensed to 1000 lines with the proper abstraction. Tcl probably helped with that abstraction so credit where it is due.
- __alexs 1y agoFossil-SCMs chat is not E2E encrypted but it does at least use TLS.
- SQLite 1y agoThe paper is from 2017. Fossil got chat support in 2021 and the developers now use Fossil-chat. https://fossil-scm.org/home/doc/trunk/www/chat.md https://fossil-scm.org/home/doc/trunk/www/chat.md Fossil chat has the advantages that (1) it is fully encrypted and (2) it works from any web-browser, including on mobile phones.
- Retr0id 1y ago> On the server-side, message text is stored exactly as entered by the users I suppose the encryption is only at the TLS layer?
- sgbeal 1y ago> I suppose the encryption is only at the TLS layer? Correct unless the fossil repository in question uses SQLite's SEE (encryption) extension (which fossil can, but relatively few repositories use that, AFAIK).
- valorzard 1y agoDoes fossil have something similar to Git-LFS? I'd like to store binary assets like PNGs and music files and such
- mdaniel 1y agoIt by default doesn't allow any binaries at all, nor CRLF files <https://fossil-scm.org/home/help?cmd=commit#:~:text=may%20be%20aborted%20if%20a%20file%20contains%20content%20that%20appears%20to%20be%20binary%2C%20unicode%20text%2C%20or%20text%20with%20cr%2Flf%20line%20endings https://fossil-scm.org/home/help?cmd=commit#:~:text=may%20be...>, nor whatever default value it has for "oversized" That said, to the best of my knowledge git-lfs operates upon stdin and stdout, like much of git, so I'd guess you could actually just commit the tracking file and manually run $(git-lfs scrub) et al. I do hear that "manually run" isn't the same as the way it works in git, but that's why fossil does things the fossil way
- 1y ago