We designed PASETO in 2018 to give software developers a cryptographically secure alternative to JSON Web Tokens. This year, we've been shipping post-quantum cryptography for the PHP ecosystem.
Today, those two workstreams intersect.
Recently, Google announced an aggressive 2029 timeline for migrating to Post-Quantum Cryptography. Earlier today, Cloudflare announced that they're matching Google on a 2029 roadmap.
It's high time the PHP community took this threat seriously as well.
Last year, we proposed a roadmap for getting post-quantum cryptography in the PHP ecosystem. We received a lot of valuable feedback in the discussions that followed and decided to shift gears a little.
Today, we're releasing two open source projects to help PHP software mitigate the risk of a cryptography relevant quantum computer (CRQC).
In August, NIST published FIPS 203, FIPS 204, and FIPS 205, the first standards for Post-Quantum Cryptography (PQC).
Though we do not yet have a cryptography-relevant quantum computer, it is important to begin adopting algorithms that will continue to be secure after one has been built in the future. NIST prioritized PQC to give the technology industry adequate time to migrate their cryptography. This decision was partly informed by the failure of NSA and NIST to migrate everyone off RSA and towards Elliptic Curve Cryptography, even years after they published Suite B.
As W3Techs has reported over the years, the majority of websites on the Internet whose server-side language is detectable are powered by PHP. It stands to reason that making these algorithms available to the PHP community could make an enormous difference in the adoption of Post-Quantum Cryptography.
Several years ago, we designed sodium_compat: a pure-PHP implementation of (most of) libsodium. It has since been installed over 60 million times, not counting WordPress.
Our goals with sodium_compat were as follows:
To repeat ourselves a bit, this was several years ago. The PHP community has evolved. WordPress now requires PHP 7.0 to function (although they do recommend 7.4). As of this writing, the oldest still-supported version of PHP is 8.2 (8.1 if you count "security fixes only"). We asked ourselves, and the /r/PHP subreddit, if anyone still even needs PHP 5 support in 2024.
The answer was a resounding, "No."
That's the background story, anyway. If you're a busy developer, the remainder of this post will be broken down into a Q&A format to explain what's changing, what's not changing, what you need to do, and whether you need to do anything.
Since our company's inception in 2015, we've sought to make the Internet more secure for everyone.
Up front, this required doing a lot of the sort of work that benefits society but most companies wouldn't invest time or money in:
So why did we?
We reasoned that, in the long term, simply doing important work that benefits everyone is cheaper than airtime when it comes to advertising a security consulting company.
(And we were right! Our clients have been keeping us very busy. Hence, the drop in update frequency for our company blog for the past few years.)
However, we didn't get a lot of practice with marketing or advertising, which means some of the important work we've done over the years went unnoticed. For example: Sigstore does 2/3 of what Gossamer does, but the Sigstore team hadn't heard about it until a recent Hacker News thread.
To correct this oversight, we thought it would be helpful to provide a recap of some of the projects we've worked on since our inception that are still active today, and most importantly, why they matter for the security of the Internet.
Will tomorrow bring costly and embarrassing data breaches? Or will it bring growth, success, and peace of mind?
Our team of technology consultants have extensive knowledge and experience with application security and web/application development.
We specialize in cryptography and secure PHP development.
Want the latest from Paragon Initiative Enterprises delivered straight to your inbox? We have two newsletters to choose from.
The first mails quarterly and often showcases our behind-the-scenes projects.
The other is unscheduled and gives you a direct feed into the findings of our open source security research initiatives.