peterantypas / maiana

MAIANA™ is the first Open Source AIS transponder. It proudly raises an extra long middle finger to the marine electronics industry, government overregulation and everything else that gets in the way of innovation in this space.
GNU General Public License v3.0
335 stars 70 forks source link

Encrypt possibilities? #142

Open Tormund1985 opened 5 months ago

Tormund1985 commented 5 months ago

Is it possible for Maiana to operate under encrypted information?

What I want is for my boat, equipped with AIS, to be able to display on cartography TIMEZERO or another (NMEA sequences) maritime and aerial drones, auxiliary boats, buoys, etc. without anyone else seeing them. Only me. Could we do this?

There is a solution on the market such as Raymarine's AIS5000 but the cost is... absurd.

Thanks in advance!

peterantypas commented 5 months ago

I'm not sure I understood your question. Can you elaborate?

astuder commented 5 months ago

They are probably looking for support of EAIS or similar: https://www2.epic.org/foia/dhs/uscg/nais/EPIC-15-05-29-USCG-FOIA-20151030-Production-2.pdf

Though typically, decryption is done by the ECS/charting software, not the AIS receiver, and I'm not sure if TIMEZERO supports that. Over the air it's just binary broadcast messages:

!AIVDM,1,1,,B,85NQB:1Kf2GsLktsFGP6lE7GQgqt8aj7gOdB1?N4hM0biM9nuJvi,0*22 
!AIVDM,2,1,6,A,85NQB:1KfN=dttDt?W4TRa>rj=sHiAww7WFoqScQElW4NQ?M<@VhRHBF,0*53
!AIVDM,2,2,6,A,AvCMRN=aM@Gc<Rusg=?VHI;A41T=<U@S5`uslo<,2*18
Tormund1985 commented 5 months ago

They are probably looking for support of EAIS or similar: https://www2.epic.org/foia/dhs/uscg/nais/EPIC-15-05-29-USCG-FOIA-20151030-Production-2.pdf

Though typically, decryption is done by the ECS/charting software, not the AIS receiver, and I'm not sure if TIMEZERO supports that. Over the air it's just binary broadcast messages:

!AIVDM,1,1,,B,85NQB:1Kf2GsLktsFGP6lE7GQgqt8aj7gOdB1?N4hM0biM9nuJvi,0*22   
!AIVDM,2,1,6,A,85NQB:1KfN=dttDt?W4TRa>rj=sHiAww7WFoqScQElW4NQ?M<@VhRHBF,0*53
!AIVDM,2,2,6,A,AvCMRN=aM@Gc<Rusg=?VHI;A41T=<U@S5`uslo<,2*18

thats right...

TIMEZERO runs on Windows, the frame could be captured and decoded beforehand to pass the sentence in clear to TIMEZERO.

Regarding the AIS message you have inserted, I understand that it is encrypted? Sorry for my lack of knowledge,

I don't have a great knowledge of AIS, but I am interested in the subject, I think it could be a nice challenge. I'm going to read more about your project and buy a development KIT to try it.