Conversation

Q ✨ @ CoSin (DECT: 7960)

I believe, I have reversed engineered the signature on IATA boarding passes with TSA-PreCheck

I think it is ECDSA NIST-256 SHA-256. If anyone has any more TSA-PreCheck boarding passes they’re willing to share, would be useful to check I’ve got it right.

1
1
0

@q I think there are a couple of different algorithms, identified by the first digit in the signature field.

IIRC, PreCheck is designated by a "3" in the selectee field of a IATA BCBP-compatible boarding pass.

Previously, unsigned barcodes could get you through, but only with the PDF417 symbology.

That changed after this DEF CON presentation: https://youtu.be/qnq0UfOUTlM?t=2162

1
0
0

@q I did manage to pull off the firmware of one I got at a government surplus auction. It uses crypto++. Seems like a quality crypto library.

Unclear how well airlines have protected their signing keys. If they use a poor RNG, some DSA schemes let you recover the private key.

It is up to the airlines to sign their own boarding passes. Public keys are loaded through the USB ports on the boarding pass scanners.

1
0
0
@supersat @q I remember when you were asking for old boarding passes (to try to figure out how they were generating nonces, maybe?)
1
0
0