c-stevens / laika-weblogs Goto Github PK
View Code? Open in Web Editor NEWDjango-powered live updating IRC log with web line posting
License: MIT License
Django-powered live updating IRC log with web line posting
License: MIT License
laika-weblogs/laika/modules/weblogs.py
Line 316 in 1dca91d
Python docs for hashlib imply vulnerabilities in comparing hashes with the ==
operator, and instead recommend using a compare_digest()
method. In doc context, it is referring to HMAC messages, so it may not apply here but is worth investigating further.
As per the limitations listed in the readme, the final phase of the Message Authentication Protocol is not cryptographically tied to the valid proof agreed upon by client and server.
The protocol can be further enhanced and secured by adding a MAC/HMAC scheme to this stage of the protocol
Currently nickname mapping to channels occurs once the bot notifies the weblogs observer that a user has spoke in a certain channel. This mapping is maintained in order to generate QUIT messages for each channel they've been spotted in.
However, an edge case exists where a user is spotted JOINing a channel (or set of channels) but does not say anything in any of them before QUIT/PARTing. In this case, no QUIT messages are generated because the nick is unmapped until they send a message to a channel.
This can be resolved by adding mapping logic under the logServerData()
method, much like is found in the following logic:
laika-weblogs/laika/modules/weblogs.py
Line 129 in 1dca91d
This will not resolve cases where the bot comes online after a user has already joined a channel. There is still no initial mapping at that stage.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.