While I understand what you're saying here, I can't help but think of how many times my co-workers asked me something they could have easily looked up via Google. I can easily extrapolate that to a border guard, especially if there's an added benefit of harassing a guy you don't like.
My BS detector was pinging though that they even knew this guy had an open source project. If they were hassling him because of that, they had pre-knowledge of it and would know the answer to that question. If on the other hand they just pulled him out of the line and started giving him the 3rd degree because he 'looked like the type' and then got this 'crypto thing' and then tried to exploit that for some other reason, well that would be more like typical TSA protocol.
There's a whole line of reasoning behind their questioning tactics that extends beyond getting to the facts. That's why the best legal advice is simply to not say anything, because they are not in any way shape or form on "a quest for the truth".
they also need to engage the subject in a conversation and may ask most banal/unrelated questions, as well as keep asking the same question in a different way.
That's the second Google search result for Cryptocat.
Whatever that means, it could just as well be 22 years including VB, Fortran, C, in areas unrelated to crypto, or for what it's worth, Solitaire and Excel. If he's an old-timer he may not even have heard of version control or that opensource means that code is public for anyone to read.
From cryptocat front page: "Messages are encrypted inside your own browser using AES-256"
Link to source on top right: https://project.crypto.cat/
The comment "It’s an open source encrypted, private alternative to other services such as Facebook chat." and then the comment from an alleged interrogator, “The interrogator (who claimed 22 years of computer experience) asked me which algorithms Cryptocat used and about its censorship resistance.” really set off some bells.
If it's open source, then git/svn/cvs pull a copy of the repo and read the code. No need to interrogate the guy. And second the DHS doesn't have any history of going after folks simply because they write some open source software.
Now could the guy be detained for other reasons? Sure. But this feels more like a troll to generate buzz for his app which seems to be on a few warez sites. My quick look at Github and Sourceforge didn't find it there.