Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3DR Radio: wireless encryption #1610

Closed
robustini opened this issue Nov 16, 2014 · 14 comments
Closed

3DR Radio: wireless encryption #1610

robustini opened this issue Nov 16, 2014 · 14 comments

Comments

@robustini
Copy link
Contributor

We have discussed many times, in my country (Italy) and in many others in Europe we could not use APM Copter or Plane in critical restricted operations because the 3DR telemetry has no encryption level.
This unfortunately is castrating and company will push many to adopt other systems where this thing is doable.
I hope Tridge or Kevin can quickly find a solution to the problem or here the market of our drones inevitably will move to other platforms where this system exists (DJI for example).

@tridge
Copy link
Contributor

tridge commented Nov 18, 2014

right now the best bet is to use one of the RFD900 varients that has hardware AES encryption.

@WeareGermans
Copy link

Since 900 MHz is a NONO in Europe and the RFD900 guys do not seem to have interest in developing a 433 or 868 MHz version i only see using a RPI and WLAN as a quick goal for secure, encrypted transmission.

@davidbuzz
Copy link
Collaborator

now available: http://store.rfdesign.com.au/rfd-868-modem/

@naktinis
Copy link
Contributor

naktinis commented Oct 9, 2015

@davidbuzz maybe you know what "software still in development for this" means in the product description page? Has anyone tested the encryption feature on RFD 868+?

@davidbuzz
Copy link
Collaborator

It's open source, and the code is available, and looking at the history of the commits, there appears to have been AES references in parts of the code from as far back as 2 years ago. Maybe you should ask the manufacturer directly..? https://github.com/RFDesign/SiK/tree/SiK/Firmware/radio/AES

@naktinis
Copy link
Contributor

naktinis commented Oct 9, 2015

Yup, did it already, just thought someone actually used it.

@samacumen
Copy link

samacumen commented Aug 31, 2017

My comment comes 2 years after the last post on this page. RFD-868 seems to be 4 years old now in development, I saw some AES encryption seems to be part of the firmware but no update on it in releases or documentation page. The last commit is also more than a year ago, makes me wonder if this project is still active? This however is the closest I could get to a state-of-the-art device that enables long range + encryption.

Anyone any idea about long range >1km with encryption for EU? @naktinis , @davidbuzz, @robustini, @tridge ?

@amilcarlucas
Copy link
Contributor

AFAIK The SiK firmware provides AES encription (for the 3DR modems), but you need to compile it from source because no official releases have it.
The last comit is over one year old because it has been working fine, so no need to fix it.

@tridge correct me if I am wrong.

@samacumen
Copy link

samacumen commented Aug 31, 2017

@amilcarlucas Thanks for the update. Have you tried using it on the standard 3DR modems, can they handle the encryption part? It makes me imagine encryption/decryption could be too heavy on the 3DR radios resulting in packet loss/lower practical baud-rate. Any views on this? I might be mistaken.

PS: Do you mean the original SIK firmware as written by Tridge (https://github.com/ArduPilot/SiK) OR the one I mentioned (https://github.com/RFDesign/SiK) by RF Design? Both have AES [SiK/Firmware/radio/AES/]

@magicrub
Copy link
Contributor

This wasn't mentioned in this thread so I'll state it: ArduPilot itself has no encryption but the MAVLink 2.0 protocol used by ArduPilot can use SHA256 signing and that is passed over the 3DR radioes or anythign else using a serial port. So, it's not "encrypted" but it's close. This was implemented about 1.5 years ago. I suggest giving it a try.

@samacumen
Copy link

samacumen commented Sep 1, 2017

@magicrub Thanks for sharing, and yes I am aware of signing implementation and also have read the Google docs document here (https://docs.google.com/document/d/1ETle6qQRcaNWAmpG2wz0oOpFKSF_bcTmYMQvtTGI8ns/).

However, it might be easier for me to use an encrypted link (if feasible) as its for a product and signing could be hard to debug in case we fall into some packet loss issue (e.g. due to timestamp mismatch in the signing algorithm).

@samacumen
Copy link

Also, I found that there are two versions of RFD868 or RFD900 radios: ending with "+" OR "x"

AFAIK there is no easy way to encrypt the data link on the RFD868+, only the RFD868x has the built in AES encryption hardware. Without that you would need to encrypt the data stream that is being sent to the radio, the radio won't do the encryption for you.

@OXINARF
Copy link
Member

OXINARF commented Sep 1, 2017

Closing this as the radio encryption isn't related to ArduPilot. Also, for discussions like this please use the forum (http://discuss.ardupilot.org).

@OXINARF OXINARF closed this as completed Sep 1, 2017
@magicrub
Copy link
Contributor

magicrub commented Sep 2, 2017

This is the repo that hold the SiK firmware: https://github.com/ArduPilot/SiK but this is a bit more of a discussion item

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants