> Request signature format(crc): [time_stamp]_[md5(time_stamp+secret_key)] This should probably be an HMAC construction at the very least, and MD5 in general just should be discarded entirely in favor of BLAKE2b, SHA-2 or SHA-3. And ideally, it'd actually validate the rest of the contents as well.
There's another problem, if the author tells us that this is crc, while it's a MAC (not particularly strong tbh), it shows that we, as developers and users, cannot trust that cryptographic decisions of the author are of any consideration. For reference, crc is not a signature, its full name is "cyclic redundancy check", which is a really simple mathematical operation, that computes a specific remainder that comes fro…
Messages via JSON
71–80 of 129 posts
Re: Messages via JSON
#72Earlier quoted context omitted.
> No way around it, mobile devices don't have guaranteed connectivity as servers do. Not sure what "guaranteed connectivity" has to do with it, your phone is connected to network ~90% of the time, and when it is, it has a socket connection with the Google Cloud Messaging API (or iPhone equivalient) which pushes down data as it comes into the queue. If messages come in while you're disconnected, you get them all the n…
Ah but sockets are only an illusion that fall apart under the next tunnel. Mobiles are not constantly connected, they use a wireless packet-based network. The only way your mobile is registered as part of a network is because it is the one polling stations at regular intervals. Can't go the other way around, really. How could the network know you are now out of that tunnel? You may want to have a look at how APN are…
Re: Messages via JSON
#73Earlier quoted context omitted.
As far as I can tell, that's it. It's a reinvention of RSS without any notable advantages and no compatibility with existing systems. So, a reinvented wheel that doesn't work on roads.
It's like re-inventing the wheel after everyone stopped using the wheel . It might meet with some success. To people who don't know about RSS, it's a new thing.
32% of Americans use RSS every month just for podcasts alone.
Re: Messages via JSON
#74Earlier quoted context omitted.
It's like re-inventing the wheel after everyone stopped using the wheel . It might meet with some success. To people who don't know about RSS, it's a new thing.
> It's like re-inventing the wheel after everyone stopped using the wheel. 32% of Americans use RSS every month just for podcasts alone.
Re: Messages via JSON
#75Earlier quoted context omitted.
> No way around it, mobile devices don't have guaranteed connectivity as servers do. Not sure what "guaranteed connectivity" has to do with it, your phone is connected to network ~90% of the time, and when it is, it has a socket connection with the Google Cloud Messaging API (or iPhone equivalient) which pushes down data as it comes into the queue. If messages come in while you're disconnected, you get them all the n…
Ah but sockets are only an illusion that fall apart under the next tunnel. Mobiles are not constantly connected, they use a wireless packet-based network. The only way your mobile is registered as part of a network is because it is the one polling stations at regular intervals. Can't go the other way around, really. How could the network know you are now out of that tunnel? You may want to have a look at how APN are…
Re: Messages via JSON
#76What exactly is new in this ? Isn't this what Android and iOS notification services do ? And all messaging services ? What did I miss
True enough, this is in concept the very same as Apple Push Notification (APN) service. Difference is that you are in charge of the server side and handle all the security and uptime yourself. Very cool idea, simple enough to generate a lot of really cool projects.
Re: Messages via JSON
#77Why isn't my device compatible with this version? What versions are they targeting?
Re: Messages via JSON
#78> The "refl.me" key must always be true, otherwise an error will be called. Why?
Re: Messages via JSON
#79> The "refl.me" key must always be true, otherwise an error will be called. Why?
In my mind it's in the same category as google throwing garbage or while(1){} loops at the start of their JSON responses to prevent XSS JSON reflection attacks. I know it's not the same thing at all but idk, thats what comes to mind for me.
EDIT: Of course I think of a better comparison as soon as I hit submit: Sort of like LetsEncrypt looking for a .well-known/acme-challenge to validate your domain.
Re: Messages via JSON
#80Earlier quoted context omitted.
There's another problem, if the author tells us that this is crc, while it's a MAC (not particularly strong tbh), it shows that we, as developers and users, cannot trust that cryptographic decisions of the author are of any consideration. For reference, crc is not a signature, its full name is "cyclic redundancy check", which is a really simple mathematical operation, that computes a specific remainder that comes fro…
>we can find another string that differs in one byte only, that has the target crc reading that has me curious; if one can do that for any arbitrary string, and then iterate that process, doesn't that stand to reason that with enough work, one could make any two given strings calculate out to the same crc? I guess maybe not because that one byte constraint isn't specified as far as where it occurs and whether it's an…