by tptacek · 10y ago · 0 comments
I thought one of the motivations behind this library was that you did not need to be an "expert" to use it.
Even using NaCl, one needs to understand enough of what's happening under the hood to properly reason about the security of the whole system they've built.
https://github.com/TLINDEN/pcp/blob/master/libpcp/crypto.c#L...
That's, like, 5 minutes worth of looking, most of it spent working out how to get from main() to the part of the code that actually starts taking attacker-controlled inputs; we're about 10 lines into the code that handles those inputs. Is that a real vulnerability? Hell if I know, but I'm scared of this code.
Which is not to say I don't like it. There's a small utility function in there I'm stealing! The author is clearly smart and I hope this was an interesting project for them. But I don't recommend using this for real --- and I think neither does the author.
Are you saying that people should use CPGB? Are you saying that CPGB is better than pcp because you think the author of CPGB is more of an expert than the author of pcp?
Did you notice the pcp author actually tried to write tests, whereas there are no tests in CPGB?
BTW, the last commit to CPGB was on Dec 19, 2011.
I've nothing against CPGB and I'm not familiar with pcp but I think this "expert" thing is ridiculous.
I've talked to way too many people that want to make contributions to improve security software, including crypto software, but get scared away because of the implied and explicit discouragement due to such appeals. It's holding our industry back and slowing us down.
In this case, though, all I'm saying is that if you want to read an ECC software package with a GPG-like interface, there actually already is one that was authored by an expert. Whatever you think about newcomer cryptography, expertise has value.