Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

Encrypt files recording on ARM

Answered

Comments

12 comments

  • Danny van den Berg

    Hi Jordan,

    Did you also consider to use a file or block based encryption solution like luks?
    See the docs of the package cryptsetup for more information related to this.

    The package should be available via the default APT repo`s

    0
  • Jordan IUNCKER

    Hi Danny van den Berg


    A Mobile Camera, need to boot alone without any password.
    I need this, if a person steal the SD CARD on the RPI, and plug the SD CARD in other computer, he can't read any files recordings from NX

     

    0
  • Norman
    • Network Optix team

    Hi Jordan,

    I haven't tried it on my RPI's,but since it's Linux I assume you can do a full disk encryption and pass the authentication via network address verification.

    That being said; be aware that SD cards aren't reliable enough to use in a production systems to boot from and definitely not for data rotation. SD corruption is just a matter of time.

    Therefore we state that the builds for ARM based SBC are for prototyping and experimental use only and should not be used in a production system without a script that uses a external HDD for booting and data retention.

    At that moment, full disk encryption will be harder to implement.

    In the future we will offer encryption for the data through our application.

    0
  • Jordan IUNCKER

    Hi Norman,

    Yes in Linux it's possible to do full disk encryption, but I don't find the right solution.

    I think the best solution, it's to encrypt all data trough your application.
    The Law in france for Mobile camera is :

    - If anyone steal the storage, he can't read the data in any media player and can't explore files from the storage.

    In a CCTV center, is not a problem because it's a secure room and if no one can enter in this room. Only Police government.

    But with a Mobile Camera, in a city it's a problem.

    Raspberry & purple SD CARD is the best solution to build a compact Mobile Camera, all R&D it's finish, we have success to build this autonom mobile camera.
    Last issues, is the encryption of data.

    I hope you have any fast solution for me, because we have already many customers for this Mobile Camera.

    0
  • Permanently deleted user

    Jordan,

    We have an "Archive Encryption" feature scheduled for the 4.3 release. Don't have any exact time estimates, but it is at least half a year from now.

    0
  • Norman
    • Network Optix team

    Hi Jordan IUNCKER,

    Although we will get full-disk encryption in 4.3, I'm not sure that it will work on the RPI due to the lack of the TPM module, but maybe our developers can apply some magic. 

    At this stage Network Bound Disk Encryption with the help of LUKS is the go-to method as Danny van den Berg mentioned. Here is nice step-by-step instruction about how to set up LUKS on the RPI. 

    0
  • Jordan IUNCKER

    Hi Norman,

    Okey I try this solutions.

    But, My mobile camera, has no connection.

    Because I install it in a city and it is autonomous.

    It has only wlan0 (wifi) activated, and the 4G connection.
    I don't really know how to do it? 
    Because it checks at startup the ip of eth0 if I understood well? 
    0
  • Norman
    • Network Optix team

    Hi Jordan, 

    The 4G connection is a connection. 
    Haven't tried it, but in theory this should work. 

    0
  • Jordan IUNCKER

    Hi Norman,

    Hey right, I know of course.
    So you think, I can setup a tang server in a server at my office, and in my rpi I setup a local dhcp to set a ip to my 4G connection with (usb0) and when my RPI get an IP, he use the 4G connection to speak with my tang server at my office and decrypt itself ? 

    Regards,

    0
  • Norman
    • Network Optix team

    Hi Jordan IUNCKER,

    That is the theory, but no promises. 

    0
  • Jordan IUNCKER

    Hi Norman,

    Okey I understand, but I never setup any tang server, I don't know what is this ?
    Can you explain me, please ?

     

    Regards,

    0
  • Norman
    • Network Optix team

    Hi Jordan IUNCKER

    I can't help you with this. This is outside our scope of support and personally I never have set up LUKS before for my RPI before, so I should dig into it as well. 

    0

Please sign in to leave a comment.