You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.0 KiB
26 lines
1.0 KiB
-find a way to prioritize the index/message download threads. Perhaps these threads could tell other threads to pause?
|
|
the discover -> age check -> index -> messages -> timestamp script should not be interrupted when one of the steps takes longer
|
|
|
|
-file deletion or time to live (client side?)
|
|
|
|
-prevent WebSheet (ios) and etc captive portal to hijack the client connection ;)
|
|
|
|
-perhaps replace the functionality of self.devices with something based on crawling nodes/hash/
|
|
|
|
-sometimes node tries to connect to itself (something wrong with receiving broadcast maybe??)
|
|
|
|
- HTTP calls the client needs:
|
|
- /msg/<uid> -> give list of all messages for this uid
|
|
- /msg/<uid>/<timestamp> -> get message for this timestamp
|
|
- /clients -> return list of all known clients (uid's + usernames)
|
|
- /getUID -> return uid for client ( based on what? mac? )
|
|
|
|
# Cryptoshit
|
|
|
|
encrypt / decrypt:
|
|
http://www.davedoesdev.com/a-simple-and-consistent-wrapper-for-javascript-crypto/
|
|
|
|
generating keys:
|
|
https://bitbucket.org/adrianpasternak/js-rsa-pem/wiki/Home
|
|
|
|
|
|
|