6,663 karma · joined Feb 25, 2016 (10y ago) · 1,775 submissions
Previously AWS Cryptography (2019 - 2023).
Unless otherwise stated, my opinions are my own and do not reflect my employer.
https://scottarc.blog/about/
comment 9y ago · link · parent
There isn't such an analysis yet, but I intend to do one in the near future. We have a similar analysis for out-of-box security features of popular open source CMS: https://paragonie.com/blog/2016/08/on-insecurity-popular-ope...
Our security page has some of the audits we've done (at least, the ones we were permitted to publish) as well as our security advisories. https://paragonie.com/security
I'm pretty active in the PHP community and get looped into a lot of pull request discussions (e.g. https://github.com/facebook/php-graph-sdk/pull/552#issuecomm... for Facebook's SDK), but it's possible I've missed a few.
comment 9y ago · link · parent
These sort of things aren't obvious and can very easily (and justifiably) be blamed on the language itself.
A lot of PHP crypto libraries are very cavalier about using functions without understanding their implementation details.
https://github.com/devi/Salt/blob/fde775cf52402013efce812759...
https://github.com/phpseclib/phpseclib/blob/ab1da5ac1f2fa60b...
https://github.com/zendframework/zend-crypt/blob/9b7da4a6d4d...
Fortunately, most cryptography libraries these days just wrap OpenSSL and rarely implement their own ciphers or hash functions.
1113.
Cryptographically Secure PHP Development(paragonie.com ↗)
114 points · by CiPHPerCoder · 9y ago · 30 comments
comment 9y ago · link · parent
Whoa, that's almost double the estimated mortgage for the 5 bedroom houses with an acre of land my family has been looking at purchasing.
I'll never move to the SF Bay Area. I encourage others not to, either. Get the companies there to open up to remote employees instead.
1116.
Cryptographically Secure PHP Development(paragonie.com ↗)
2 points · by CiPHPerCoder · 9y ago · discuss
1117.
Cryptographically Secure PHP Development(paragonie.com ↗)
1 points · by CiPHPerCoder · 9y ago · discuss
1118.
Is Digital Privacy a Privilege of the Wealthy?(tisiphone.net ↗)
2 points · by CiPHPerCoder · 9y ago · discuss
comment 9y ago · link · parent
I sincerely wish you the best of luck. I think it's a valuable-to-society idea, even if it was hard to market.
comment 9y ago · link · parent
That won't happen. But not for lack of trying!
My consulting company, Paragon Initiative Enterprises, has produced over a dozen high quality open source projects that make it easier to write secure PHP software.
For starters, we wrote an entire CMS that has secure automatic updates baked into its core as a first-class feature (including for extension developers): https://paragonie.com/project/airship
Worried about SQL injection? EasyDB makes it easy and intuitive to use prepared statements. https://github.com/paragonie/easydb
Need Content-Security-Policy headers quickly and easily? You want CSP-Builder: https://paragonie.com/project/csp-builder
Want all the security of libsodium with an even simpler interface and a separate class for dealing with the filesystem? Check out Halite: https://paragonie.com/project/halite
Want to stop CSRF (including replay attacks)? https://github.com/paragonie/anti-csrf
Want to quickly examine the differences between two PHP Archives (e.g. for reproducible builds)? https://github.com/paragonie/pharaoh
We even wrote the community's accepted interface for generating cryptographically secure random numbers in PHP 5 projects: https://github.com/paragonie/random_compat
And coming soon (pending an audit), a pure-PHP implementation of libsodium that will likely be adopted by WordPress so its automatic updates are Ed25519 secured: https://github.com/paragonie/sodium_compat
And even more: https://paragonie.com/projects
Guess how many clients we've gotten from all this open source software we wrote over the past two years that demonstrably improves the security posture of software written in PHP?
Zero.
My solution: Our next project isn't going to be OSS, and it's unlikely that any of our future ones will be unless it's intended to be a giveaway.
The open source + consulting business model may sound good in theory, but it simply doesn't work. (Though, I will grant that it's possible that the "consulting about someone else's open source project" is more sustainable, due to near-zero investment in said project itself.)
comment 9y ago · link · parent
Need to shore up the security of your web-based software? Need someone who can work within real-world security requirements?
PHP powers over 82% of websites on the Internet today, though it's often shunned by other information security professionals. For most companies, rewriting everything from scratch in a different language is not a viable strategy for minimizing the risk to themselves or their customers.
Is it possible for software written in PHP to be secure (in spite of what other security experts say)? Yes. If you still have doubts, get in touch.
My research and professional background mostly consists of software development, web application security, applied cryptography, code auditing, and penetration testing.
You may find much of my recent open source security research here: https://paragonie.com/security/advisories
A sample of PHP projects I've developed or contributed to significantly:
- random_compat - PHP 5 polyfill for the CSPRNG functions introduced in PHP 7; this security library has over 19 million installs according to Packagist - https://github.com/paragonie/random_compat
- sodium_compat - A pure-PHP implementation of much of modern elliptic curve cryptography and (AEAD) symmetric encryption - https://github.com/paragonie/sodium_compat
- CMS Airship - A secure-by-default content management system - https://paragonie.com/project/airship
- CSP-Builder - A developer utility to promote the adoption of Content-Security-Policy headers - https://github.com/paragonie/csp-builder
I can be reached via https://paragonie.com/contact or email: security@paragonie.com
comment 9y ago · link · parent
I literally do not have the time to build this, as I'm busy trying to make PHP secure.
I just spitballed an idea and passed it along hackers who gave me feedback.
I don't want to be contractually tied to VCs either.
Just, if you like the idea, take it. Run with it. Make it successful. Use modern crypto. It's yours.
Maybe see if the folks that run Snopes are interested?
comment 9y ago · link · parent
Sure, I'm not saying this RFC is misguided, just outdated and people should use Curve25519 or Curve448 for their ECDH/EdDSA needs (and stop using foot-bullety ECDSA).
comment 9y ago · link · parent
I sort of decide what words mean to me, publish them, and then stick to those definitions (while pointing anyone confused towards the published definitions).
There's probably a better way to classify these ideas without tripping over other peoples' lexicographic pedantry, but this is the Internet and you're always going to find a contrary opinion no matter what you do. The winning move is to not play.
Thus:
talent: natural affinity
skill: aptitude gained through effort
gifted: a person who is both talented and skilled in an areacomment 9y ago · link · parent
Mastery does not obviate humanity.
The most gifted (which I define as the cross-section between talented and practiced) people I know tend to care more about the content of your character than your technical prowess.
comment 9y ago · link · parent
comment 9y ago · link · parent
https://www.youtube.com/watch?v=d-7o9xYp7eE
If you record in your journal anything that can be perceived to place you near a crime, whether or not you're guilty or the association is a stretch of the imagination, then your words can be used against you without your right to invoke the 5th amendment. If the journal was seized in the execution of a search warrant, you lose the 4th amendment protections too.
The winning move is to not play.
comment 9y ago · link · parent
Also, not all gay people are monogamous! That makes things complicated if you are. Your dating pool dwindles smaller and smaller.
> Every day I think about how lucky I am to have met the guy I am with, now 15 years ago.
Good on ya. :)
1138.
WordPress to get digitally signed updates (Ed25519)(ma.ttias.be ↗)
3 points · by CiPHPerCoder · 9y ago · discuss