Travelers at Logan Airport's Terminal C were surfing their phones and drinking coffee, waiting to board a flight to Aruba, when suddenly a JetBlue agent popped up on the loudspeaker with an announcement.

"Today, we do have a unique way of boarding the aircraft," the agent explained. "We'll be using a new self-boarding process that takes a quick photo capture so you can board without presenting your boarding pass, passport or other travel documents."

The agent was referring to a facial recognition pilot program on daily JetBlue flights between Boston and Aruba. It's the first trial between an airline and U.S. Customs and Border Protection (CBP) to use facial recognition in place of boarding passes.

Officials with JetBlue insist this new boarding method is about customer convenience. But JetBlue isn't the only party involved. CBP is sifting through facial data on the back-end, verifying the identity of travelers. And for the federal government, this new boarding method is about national security more than ease.

Passengers line up in front of a camera for biometric boarding. (Robin Lubbock/WBUR)

Regardless of the motive, on a recent morning, many Logan travelers seemed eager to try the new technology. Most people were choosing to use their face in lieu of a barcode, even though, for now, the facial recognition system is voluntary.

"Typically, when I travel I have my three kids with me, and I travel alone with them," said Michelle Moynihan, from Cape Cod, who was en route to a wedding in Aruba. "They’re all under age 10, so flipping through multiple boarding passes on my phone, making sure I have all the kids, all the backpacks, all the suitcases can be cumbersome and frustrating." She said facial recognition would make traveling easier for her.

Moynihan lined up, as if she were going through the normal boarding process. But instead of showing her ticket as she was about to walk onto the jet bridge, she stepped up to a camera about the size of a shoebox on a stand.

It took her photo, comparing her picture to a preloaded photo databased of all the passengers with tickets on this flight, and then she got a check mark, indicating she was cleared to board.

The whole process took about five to six seconds.

Michelle Moynihan gets approval to board. (Robin Lubbock/WBUR)

"Our initial tests are showing about a five-second process, but we're pretty confident that as the technology gets better and as we learn through this trial, that it will get faster," said Joanna Geraghty, JetBlue's VP of customer experience.

The Aruba experiment is expected to last somewhere between 45 and 90 days.

JetBlue is pitching this idea of facial recognition as a matter of convenience for travelers.

"You will not need to take your passport out when you board a flight at the gate because your face will be essentially your boarding pass," Geraghty said.

But it's also part of a broader push by Customs and Border Protection.

"This is really a trial to prove a way of doing biometric exit as part of the airline boarding process," said Sean Farrell, portfolio director for government solutions at SITA, the technology company that's running the experiment.

SITA is an airline IT cooperative that's responsible for much of the airport tech you see, such as the customs kiosks travelers use when they reenter the country.

"We're basically capturing that picture at the boarding gate, providing it to U.S. Customs and Border Protection. They're identifying the traveler," Farrell said. "It's actually the U.S. government that's implementing the biometric matching system that does all the hard analysis and crunching of the data."

Terminal C at Logan Airport (Robin Lubbock/WBUR)

A biometric exit system to track non-U.S. citizens using their faces or fingerprints has long been a congressional mandate, particularly after 9/11, to improve border security and identify people who've overstayed their visas. But in 2001, the technology and the computing power wasn't powerful enough. Now, both the technology and the politics are ripe. Facial recognition experts say we've reached a point where the algorithms are more accurate. And the Trump administration has called for an expedited implementation of the national biometric exit system.

When it comes to security and ease, Farrell sees a future — not too far off — where our faces could become our IDs.

"The endgame is that, you know, in a few years time you'll be able to go through the airport basically just using your face," he said. "If you have bags to drop off you'll be able to use the self-service system and just have your face captured and matched. You'll then go to security, the same thing. And then you go to the boarding gate, and again just use your biometric."