[Ground-station] Question about PRGN generated tokens for uplink authorization

Michelle Thompson mountain.michelle at gmail.com
Mon Jun 6 08:29:14 PDT 2022


Greetings all!

For uplink, we have a cryptographic challenge incorporated, for
authorization. The baseline is to let everyone talk through the
transponder, but authorization policies can vary from nearly zero to very
heavy.

Part of the process is a station generated token. We say “random” but
randomness is a hard subject in and of itself.

So, let’s talk about pseudorandom.

To get a pseudorandom number, we can use a pseudorandom number generator
(PRNG). With a PRNG, we will see an approximately 50% chance of collision
after generating the square root of the range. Square root of 2^32 is
65,536. So, if you generated a 32-bit random number, that’s quite a few
times before you get a collision.

The token and the claimed station ID are sent in the uplink.

The working discussion text file is here:
https://github.com/phase4ground/documents/blob/master/Engineering/Requirements/Air_Interface/Supporting_Discussions/Phase_4_Authentication_Authorization.txt

1) Any objections to using a PRNG for this field?

2) What length makes sense for a communications resource with a baseline of
~100 users (everyone has 100 kHz uplink) and maximum of ~1000 (if we use
low bit rate codecs and cram people in - not our baseline)?

There are a lot of things that could influence the size. Since the token is
sent every frame, it needs to be as small as possible. Since we don't want
collisions, it needs to be large enough. If it was a predictable number,
generated from station ID for example, or some sort of hash, then another
station could guess it and there are some abuse and malfunction scenarios
we would like to avoid.

The implementation of this approach will be in the uplink voice and data
protocol. Code and working document to be published as soon as we can get
initial work in the repository.

The name for the uplink voice and data protocol is Opulent Voice. The codec
choice is flexible, but the default is OPUS 16 kHz, hence partial
inspiration for the name. Target demo event is DEFCON at the earliest and
getting voice streams delivered to our FPGA encoder is the goal.

Thank you to everyone that has helped out and been supportive along the
way. It’s a privilege to be able to work with you all, and I believe this
system will be inconveniencing a lot of electrons very soon.

-Michelle Thompson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openresearch.institute/pipermail/ground-station-openresearch.institute/attachments/20220606/e5d5d759/attachment.html>


More information about the Ground-Station mailing list