Random gibberish data opens my garage door

Started by luisr320, October 16, 2020, 05:52:50 AM

Felix

LowPower library enables/uses the WDT interrupt. I'm guessing the other library may use that too?
You cannot have 2 places in your code that declare it.

luisr320

#16
Ok, so the easiest way to do this might be to disable que WDT on the other library, since  I will always use the Low power and only in this application I will use the other one.
Thank you for your answer.

At the present time I'm stuck in finding a way to send all 64 bytes of the SHA256 digested hash trough the struct. There isn't enough space on the sent packet and I would like to avoid having to split the hash in order not to make more transactions. Any ideas that might help?

luisr320

#17
After spending some time trying to figure out how to make the SH256 hash authentication and I came to the conclusion that it's not worth it, because the length of the hashed key is too large in size (64 bytes) to be able to be transmitted in a single transaction.

For the purpose of my project, MD5 hash authentication is a practical way to ensure an authentication method to open my garage and gates. As someone said before, a crow bar will probably be the tool used to force my garage door open.

Anyway, thank you Felix for your help.

Felix

In packet mode, there is a 61 byte payload possible to transmit at 1 time.
There are other modes in RFM69 but the library I posted publicly only supports packet mode.
And yes the burglars will not come with a spectrum analyzer, but with a crow bar, Those with spectrum analyzers will probably have much more attractive targets than your home. ;)

luisr320

 :);
Anyway, I will make a formal write up of how to use the MD5 authentication on Moteino transaction, just in case someone needs it.

Felix


luisr320

#21
Here it is: https://lowpowerlab.com/forum/moteino/how-to-implement-moteino-authentication-with-md5-(howto)/msg28368/#msg28368
I've also posted a small video to show just how fast the transaction is.

Can you please change the Subject of this topic to "Random gibberish data opens my garage door [SOLVED]"?
Thank you