2 ms·
From a security standpoint, I'm actually relieved that 3rd party operated airport lounges don't have direct apis to match passengers to flights. I'm sure there
by tyingq 9y ago
From a security standpoint, I'm actually relieved that 3rd party operated airport lounges don't have direct apis to match passengers to flights.
I'm sure there's some middle ground solution that protects info, but I'd prefer this situation to the polar opposite of unfettered API access.
This seems to be a deliberate case of light protection on purpose...not much is lost if you grant access. I can sneak into a local gym easy enough as well by catching the door before it shuts.
- curun1r 9y agoThis is a case where the airline should sign the information in the QR code. Lounges get the airlines' public keys and pick the one for the passenger's flight and, after verifying the signature, can trust the information in the QR code. No API access necessary. Don't over think, just use HMAC. It's disturbing how often that advice is needed.
- tyingq 9y agoYes, that's a solution, but the boarding pass is used by different entities like the TSA. So it's unsurprisingly a big political event to change what's encoded. It's similarly surprising how often devs think the problem is solely technical :)
- saryant 9y agoAFAIK the portion of the barcode related to the TSA actually is signed in some cases. That's part of the integration required for airlines to let their passengers use TSA PreCheck.