Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

aes-128-cbc in LUA


10der

Question

Quote

Quick Apps Dividing the code editor into several files in separate tabs. Added com.fibaro.remoteController device type. Added com.fibaro.player device type. Added UDP client support.

 

@A.Socha Is it too much to add to LUA aes-128-cbc , considering the fact that  HC already has \usr\bin\openssl  

Please login or register to see this link.

crazy!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

having something on os level and using in lua engine are different two thing. If FIBARO just take os execute call to call openssl, the HC3 will be hackable  - so this is not the way to go. To include libs is not option as well, they will conflict with already existing ssl (in fibaro lua engine). However, there is of course ssl support/libs already in Fibaro lua engine, for internal use, but as UDP before, it need to be tested and then enabled for all - that's on to-do afaik.

 

I you can't wait, i have solution for you: there is nothing preventing you from pure-lua aes implementation, here ecb 265 example, which can be easily changed to128, and with some more effort to cbc. And yes, it does works on HC3:

 

Please login or register to see this link.

 

MD5, SHA1 are as well already implemented as pure lua btw., and they work as well on HC3.

 

MD5 - posted already

SHA1 - 

Please login or register to see this link.

Edited by tinman
  • Like 3
Link to comment
Share on other sites

  • 0
On 7/24/2020 at 9:34 AM, tinman said:

 

If you can't wait, i have solution for you: there is nothing preventing you from pure-lua aes implementation, here ecb 265 example, which can be easily changed to128, and with some more effort to cbc. And yes, it does works on HC3:

 

Please login or register to see this link.


Hi

 

By any chance does anyone have a working version, of pure-Lua implementation of AES 128 CBC ?

 

Many thanks !

Link to comment
Share on other sites

  • 0
2 minutes ago, Node Central said:


Hi

 

By any chance does anyone have a working version, of pure-Lua implementation of AES 128 CBC ?

 

Many thanks !

 

 

 

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...