mrinal (@mrinal) header
mrinal (@mrinal) profile picture

Building something new. Previously: CTO at Autonomy

San Francisco Bay Area
Joined November 2007
Photo by mrinal (@mrinal)Photo by mrinal (@mrinal)Photo by mrinal (@mrinal)Photo by mrinal (@mrinal)Photo by mrinal (@mrinal)Photo by mrinal (@mrinal)Photo by mrinal (@mrinal)Photo by mrinal (@mrinal)Photo by mrinal (@mrinal)Photo by mrinal (@mrinal)
mrinal retweeted
Two decades of progress in public-key cryptography, and everything is now bigger, slower, less trusted, and less well understood than it was twenty years ago. And crypto agility is once again a necessity.
1
4
43
1,945
If P-256/x25519 becomes practically breakable but P-384 remains secure, all signature_algorithms and supported_groups with vulnerable curves should be removed entirely on both the client and the server to preserve forward secrecy in TLS 1.2. De-prioritization is not enough.
Ok, hear me out. If P-256 is broken, then we may finally have found CurveSwap. eprint.iacr.org/2018/298 I guess this means we should TLS 1.2 off completely, right? @lukevalenta @nadiaheninger @asanso
8
11
96
9,672
Same accuracy but faster is a really good result. I suspect same accuracy but cheaper is also true.
So glad these graphs are getting out to cut through the noise.
1
1
200
Different problems will have different bounds on how much cheaper and faster. That’s what we should weigh against possible complexity.
24
Sometimes it can be easy, othertimes very hard. Years ago, I was involved in installing thousands of low-power physical devices on streets of many cities around the world. These devices could only do symmetric key cryptography. So we built specialized provisioning devices that gave them symmetric keys either in the factory or at install time. Relatively easy and the resulting security posture was very good. In contrast, boot strapping symmetric key trust for an internet scale service is really hard in the absence of asymmetric key cryptography.
People say that symmetric cryptographic key distribution is hard, which it is, but that's not to say that it's impractical. For example, you likely have multiple payments cards in your possession right now that each share unique symmetric cryptographic keys with their issuers.
97
Once you successfully distribute a symmetric key. We can get the forward secrecy property by ratcheting the symmetric key - compromising a current key does not allow an attacker to decrypt past messages. We can't get the post-compromise security property - a compromise of a current key only exposes messages for a short time, then the channel heals itself using a ratchet of an asymmetric key exchange (diffie-hellman). It would be really nice if some asymmetric key exchange primitives continue to hold.
People say that symmetric cryptographic key distribution is hard, which it is, but that's not to say that it's impractical. For example, you likely have multiple payments cards in your possession right now that each share unique symmetric cryptographic keys with their issuers.
172
See? This is why you don’t cry wolf. I’ve been on and off the phone since 2am with people trying to figure out what’s real and what’s marketing. Because we all just spun up incidents about PHP - no mass exploitation (still 25 million vulnerable servers out there btw) Nginx - no mass exploitation Ssh- no mass exploitation And that’s just this month. And I’m leaving off dozens of other crits that had less branding. We don’t know when to react like an emergency because we’ve all been screaming wolf at each other non stop for weeks. You’ve taken an already thankless cost center of a team with years of squeezing stones and wondering why no more blood is coming out.
23
61
6
482
23,987
Had to upgrade a few anchored SSH keys / server configs Vercel already serves post quantum certs. So my website was good. GitHub’s ssh layer does not support post quantum primitives Age encryption supports post quantum keys. Upgraded that. Several home devices don’t have an easy path - for example the admin interfaces of both my internet router and my printer that are exposed only on the internal network don’t have an an easy upgrade path.
Strangely it’s good that we got a poorly executed but convincing assessment earlier in the week that the post-quantum primitives are okay. At-least we’re not losing confidence in all asymmetric primitives in one go. Also good that we’ve been preparing for this transition for years. A subset of things in my personal posture inventory are already post-quantum.
1
2
159
Strangely it’s good that we got a poorly executed but convincing assessment earlier in the week that the post-quantum primitives are okay. At-least we’re not losing confidence in all asymmetric primitives in one go. Also good that we’ve been preparing for this transition for years. A subset of things in my personal posture inventory are already post-quantum.
If trust in asymmetric key exchange protocols breaks, we may have to go back to in-person symmetric key exchange ceremonies similar to key-signing parties of the past.
1
1
224
Do not ignore this. Do not underestimate it. Yes, we were briefed on something. Yes, it’s a big deal. No, we can’t give you all the details yet. But it is urgent to move encrypted systems to post-quantum (maybe more appropriately called post-AI) standards.
Joint statement from Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, Oracle, and SpaceX on transition to post-quantum cryptography: We strongly support the guidance issued by the U.S. government urging organizations to move to the algorithms in the National Institute of Standards and Technology (NIST) Post-Quantum Cryptography (PQC) standards and to accelerate the migration as soon as possible. We are working to support organizations and governments in implementing this change across the Internet. Read more: cfl.re/49fhK3H
There's a new version of this post
3,948
6,737
5,807
41,813
16,550,444
Some thoughts from an older world.
I’ve had a few people write to ask me to follow up on a (reply!) tweet I wrote that’s gotten a lot of retweets. I considered deleting it just to avoid the headache, but I think that would make people more paranoid. So let me share my thoughts.
8
11
1
123
19,346
Looks like Amazon is going to do what I thought Nvidia would (and still might, especially with Jensen back): commoditize the model and monetize at the hardware and cloud level. Good for consumers and for freedom to have multiple Western firms pursuing that strategy.
Ergo is a new open model from Amazon. 1.1 trillion parameter mixture-of-experts model, 55 billion active parameters per token. Fine-tune it, modify it, and build it into your commercial products. Run it on your hardware or on Bedrock. (1 of 4)
13
55
4
942
19,880
Deeply agree. Trying to think of "core products" in history that successfully executed a hard pivot. I bet there are strategy lessons there.
I think in the AI era where we will ship faster than ever, executives, CEOs, CTOs, any roadmap affecting decision makers will either thrive or die fast. Execs suffering from “strategy tax” where a core product refuses to let go of its past and make bold pivots will get schooled
1
1
270
If trust in asymmetric key exchange protocols breaks, we may have to go back to in-person symmetric key exchange ceremonies similar to key-signing parties of the past.
"If you can actually pre-share a key over a secure offline means, the security of the WireGuard protocol comes down to breaking that 256-bit ChaCha20 key, which isn't going to happen, rather than any asymmetric primitive."
1
1
238
I was about to share this internally but decided to publish it instead. Systems research is the new job, rakyll.org/systems-research/. It means having to drive deep cultural changes in how things are built and recognized.
22
92
17
767
60,661
Codex locked itself out while I was sleeping. 🤷‍♂️ Best I can tell is it was building an image based on wolfi from @chainguard_dev. A scanner reported a CVE in glibc in that base. Most likely this is not a problem but the scanners can't tell github.com/wolfi-dev/os/issu… Codex tried to investigate that further and then the "is this cybersecurity work?" classifier built into Codex decided it is "cybersecurity work" and locked itself. Now I'm stuck. The false positive rate on these classifiers is so high. @OpenAIDevs @OpenAI please help.
6
2
2
555
Replying to @mrinal
Recovered. Other codex threads were working, just this one was blocked. Months ago I had created a skill that installs as a hook and remembers whats going on in a conversation very frequently github.com/mrinalwadhwa/ai/b… So a separate codex thread was able to use that state and the blocked thread's codex transcript to recover,
26
Trying to think of a plan to recover from this. Best I can think of is an open model doing context surgery. Wonder how others handle these dumb blocks
Codex locked itself out while I was sleeping. 🤷‍♂️ Best I can tell is it was building an image based on wolfi from @chainguard_dev. A scanner reported a CVE in glibc in that base. Most likely this is not a problem but the scanners can't tell github.com/wolfi-dev/os/issu… Codex tried to investigate that further and then the "is this cybersecurity work?" classifier built into Codex decided it is "cybersecurity work" and locked itself. Now I'm stuck. The false positive rate on these classifiers is so high. @OpenAIDevs @OpenAI please help.
1
1
152
Recovered. Other codex threads were working, just this one was blocked. Months ago I had created a skill that installs as a hook and remembers whats going on in a conversation very frequently github.com/mrinalwadhwa/ai/b… So a separate codex thread was able to use that state and the blocked thread's codex transcript to recover,
1
1
39
Bezos posting about an open model and all I can hear is “your margin is my opportunity.” If Amazon is happy making 6% on inference, the entire AI stack is about to discover it was someone else’s margin 🤣
Ergo is a new open model from Amazon. 1.1 trillion parameter mixture-of-experts model, 55 billion active parameters per token. Fine-tune it, modify it, and build it into your commercial products. Run it on your hardware or on Bedrock. (1 of 4)
11
75
4
2,585
72,329