News for hackers. Stuff that matters.
Re:Show HN: A new protocol for packet radio including ECDSA ... by Cyph0n on Monday September 24, 2018 @11:00AM (#18058231)
Cool project! I have always been interested in the amateur radio scene.

So encrypting amateur radio comms is illegal in the US? Is there a particular reason for this?

Re:Show HN: A new protocol for packet radio including ECDSA ... by rtkwe on Monday September 24, 2018 @11:16AM (#18058375)
The amateur public radio bands are supposed to be open and useful to everyone so the broadcasts in those spectra are supposed to be readable by everyone as part of the accessible part. On top of that encrypted transmissions would be basically noise pumped into the system making the open uses more difficult and harder to police.
Re:Show HN: A new protocol for packet radio including ECDSA ... by jimktrains2 on Monday September 24, 2018 @11:38AM (#18058582)
> The amateur public radio bands are supposed to be open and useful to everyone so the broadcasts in those spectra are supposed to be readable by everyone as part of the accessible part.

Except that proprietary voice codices are allowed :(

Re:Show HN: A new protocol for packet radio including ECDSA ... by TrueDuality on Monday September 24, 2018 @11:56AM (#18058752)
To a certain extent yes. This is only true on frequencies allowing digital voice encoding and they technically are still required to publish the working of the codec and how to identify them even if they are patent encumbered and you can't legally resell or distribute something to decode them.

These protections are to ensure the FCC / government are always able to decode amateur transmissions. These aren't protections for the operators themselves.

I completely agree with your sentiments though, the amateur bands should not allow proprietary commercialization.

Re:Show HN: A new protocol for packet radio including ECDSA ... by rtkwe on Monday September 24, 2018 @12:06PM (#18058839)
Yeah it's a bit of a compromise there it looks like. At the time the only reasonable codecs that existed were proprietary and allowing them with the stipulation that the patents be available on a 'reasonable and non-discriminatory' basis so anyone could make a commercial radio based on the codecs.

At least with a proprietary codec with that patent restriction anyone can still go out and buy a compatible radio and jump right on. And if the improvement to capabilities is large enough the trade off is worth it. It's not ideal but it's much better than allowing encryption where the transmissions aren't accessible to anyone by design.

Re:Show HN: A new protocol for packet radio including ECDSA ... by giancarlostoro on Monday September 24, 2018 @12:11PM (#18058886)
Been wondering why some of the radios cost way too much and now I am left wondering how much cheaper they would be if those patented codecs were banned or forced to be open for implementation.
Re:Show HN: A new protocol for packet radio including ECDSA ... by tjohns on Monday September 24, 2018 @01:42PM (#18059682)
The AMBE-3000 vocoder chip (used for pretty much all of the digital modes, including D-STAR and DMR) retails for about $50, before volume discount.

Which is not a small mount of money, but isn't that bad given that most amateur radios (excluding the recent Chinese models) retail for ~$500, and commercial radios retail for $1,000+.

That said, I'm pretty sure everyone would prefer to move to Codec2, but the lack of hardware offerings is a problem. I'm looking forward to the day the first real SDR handheld transceiver comes out so this can be implemented by the open source radio community. It's clear that none of the radio manufacturers are interested in interoperability, much less adopting community standards.

Re:Show HN: A new protocol for packet radio including ECDSA ... by lima on Monday September 24, 2018 @02:38PM (#18060163)
At least there's open source implementations of AMBE nowadays.
Re:Show HN: A new protocol for packet radio including ECDSA ... by kawfey on Monday September 24, 2018 @02:06PM (#18059867)
This is a dead horse but it isn't encryption.
Re:Show HN: A new protocol for packet radio including ECDSA ... by rtkwe on Tuesday September 25, 2018 @01:19PM (#18068334)
Yeah there's a big difference between encryption and a codec. Anyone can decode and use the proprietary digital voice codec with appropriate equipment which the licensing board has at least assured won't become a monopoly for one radio equipment company.
Re:Show HN: A new protocol for packet radio including ECDSA ... by bwann on Monday September 24, 2018 @04:36PM (#18061177)
While I think this touches on a big part of it, I think the bigger thing is the need for identifying stations for accountability. If there was a protocol that emitted an encrypted blob followed by cleartext/phone callsign, it would probably be more acceptable.
Re:Show HN: A new protocol for packet radio including ECDSA ... by indrora on Monday September 24, 2018 @07:34PM (#18062400)
No. It's obscuring the content or meaning and it's not controlling a space station:

§97.113 Prohibited transmissions. (a) no amateur shall transmit (4) Music using a phone emission except as specifically provided elsewhere in this section; communications intended to facilitate a criminal act; messages encoded for the purpose of obscuring their meaning, except as otherwise provided herein; obscene or indecent words or language; or false or deceptive messages, signals or identification.

(§97.207 outlines the space station exception)

Re:Show HN: A new protocol for packet radio including ECDSA ... by VMG on Monday September 24, 2018 @11:36AM (#18058567)
what about steganography?
Re:Show HN: A new protocol for packet radio including ECDSA ... by braxxox on Monday September 24, 2018 @12:18PM (#18058945)
Section 97.113 of FCC rules describes prohibited amateur radio transmissions: https://www.w5yi.org/page.php?id=121

While it doesn't call out encryption by name it more broadly prohibits "messages encoded for the purpose of obscuring their meaning." I take that to include both encryption and obfuscation methods like steganography.

Re:Show HN: A new protocol for packet radio including ECDSA ... by bob1029 on Monday September 24, 2018 @02:26PM (#18060046)
See: Direct Sequence Spread Spectrum. It is possible to communicate below the perceived noise floor of a narrowband signal using much more bandwidth than is actually required for the transmission and intended channel conditions. You can basically encode your data across a much wider range of code points which directly modulate the broadband signal. This generates in RF terms what any unawares outside observer would describe as "broadband noise". E.g. WiFi communicates in 20MHz channels, a DSSS solution could use 100-1000 MHz channels (albeit at a MUCH lower baud). Most use/scanning/jamming/licensing of the airwaves is done in a narrowband context, so this is a sort of strategic way to get around these constraints.

If done properly and using a sequence that only you understand, it is possible to become completely invisible to interception for most practical situations. Someone with RF monitoring equipment could determine the source of broadband emissions, but without actually investigating the design of the physical transmitter they wouldn't ever know conclusively what is happening. This is why the FCC requires you publish the algorithm of the PRNG which modulates the data into the final DSSS signal. If you never do this and take decent measures to ensure your sequence appears as pure noise (simply encrypting your payload would do this), there is little anyone could hope to do to discover your presence if they were listening in the middle.

Re:Show HN: A new protocol for packet radio including ECDSA ... by justtopost on Monday September 24, 2018 @12:16PM (#18058930)
While I have heard of its use, it seems making a convincing 'carrier' may be more difficult than it seems with the limited bandwidth, and monitoring. But I may be wrong. In relation to the law it seems to violate the 'open public use' provision, but I am ignorant of the fine print. I do know the fcc is unreasonably good at finding and prosecuting illegal transmissions, but will stop short of incriminating myself or others.
Re:Show HN: A new protocol for packet radio including ECDSA ... by saul_goodman on Monday September 24, 2018 @02:00PM (#18059820)
someone has to figure out there's a hidden message first. much like using a 'non-type-accepted' radio. on the internet no one knows you're a dog.
Re:Show HN: A new protocol for packet radio including ECDSA ... by blattimwind on Monday September 24, 2018 @12:40PM (#18059125)
> So encrypting amateur radio comms is illegal in the US? Is there a particular reason for this?

Encrypting amateur radio is illegal practically world-wide — every ITU member state bans it.

Re:Show HN: A new protocol for packet radio including ECDSA ... by jauer on Monday September 24, 2018 @04:09PM (#18060983)
Notable exceptions: emergency communications in .AU and with publication of key in .CA.
Re:Show HN: A new protocol for packet radio including ECDSA ... by coreymatyas on Monday September 24, 2018 @04:45PM (#18061263)
A notable exception in the US being for the telecommand of space stations (97.211b).

There's also some grey area around encryption for telecommand of terrestrial craft --- you aren't allowed to "obscure the meaning of the communication" (97.215b), but other sections of Part 97 require preventing access to telecommand stations by unlicensed operators. This has raised questions over whether disallowing encryption is more important than risking telecommand stations being maliciously hijacked.

Re:Show HN: A new protocol for packet radio including ECDSA ... by rphlx on Monday September 24, 2018 @06:05PM (#18061889)
FWIW there's no conflict there in terms of the cryptography.

A replay-protected, keyed authenticator of plaintext commands (HMAC, etc) is not encryption; it is authentication. In a similar sense you are allowed to put a rolling log-in password on a packet radio BBS, so that passive monitoring will see the password, but as soon as it's revealed, it's no longer useful for additional logins.

Re:Show HN: A new protocol for packet radio including ECDSA ... by bcaa7f3a8bbc on Monday September 24, 2018 @04:53PM (#18061343)
Another notable exception: uplink control of certain aircrafts and spacecrafts
Re:Show HN: A new protocol for packet radio including ECDSA ... by emptybits on Monday September 24, 2018 @11:11AM (#18058331)
It's also illegal in Canada.

With amateur radio "dying" as an interesting hobby (my opinion, but widely held) it is often speculated that if encryption was permitted in amateur radio communications, there would be quite a resurgence in interest. I predict a new generation would start to pick up the hobby and find untold uses (and abuses) for it.

Re:Show HN: A new protocol for packet radio including ECDSA ... by brians on Monday September 24, 2018 @11:39AM (#18058598)
There are more hams in the US, and more active hams, than ever before. That's a funny sort of dying!

Joe Taylor's work on below-the-noise signal extraction has revitalized shortwave: https://physics.princeton.edu/pulsar/k1jt/wsjtx.html , particularly at the nadir of the sunspot cycle. That's a funny sort of dying!

Amateur satellites are accessible for $100 in parts: https://www.n2yo.com/satellites/?c=18 ; with the same parts and some practice and luck you can talk to the space station. That's cool for anyone but especially cool for students; NASA will do more amateur radio work in 2018 than in any previous year. That's a funny sort of dying!

If encryption were permitted on amateur bands, I'd expect to see commercialization right quick—along the same lines as the PACTOR modems embraced by the long-duration recreational sailing community: https://www.cruisingworld.com/staying-connected-at-sea

Re:Show HN: A new protocol for packet radio including ECDSA ... by prolikewh0a on Monday September 24, 2018 @12:06PM (#18058833)
I've actually seen my young amateur radio communities die off during this new solar minimum, and a lot of my friends sold their expensive equipment. You really need money and space right now unless you want to sit at your desk and do some of the new low SNR "can talk to the mars rover with a wet sock as an antenna" modes that a lot of people don't like because it's too easy and poses no challenge. There's also VHF/UHF, but that's mostly older clique's.

It's definitely a slowly dying hobby.

Re:Show HN: A new protocol for packet radio including ECDSA ... by madengr on Monday September 24, 2018 @01:48PM (#18059727)
You should be able to talk to anyone in the USA with 100W and a wire antenna.

I think the bigger issue is noise in urban areas. The FCC does a shit job of regulating noisy equipment. I had to go through my house and dispose of certain Ethernet switches, an audio device, notebook power supply, etc.

Re:Show HN: A new protocol for packet radio including ECDSA ... by trothamel on Monday September 24, 2018 @12:15PM (#18058916)
Is there a good description of what those $100 in parts for satellite work are? Or better yet, something purchasable that's likely to work? I've been wanting to get into it, but I've never found a really accessible guide to getting started in satellite communication.
Re:Show HN: A new protocol for packet radio including ECDSA ... by brians on Monday September 24, 2018 @01:39PM (#18059655)
Sure! To talk to a satellite you need an antenna, a receiver, a transmitter, and maybe a computer—not for voice, but for text modes.

Arrow will sell you a great antenna: http://www.arrowantennas.com/arrowii/146-437.html , or you can google "tape measure yagi" and build an okay antenna.

Then you can get the transmitter and receiver together, in a package like the regrettable BaoFeng UV-5R: https://www.amazon.com/BaoFeng-UV-5R-Dual-Radio-Black/dp/B00... . This is a terrible radio. Their quality control is so bad that you sometimes commit a federal offense by pressing the transmit button—and for $100, you can't afford the test equipment to tell! So maybe use it as the receiver in a two-radio setup, and transmit with something like a Wouxun KG-UV9D.

A Kenwood TH-D72A is an excellent choice to do the transmitter and receiver jobs, but hundreds of dollars. A Yaesu FT-60 is a great choice too, but it won't have full duplex—so you can't be sure your signal is getting out without help.

To listen to a satellite you need even less: a crappy antenna and an RTL2832 USB software-designed radio: https://www.adafruit.com/product/1497

For all of these, you'll end up wanting miscellaneous coaxial cable and a bunch of ends. Hams tend to build up a library of crimpers and spare ends and such, so look to borrow from a friend or a club as you get started. The 75 Ω cable that's ubiquitous for television signals will totally work, but you'll have much less loss and much much less stress on components if you buy 50 Ω cable.

Why not try the tutorial at https://www.rtl-sdr.com/rtl-sdr-tutorial-receiving-noaa-weat... ? If that works, you can expand from there: the tutorial teaches you a huge amount about aiming at satellites and the physical work necessary to capture signals from space.

Re:Show HN: A new protocol for packet radio including ECDSA ... by trothamel on Monday September 24, 2018 @05:12PM (#18061508)
Thank you! This really comprehensive. I'll probably start with the NOAA weather tutorial, and go from there.
Re:Show HN: A new protocol for packet radio including ECDSA ... by tjohns on Monday September 24, 2018 @01:46PM (#18059708)
In addition to the resources others have posted, I recommend picking up a copy of the AMSAT Getting Started book: https://www.amsat.org/product/2018-edition-of-getting-starte...
Re:Show HN: A new protocol for packet radio including ECDSA ... by lb1lf on Monday September 24, 2018 @12:23PM (#18058988)
I haven't looked into satellite work in fifteen years or so, but back then it was definitely possible to work the LEO FM repeater satellites using a handheld and a small yagi - typically two elements 144MHz, five on 432MHz if memory serves.

With handhelds being dirt cheap and a yagi cut from a measuring tape being an option, I don't think getting on satellite for $100 sounds undoable.

Re:Show HN: A new protocol for packet radio including ECDSA ... by DerekRobot on Monday September 24, 2018 @12:52PM (#18059211)
You could make a good tape measure yagi and use it with a cheap radio like the UV-5R. It needs to be dual-band (440mhz and 2m); AMSATs are usually duplex.

http://theleggios.net/wb2hol/projects/rdf/tape_bm.htm

Re:Show HN: A new protocol for packet radio including ECDSA ... by emptybits on Monday September 24, 2018 @01:09PM (#18059392)
> There are more hams in the US, and more active hams, than ever before

I apologize for repeating the doom and gloom then, because I know it can be self-fulfilling.

The AARL has optimism but it also tells us net licenses are up <1% per year and "the large number of Baby Boomers will soon be aging off the licensee rolls", predicting "a significant decline in the number of hams, unless we take steps to reverse it." Source: http://www.arrl.org/news/more-than-30-000-new-ham-licensees-...

A decentralized, no-carrier/ISP, disaster-tolerant medium for private communication would be amazing.

I am not a licensed ham so this question is naive: If the major concern of allowing private communication over amateur bands is an influx of private commercial communication, then could bandwidth limits, protocols, signatures (amateur-vs-commercial), and enforcement be worth at least a trial? Perhaps on a new or limited existing band?

A government-run experiment to address demand for this limited public resource seems reasonable.

Re:Show HN: A new protocol for packet radio including ECDSA ... by janoc on Monday September 24, 2018 @01:32PM (#18059593)
If you want that, there are plenty of ISM bands and loads of cheap equipment you can use to build such "decentralized, no-carrier/ISP, disaster-tolerant medium for private communication" (aka internet ...)

HAM radio bands are meant for R&D work, learning and basically hobby stuff, not to replace internet or phone services - in fact, the regulations explicitly forbid such use.

Re:Show HN: A new protocol for packet radio including ECDSA ... by mmirate on Monday September 24, 2018 @08:07PM (#18062564)
Then why is it the hams from whom we hear about such feats as "ionosphere skipping", and not any makers of 2.4GHz equipment?
Re:Show HN: A new protocol for packet radio including ECDSA ... by brians on Tuesday September 25, 2018 @10:26AM (#18066559)
Well, in part because the maximum usable frequency of the ionosphere tops out around 30-60 MHz?
Re:Show HN: A new protocol for packet radio including ECDSA ... by mmirate on Tuesday September 25, 2018 @12:34PM (#18067846)
Got it, so a meshnet using ISM bands is limited by the radio horizon, meaning that unless the equipment is produced in very high numbers, the links won't be close enough to connect at all, outside urban areas or perhaps a few towns.
Re:Show HN: A new protocol for packet radio including ECDSA ... by nanomonkey on Monday September 24, 2018 @08:58PM (#18062757)
Re:Show HN: A new protocol for packet radio including ECDSA ... by int_19h on Monday September 24, 2018 @06:46PM (#18062135)
> A decentralized, no-carrier/ISP, disaster-tolerant medium for private communication would be amazing.

That can be done without encryption, though.

Take a look at Broadband-HamNet. It's exactly all these things.

Re:Show HN: A new protocol for packet radio including ECDSA ... by ColanR on Monday September 24, 2018 @04:48PM (#18061292)
Anyone else get a certificate error on the princeton website?
Re:Show HN: A new protocol for packet radio including ECDSA ... by janoc on Monday September 24, 2018 @01:29PM (#18059565)
If encryption was allowed, all that would happen is that people would start to use HAM bands as a cheap way to wirelessly connect to the internet or to build private communication links. Totally negating their purpose.

If you are after this (why would otherwise the lack of encryption be a problem for you?) there are both better bands and cheap hw to serve such commercial traffic needs (and, in fact, regulations in many countries explicitly outlaw use of HAM bands for traffic that can be better carried by other services - including the FCC in the USA - so even if crypto was legal, it would still be illegal).

And re amateur radio "dying" - that you don't hear anyone apart from a few old geezers chit chatting on a local repeater doesn't mean it is dying. There is a lot more to HAM radio than this - e.g. stuff like amateur radio satellites, APRS, all that SDR stuff, building digital networks, experiments with radar or even good old HF contesting. Or people simply enjoy building stuff and having the ticket lets them do it legally (some countries don't allow you to own HAM radio equipment without license).

HAM radio is far from dying, just it may not be what you imagine as a HAM radio - a bearded guy in his 60s ragchewing on HF ...

(I am a HAM operator myself)

Re:Show HN: A new protocol for packet radio including ECDSA ... by wedowhatwedo on Monday September 24, 2018 @12:21PM (#18058965)
Yes, if encryption was permitted, there would be a ton of interest...by commercial companies. Non-licensed users would out number licensed ones by huge amounts. It would put an end to amateur radio.
Re:Show HN: A new protocol for packet radio including ECDSA ... by tlrobinson on Monday September 24, 2018 @12:58PM (#18059278)
Requiring messages be signed by and for keys belonging to licensed amateurs might be sufficient to discourage abuse.
Re:Show HN: A new protocol for packet radio including ECDSA ... by wedowhatwedo on Monday September 24, 2018 @03:07PM (#18060447)
That's what this project does. It does signing, just not encryption. I would argue that this is OK legally.
Re:Show HN: A new protocol for packet radio including ECDSA ... by tlrobinson on Monday September 24, 2018 @03:37PM (#18060730)
I understand. I’m suggesting we could allow actual encryption if the messages were also signed such that the sender and recipient (but not the content) were known.

Abuse would require two licensed amateurs to cooperate to break the law and use the bands for commercial purposes. It would be easier to investigate suspected abuse (compared to unsigned encrypted messages, but not cleartext messages, of course)

Re:Show HN: A new protocol for packet radio including ECDSA ... by janoc on Monday September 24, 2018 @01:34PM (#18059607)
And how would you distinguish licensed users from unlicensed ones if the messages are encrypted?

Heck, the authorities have problems policing the bands even without having to deal with crypto.

Re:Show HN: A new protocol for packet radio including ECDSA ... by tlrobinson on Monday September 24, 2018 @03:38PM (#18060738)
Licensed amateurs would be required to register the public keys (not private keys, of course) they want to to sign messages on amateur bands.
Re:Show HN: A new protocol for packet radio including ECDSA ... by mycall on Monday September 24, 2018 @09:08PM (#18062796)
I prefer the other idea.. open up more frequencies to amateur radio with different restrictions. When I scan the frequencies, there is SO much that isn't being used.
Re:Show HN: A new protocol for packet radio including ECDSA ... by jasonjayr on Monday September 24, 2018 @12:18PM (#18058948)
This project seems to just implement signatures + verifiability to clear text messages, which I think(I am not a HAM), is allowed under the rules.
Re:Show HN: A new protocol for packet radio including ECDSA ... by dbcurtis on Monday September 24, 2018 @11:05AM (#18058272)
AFAIK it dates back to the 1930’s when spy networks were HF Morse code. Clandestine ops used HF morse well into the 1970’s, perhaps later.

Pretending to be a ham was a form of cover.

Sadly, being a cracker-jack Morse code operstor doesn’t get you a job with the NSA any more :) Technology has moved on.

Re:Show HN: A new protocol for packet radio including ECDSA ... by brians on Monday September 24, 2018 @11:35AM (#18058556)
Well, not the NSA, no—but the same skills that help with Morse are still helpful for radio listening.

The prohibition on scrambled meaning long pre-dates WW2, and goes back to old analogies about fencing a commons.

Re:Show HN: A new protocol for packet radio including ECDSA ... by souterrain on Monday September 24, 2018 @11:02AM (#18058249)
I believe the motivation is that the Amateur service is largely self-policed. If communications are encrypted, it becomes harder to encourage such self-enforcement.
Re:Show HN: A new protocol for packet radio including ECDSA ... by M0 on Monday September 24, 2018 @12:20PM (#18058964)
This one is not encrypted. Its plaintext or compressed (gzip I think). Crypto is only for digital signatures.
Re:Show HN: A new protocol for packet radio including ECDSA ... by sneak on Monday September 24, 2018 @01:58PM (#18059811)
What if you used a nonstandard proprietary compression algorithm? Does non-encrypted have to mean “widely documented/implemented compression”?
Re:Show HN: A new protocol for packet radio including ECDSA ... by dokument on Monday September 24, 2018 @12:55PM (#18059251)
Another reason. If encryption was allowed then you would have a lot of commercial use on public bands but you couldn't enforce it, etc. It would ruin the public bands for everyone.
Re:Show HN: A new protocol for packet radio including ECDSA ... by vectorEQ on Monday September 24, 2018 @11:15AM (#18058369)
because they can't intercept your keys so cleverly as when on the internet ;)