06 Dec 2026
Planet Twisted
Glyph Lefkowitz: Don’t Panic!
This week, the National Security Agency released a statement advising "immediate transition to post-quantum cryptography". Renowned cryptography engineer Filippo Valsorda has heroically tried to explain it in simple terms. Cloudflare's CEO got in on the action. Every commentator out there is talking about how AI is breaking cryptography, crashing the Bitcoin market, and just generally freaking out. Muddying the waters are other things that Anthropic is up to; earlier in the week, the hastily-assembled Cryptography Incident Review Group released their "Initial Assessment of Anthropic's Findings on Lattice Cryptography", which included sentences like "A family of structured lattices called module lattices forms the basis of several NIST PQC standards".
Meanwhile major publications like the New York Times are writing about this, podcasters are joking about it being a "setting on your iPhone" and policymakers and tech giants alike are caught off guard and attempting to navigate public confusion and panic.
What Is Going On!?!?
Here's the one thing that I want you to internalize right away: if you're wondering, "do I need to worry about this?" then you do not need to worry about this.
The problems being raised by these recent advances ought to be of little to no concern to the general public, and of relatively little concern even to most information technology professionals.
The rest of this post will be my best effort to explain, as briefly as I can, why that is the case.
I am not a cryptographer, and I am somewhat famously bad at math. I am not qualified to evaluate, in cryptographic terms, the significance of these findings; and, in any case, half of them seem to still be secret.
However, I am an on-again, off-again informational security professional and I know how cryptography interfaces with the rest of the technology we use.
Cryptography is a black box to me, but I know how to connect that box to the rest of the world, and I know how the people that make the box work amongst themselves.
What should I do!?!?
To avoid burying the key recommendations behind lots of explanation, let me give you the most actionable points first, assuming you are a regular person with a phone and a laptop:
Right now, you do not need to do anything. However, the discoveries in question suggest that if research continues at this pace throughout the upcoming year, you may be called upon to quickly update something at some point within that year, maybe as soon as 100 days.
Thus, if you want to soothe your anxiety by doing something today, the thing to do is to prepare so that the update in question is not a big deal if and when it does need to occur.
Update your operating system, update your applications, but most importantly, enable automatic updates for everything that supports it, so that this can stop taking up head-space for you. It really should not be your responsibility, and enabling automatic updates will place the responsibility onto the vendors of your network-connected technology, where it belongs.
If some urgent action is required later, it's probably going to be "upgrade your web browser and your operating system to [this version]" where [this version] is some version that has probably already been released for a week or two at the point that the announcement happens. If you've already enabled automatic updates, by the time such an announcement is issued, you'll already be up to date and you won't need to think about it.
You can check out the footnotes for more specific recommendations for programmers1 and system administrators2 if you have one of those roles, but before we get bogged down in the specifics, let's just give a high-level overview of what Cryptography even is to make sure we're all on the same page. (Cryptographers and cryptographic engineers, please stop reading here; the oversimplifications that follow are going to be very annoying to you.)
The Briefest Possible Explanation of how Cryptography Affects You
I've explained what I think you should do, and hopefully those steps were simple enough. But many people have already probably tried to give you various bits of conflicting advice, and maybe you're still anxious. So now I will explain, using some simple arithmetic, what is happening that is provoking all these stories and what impacts it might have.
You may have already heard that your information is "protected by cryptography". But this is an incomplete sentence. Protected from whom? Against what? As you might imagine for a field so large and complex, there are several different answers to this question but I am going to focus on the biggest one that affects the general public.
When you send information over the Internet, you want to limit the number of people who can read it. In particular, if you transmit something like your bank password to your bank, you want your bank to be able to read it, and nobody else. However, given the way the Internet works, all information is sent to a bunch of intermediary computers ("routers") that get it from you to its destination.
If this information were transmitted "cleartext", then anyone with access to any of those routers, any of the networks that those routers are attached to, or indeed any of the WiFi radio signals or or physical wires transmitting the data between you and your bank, could read all of your data. That adds up to a lot of unwelcome potential onlookers.
Thus, to keep your password secret, the interaction must work like this: your computer encrypts the information into "ciphertext". In the radio signals and on the wires, the only thing that an observer could see cleartext is that the information is headed towards your bank, but the information itself appears to be a bunch of random 1s and 0s. It has to be literally indecipherable. When it gets to the bank, it must then be decrypted so that the bank can check it. Any information the bank sends back to you (your balance, account numbers, etc) must be similarly obfuscated.
Thus, a cryptographic module is a black box that is mind-bendingly mathematically complex on the inside. But, the outside of the box is relatively simple: you put in a secret key and some cleartext, the box does some math on them, and you get ciphertext out; later, the bank puts in a secret key and some ciphertext and you get the cleartext.3
However, anyone with access to those wires and radio signals I mentioned previously can still capture the ciphertext. The idea is that this is supposed to be useless to them because they don't have the secret key required to turn it back into cleartext. (More on this later.)
However, a secret key is just a series of bits - zeros and ones. Any sequence of 1s and 0s can be represented by an integer, and so, anyone in possession of the ciphertext could simply try every secret key, one at a time, by counting. Secret keys have a certain number of bits; 128 is a popular number. There are only 340282366920938463463374607431768211456 different possible 128-bit keys, so, if you had a fast enough computer, you could just count from zero to 340282366920938463463374607431768211456, trying each and seeing if you got something that looked like cleartext back out. Cleartext does have easily-identifiable patterns, after all; the wrong secret key will get you binary gibberish but the right one will get you things that look like English words.
Let's say I captured all the data from your web browser talking to your bank for one banking session. If attempting to decrypt your data took 1 second per key, then I would be looking at your bank password, at the latest, 10790283070806014188970529154990 years from now.
If I had a trillion computers, all doing this in parallel, then our worst case4 would still take 10790283070806014188 years.
This is what actually what is protecting your data: the time it takes to do the math. The usual benchmark for a "good" cryptosystem is one where the earth will be consumed by the sun's expansion into a red giant (in about 5000000000 years) before the key can be cracked by brute force.
When we speak of cryptographic researchers finding a "weaknesses", what we are talking about is a mathematical shortcut, which lets them reduce that time by (for example) knowing in advance some portion of the key, so there are keys that they can skip over.
The usefulness of the black box that does its complex math problem rests on the assumption that the attacker in possession of our ciphertext actually needs to try every key. However, what if the ciphertext itself contains a clue about what they key is? Consider a shortcut that lets us read a block of encrypted traffic, do some arithmetic, and get the first 5 bits of the key out.
Cryptographers refer to this property as bits of security. A properly-functioning algorithm with a 128-bit key has 128 bits of security. But one with this weakness has dropped 5 bits, so we now only have 123 bits of security. That is worse. The quality of our cipher has degraded. Some cryptographers might even casually say that it is "broken", because it no longer lives up to its 128-bits-of-security claim.
Still, this "broken" cipher is hardly a risk in the real world. It's still got 10633823966279326983230456482242756608 keys you need to check. That's still an unfathomably long time. It's still 337196345962687943 years of worst-case guess time even in our trillion-computer scenario. Nothing for you to worry about.
However, when a cryptographic algorithm's strength starts getting reduced in this way, cryptographers start to worry. The fact that it has a previously-unknown weakness where the ciphertext is slowly leaking information about the secret key is dangerous. It implies that if some of the bits of security have been lost, there might be more tricks in there which could cause even more bits to be lost.
If the mathematicians keep pushing, it is possible that they will figure out that you can actually get rid of 100 bits of security, not just 5. If that kind of jump happens, now we are talking about 268435456 keys. At one per second, that's crackable in about 8 years. 8 years doesn't look like the heat death of the universe any more, that is a period in which your same bank account could quite plausibly be active. With our trillion-computer scenario, we could do it in nearly real time.
This is why totally impractical, absolutely unrealistic attacks are still of concern to cryptographers. That little reduction in safety carries the implication that the assumptions that underpin all of the safety the algorithm provides might be slowly coming undone. Maybe one day, with years more work, things might actually start getting serious. Time to start moving on and using stronger tools.
This is also why they should not be of any concern to you, if you don't already know exactly why you should be concerned.
When a cryptographic algorithm gets attacked like this, it's time for the relevant mathematicians to start thinking about a new mathematical black box, based on different rules. It's time for the relevant engineers to start changing systems to use that new math.
The design of modern cryptographic software explicitly allows for this process. Modern protocols already support different major cryptographic algorithms. They all have inscrutable names. There are so-called "asymmetric" algorithms like "RSA", "ECC", or "ML-DSA". There are "symmetric" ones like "AES-GCM", "ChaCha20Poly1305", and "hashes" like "sha256" and "BLAKE2b". And then there are "cipher suites" which combine these together in various arrangements, with charismatic and memorable names such as "X25519MLKEM768" or "sntrup761x25519-sha512".
Even if you are a software engineer, you probably do not want to learn these names. Some expert cryptographers and highly specialized security engineers will get together, discuss the best current options based on recent developments, and make any necessary changes legible to everyone else in the form of a software update. Adopting these updates promptly is the only action that everyone else can reasonably take, which is why my recommendations above are all about getting ready to update more quickly, and none of them were about doing esoteric manual security configuration.
It is not, in fact, a setting on your iPhone.
So why is all this happening now?
AI labs, OpenAI and Anthropic particularly, are presently dedicating enormous, unprecedented amounts of resources to abstract mathematical problems, some of which are highly relevant to cryptography, and can present attacks on certain algorithms. They have been having some apparent successes.
I say "apparent" because there is some debate about whether the results they are achieving are due to unprecedented capabilities of AI as a technology, or simply the fact that nobody's ever spent this much money, this quickly, on information security research before. There are also no public results with real practical impact yet, and it is unclear what the NSA has seen which provoked them to make this statement.
However, these results do appear, at least for now, to be both convincing and significant (if somewhat frustrating) to relevant experts. And, as the frontier labs pointed out in their own statement, if these results are possible to achieve with LLMs, lots of other people have access to advanced LLMs too, thanks in large part to the labs themselves and it is at least plausible that less public labs may be privately attempting to extend these results into practical attacks.
What does this have to do with Quantum?
In this context, the only thing you need to understand about quantum computers is that they are an extremely expensive, barely-real type of computer that can, in theory, do the types of math that are used in cryptography much faster.
We have known that quantum computers are theoretically possible, and might one day be a very big problem for cryptography one day, since 1994. The effort to migrate to so-called "post-quantum" cryptography, has been ongoing for quite some time.
Therefore, the "better" algorithms that software vendors are now trying to adopt more quickly, are all referred to as "post-quantum", because they were designed at a time when the big threat was quantum computers.
This is also why the NSA is talking about "accelerating" the transition to post-quantum cryptography, rather than "starting" it. The transition is already well underway, and has been for years. There are already good post-quantum algorithms, they are already in use, but lots of outdated systems, apps, and devices are still in place that just haven't been updated to take advantage of them yet.
What the NSA is saying is that you might not have decades to finish this transition, as previously thought. Quantum computers have been a theoretical threat for over 30 years, and they are still nowhere close to being a real threat today, but maybe if there are some big advances in quantum computing and some big advances in the underpinning mathematics, the really scary game-over scenario might happen sooner than we thought, in, say, 7 years rather than 50.
It's as if we were in 1992, preparing to update all our software for the Y2K problem, and then some Time Researchers discovered that although we're pretty sure it's 1992, it might actually be 1997 already, so we should probably get a move on. The problem is relatively well-understood, the solutions are already developed and known, and they have already been rolling out for years, but we might need to roll them out a bit faster than anticipated.5
There is some concern that a real-life quantum computer may be a practical attack vector within a decade, and when that happens, we may have to worry about so-called "Harvest Now, Decrypt Later" or HNDL attacks, where spies may capture enormous databases full of Internet ciphertext that would currently be useless to them.
However, this is not specifically a quantum phenomenon. HNDL attacks are also of some concern if mathematical breakthroughs allow a classical (i.e.: regular, not quantum) computer to break existing cryptography, and a promising direction for research towards a classical attack might just as well provoke spy agencies to start hoovering up enormous amounts of data today in the hopes that they might be able to do some spying on it in the future6.
It's a scary time in information security and there's a lot going on, but there is no point in getting spooked by scary-sounding technical terminology. There are significant developments happening right now - none of this even touches on the "hacking" that the frontier labs have recently claimed to do, that's a totally different subfield of information security - but in both cases, there's no threat to worry about beyond needing to keep your systems up to date.
And you already needed to do that.
Acknowledgments
Thank you to my patrons who are supporting my writing on this blog. If you like what you've read here and you'd like to read more of it, or you'd like to support my various open-source endeavors, you can support my work as a sponsor!
-
Prioritize updating your dependencies and make sure that you have something like Dependabot set up to make that process automatic. Focus more on increasing the velocity of your release automation and improving your integration tests, in case you need to make a release or a deployment in a hurry, than any particular ciphersuite selection or cryptographic software configuration.
If you want to make some change to your developer workflow, and you're still using SSH keys to access Git or GitHub, maybe switch all your remotes to HTTPS wherever possible. In the past, SSH key rotation fire drills have been considerably more labor-intensive and manual than the usual constant invisible key rotation happening with HTTPS. WebTrust certificate bundle updates come along with software updates for lots of other parts of the system and don't require specific manual intervention for every host.
In fact, ideally, you want to avoid any ciphersuite selection. If you need to manually select a ciphersuite right now to check some box for compliance, make sure to put "remove manual ciphersuite selection" to your backlog immediately, so that you can re-delegate this type of decision-making to your server software or certbot or whatever.
The reason to avoid manually encoding ciphersuite configuration in your software or your systems, and leaving it up to the update agility of the libraries you're using, is that the algorithm that you're picking as "good" today might be one of the ones you need to move away from tomorrow.
To put a fine point on it: the NSA's announcement has something to do with accelerating the move to PQC ciphersuites, even if we're not exactly sure what discovery they're gesturing at. But Anthropic's earlier announcement, although it is very much not a practical attack, is about weaknesses in PQC ciphersuites.
Right now, the NSA thing seems to be by far the more pressing one. They are specifically prescribing action, Google is actively banning the classical P-256 curve. The publicly-known lattice result is in no way practical, and thus, PQC suites are generally the more correct option at the moment. But this could change at some later point, as further research is done.
If you've got other software to write, you don't want to become an expert in this stuff, watching for developments day-by-day. Find a trustworthy library to delegate this to, and delegate it to them. ↩
-
Start making an inventory of your key and credential material. Document your rotation strategies for all of it. Practice doing some rotations, ideally with lower-impact systems first.
Learn, and write down, where all your SSL certificates and SSH keys are. The NSA's guidance is to update specific key types right now. For SSL, certbot will be updated to do the right thing, and you can probably let certificate renewal take care of it for you. For SSH, unfortunately, this is inherently a manual process, and you will need to know about specific key types.
Right now, you can do this for HTTPS and this for SSH. For any SSH client that can't switch to at least a p384 key, just generate a 4096-bit RSA key for now, and be prepared to switch to ML-DSA later when it becomes available. Again, the important thing is to inventory your keys persistently so that you can rotate them with less hassle as news arrives in the future, not to panic about getting them all rotated to the One Final Good Algorithm right now. ↩
-
Technically speaking what I am describing here is just symmetric private-key cryptography. This cannot really stand on its own; you may have noticed, for example, that I have not described the way that you and your bank agree on a secret key to begin with. There is math for that part too, but explaining it would increase the scope of this post too much; suffice it to say that it works similarly. There in fact are a bunch of other tools involved in the construction of a functioning internet cryptosystem, including public-key digital signatures, certificates, trust chains, and hash algorithms. However, they are all governed by the basic principles I'm outlining here about computational complexity; they all ultimately require (or are used to construct) a similar kind of black box. ↩
-
For simplicity's sake I'm talking about "worst case" times here where we guess every single key and it always happens to be the last one. Most real keys would lie somewhere in the middle of the distribution so on average you'd only end up having to guess half of these, but as the rest of the back-of-the-envelope math here shows, in real life you would never try this anyway. ↩
-
Except in this metaphor the Time Researchers work for the NSA and everybody feels like this is a super serious national security secret, so they won't actually tell anyone what year it is, just that it is "a somewhat later year than previously understood". ↩
-
This is a needle drop. To properly experience this blog post you actually need to play the song. ↩
06 Dec 2026 8:06am GMT
Planet Python
Glyph Lefkowitz: Don’t Panic!
This week, the National Security Agency released a statement advising "immediate transition to post-quantum cryptography". Renowned cryptography engineer Filippo Valsorda has heroically tried to explain it in simple terms. Cloudflare's CEO got in on the action. Every commentator out there is talking about how AI is breaking cryptography, crashing the Bitcoin market, and just generally freaking out. Muddying the waters are other things that Anthropic is up to; earlier in the week, the hastily-assembled Cryptography Incident Review Group released their "Initial Assessment of Anthropic's Findings on Lattice Cryptography", which included sentences like "A family of structured lattices called module lattices forms the basis of several NIST PQC standards".
Meanwhile major publications like the New York Times are writing about this, podcasters are joking about it being a "setting on your iPhone" and policymakers and tech giants alike are caught off guard and attempting to navigate public confusion and panic.
What Is Going On!?!?
Here's the one thing that I want you to internalize right away: if you're wondering, "do I need to worry about this?" then you do not need to worry about this.
The problems being raised by these recent advances ought to be of little to no concern to the general public, and of relatively little concern even to most information technology professionals.
The rest of this post will be my best effort to explain, as briefly as I can, why that is the case.
I am not a cryptographer, and I am somewhat famously bad at math. I am not qualified to evaluate, in cryptographic terms, the significance of these findings; and, in any case, half of them seem to still be secret.
However, I am an on-again, off-again informational security professional and I know how cryptography interfaces with the rest of the technology we use.
Cryptography is a black box to me, but I know how to connect that box to the rest of the world, and I know how the people that make the box work amongst themselves.
What should I do!?!?
To avoid burying the key recommendations behind lots of explanation, let me give you the most actionable points first, assuming you are a regular person with a phone and a laptop:
Right now, you do not need to do anything. However, the discoveries in question suggest that if research continues at this pace throughout the upcoming year, you may be called upon to quickly update something at some point within that year, maybe as soon as 100 days.
Thus, if you want to soothe your anxiety by doing something today, the thing to do is to prepare so that the update in question is not a big deal if and when it does need to occur.
Update your operating system, update your applications, but most importantly, enable automatic updates for everything that supports it, so that this can stop taking up head-space for you. It really should not be your responsibility, and enabling automatic updates will place the responsibility onto the vendors of your network-connected technology, where it belongs.
If some urgent action is required later, it's probably going to be "upgrade your web browser and your operating system to [this version]" where [this version] is some version that has probably already been released for a week or two at the point that the announcement happens. If you've already enabled automatic updates, by the time such an announcement is issued, you'll already be up to date and you won't need to think about it.
You can check out the footnotes for more specific recommendations for programmers1 and system administrators2 if you have one of those roles, but before we get bogged down in the specifics, let's just give a high-level overview of what Cryptography even is to make sure we're all on the same page. (Cryptographers and cryptographic engineers, please stop reading here; the oversimplifications that follow are going to be very annoying to you.)
The Briefest Possible Explanation of how Cryptography Affects You
I've explained what I think you should do, and hopefully those steps were simple enough. But many people have already probably tried to give you various bits of conflicting advice, and maybe you're still anxious. So now I will explain, using some simple arithmetic, what is happening that is provoking all these stories and what impacts it might have.
You may have already heard that your information is "protected by cryptography". But this is an incomplete sentence. Protected from whom? Against what? As you might imagine for a field so large and complex, there are several different answers to this question but I am going to focus on the biggest one that affects the general public.
When you send information over the Internet, you want to limit the number of people who can read it. In particular, if you transmit something like your bank password to your bank, you want your bank to be able to read it, and nobody else. However, given the way the Internet works, all information is sent to a bunch of intermediary computers ("routers") that get it from you to its destination.
If this information were transmitted "cleartext", then anyone with access to any of those routers, any of the networks that those routers are attached to, or indeed any of the WiFi radio signals or or physical wires transmitting the data between you and your bank, could read all of your data. That adds up to a lot of unwelcome potential onlookers.
Thus, to keep your password secret, the interaction must work like this: your computer encrypts the information into "ciphertext". In the radio signals and on the wires, the only thing that an observer could see cleartext is that the information is headed towards your bank, but the information itself appears to be a bunch of random 1s and 0s. It has to be literally indecipherable. When it gets to the bank, it must then be decrypted so that the bank can check it. Any information the bank sends back to you (your balance, account numbers, etc) must be similarly obfuscated.
Thus, a cryptographic module is a black box that is mind-bendingly mathematically complex on the inside. But, the outside of the box is relatively simple: you put in a secret key and some cleartext, the box does some math on them, and you get ciphertext out; later, the bank puts in a secret key and some ciphertext and you get the cleartext.3
However, anyone with access to those wires and radio signals I mentioned previously can still capture the ciphertext. The idea is that this is supposed to be useless to them because they don't have the secret key required to turn it back into cleartext. (More on this later.)
However, a secret key is just a series of bits - zeros and ones. Any sequence of 1s and 0s can be represented by an integer, and so, anyone in possession of the ciphertext could simply try every secret key, one at a time, by counting. Secret keys have a certain number of bits; 128 is a popular number. There are only 340282366920938463463374607431768211456 different possible 128-bit keys, so, if you had a fast enough computer, you could just count from zero to 340282366920938463463374607431768211456, trying each and seeing if you got something that looked like cleartext back out. Cleartext does have easily-identifiable patterns, after all; the wrong secret key will get you binary gibberish but the right one will get you things that look like English words.
Let's say I captured all the data from your web browser talking to your bank for one banking session. If attempting to decrypt your data took 1 second per key, then I would be looking at your bank password, at the latest, 10790283070806014188970529154990 years from now.
If I had a trillion computers, all doing this in parallel, then our worst case4 would still take 10790283070806014188 years.
This is what actually what is protecting your data: the time it takes to do the math. The usual benchmark for a "good" cryptosystem is one where the earth will be consumed by the sun's expansion into a red giant (in about 5000000000 years) before the key can be cracked by brute force.
When we speak of cryptographic researchers finding a "weaknesses", what we are talking about is a mathematical shortcut, which lets them reduce that time by (for example) knowing in advance some portion of the key, so there are keys that they can skip over.
The usefulness of the black box that does its complex math problem rests on the assumption that the attacker in possession of our ciphertext actually needs to try every key. However, what if the ciphertext itself contains a clue about what they key is? Consider a shortcut that lets us read a block of encrypted traffic, do some arithmetic, and get the first 5 bits of the key out.
Cryptographers refer to this property as bits of security. A properly-functioning algorithm with a 128-bit key has 128 bits of security. But one with this weakness has dropped 5 bits, so we now only have 123 bits of security. That is worse. The quality of our cipher has degraded. Some cryptographers might even casually say that it is "broken", because it no longer lives up to its 128-bits-of-security claim.
Still, this "broken" cipher is hardly a risk in the real world. It's still got 10633823966279326983230456482242756608 keys you need to check. That's still an unfathomably long time. It's still 337196345962687943 years of worst-case guess time even in our trillion-computer scenario. Nothing for you to worry about.
However, when a cryptographic algorithm's strength starts getting reduced in this way, cryptographers start to worry. The fact that it has a previously-unknown weakness where the ciphertext is slowly leaking information about the secret key is dangerous. It implies that if some of the bits of security have been lost, there might be more tricks in there which could cause even more bits to be lost.
If the mathematicians keep pushing, it is possible that they will figure out that you can actually get rid of 100 bits of security, not just 5. If that kind of jump happens, now we are talking about 268435456 keys. At one per second, that's crackable in about 8 years. 8 years doesn't look like the heat death of the universe any more, that is a period in which your same bank account could quite plausibly be active. With our trillion-computer scenario, we could do it in nearly real time.
This is why totally impractical, absolutely unrealistic attacks are still of concern to cryptographers. That little reduction in safety carries the implication that the assumptions that underpin all of the safety the algorithm provides might be slowly coming undone. Maybe one day, with years more work, things might actually start getting serious. Time to start moving on and using stronger tools.
This is also why they should not be of any concern to you, if you don't already know exactly why you should be concerned.
When a cryptographic algorithm gets attacked like this, it's time for the relevant mathematicians to start thinking about a new mathematical black box, based on different rules. It's time for the relevant engineers to start changing systems to use that new math.
The design of modern cryptographic software explicitly allows for this process. Modern protocols already support different major cryptographic algorithms. They all have inscrutable names. There are so-called "asymmetric" algorithms like "RSA", "ECC", or "ML-DSA". There are "symmetric" ones like "AES-GCM", "ChaCha20Poly1305", and "hashes" like "sha256" and "BLAKE2b". And then there are "cipher suites" which combine these together in various arrangements, with charismatic and memorable names such as "X25519MLKEM768" or "sntrup761x25519-sha512".
Even if you are a software engineer, you probably do not want to learn these names. Some expert cryptographers and highly specialized security engineers will get together, discuss the best current options based on recent developments, and make any necessary changes legible to everyone else in the form of a software update. Adopting these updates promptly is the only action that everyone else can reasonably take, which is why my recommendations above are all about getting ready to update more quickly, and none of them were about doing esoteric manual security configuration.
It is not, in fact, a setting on your iPhone.
So why is all this happening now?
AI labs, OpenAI and Anthropic particularly, are presently dedicating enormous, unprecedented amounts of resources to abstract mathematical problems, some of which are highly relevant to cryptography, and can present attacks on certain algorithms. They have been having some apparent successes.
I say "apparent" because there is some debate about whether the results they are achieving are due to unprecedented capabilities of AI as a technology, or simply the fact that nobody's ever spent this much money, this quickly, on information security research before. There are also no public results with real practical impact yet, and it is unclear what the NSA has seen which provoked them to make this statement.
However, these results do appear, at least for now, to be both convincing and significant (if somewhat frustrating) to relevant experts. And, as the frontier labs pointed out in their own statement, if these results are possible to achieve with LLMs, lots of other people have access to advanced LLMs too, thanks in large part to the labs themselves and it is at least plausible that less public labs may be privately attempting to extend these results into practical attacks.
What does this have to do with Quantum?
In this context, the only thing you need to understand about quantum computers is that they are an extremely expensive, barely-real type of computer that can, in theory, do the types of math that are used in cryptography much faster.
We have known that quantum computers are theoretically possible, and might one day be a very big problem for cryptography one day, since 1994. The effort to migrate to so-called "post-quantum" cryptography, has been ongoing for quite some time.
Therefore, the "better" algorithms that software vendors are now trying to adopt more quickly, are all referred to as "post-quantum", because they were designed at a time when the big threat was quantum computers.
This is also why the NSA is talking about "accelerating" the transition to post-quantum cryptography, rather than "starting" it. The transition is already well underway, and has been for years. There are already good post-quantum algorithms, they are already in use, but lots of outdated systems, apps, and devices are still in place that just haven't been updated to take advantage of them yet.
What the NSA is saying is that you might not have decades to finish this transition, as previously thought. Quantum computers have been a theoretical threat for over 30 years, and they are still nowhere close to being a real threat today, but maybe if there are some big advances in quantum computing and some big advances in the underpinning mathematics, the really scary game-over scenario might happen sooner than we thought, in, say, 7 years rather than 50.
It's as if we were in 1992, preparing to update all our software for the Y2K problem, and then some Time Researchers discovered that although we're pretty sure it's 1992, it might actually be 1997 already, so we should probably get a move on. The problem is relatively well-understood, the solutions are already developed and known, and they have already been rolling out for years, but we might need to roll them out a bit faster than anticipated.5
There is some concern that a real-life quantum computer may be a practical attack vector within a decade, and when that happens, we may have to worry about so-called "Harvest Now, Decrypt Later" or HNDL attacks, where spies may capture enormous databases full of Internet ciphertext that would currently be useless to them.
However, this is not specifically a quantum phenomenon. HNDL attacks are also of some concern if mathematical breakthroughs allow a classical (i.e.: regular, not quantum) computer to break existing cryptography, and a promising direction for research towards a classical attack might just as well provoke spy agencies to start hoovering up enormous amounts of data today in the hopes that they might be able to do some spying on it in the future6.
It's a scary time in information security and there's a lot going on, but there is no point in getting spooked by scary-sounding technical terminology. There are significant developments happening right now - none of this even touches on the "hacking" that the frontier labs have recently claimed to do, that's a totally different subfield of information security - but in both cases, there's no threat to worry about beyond needing to keep your systems up to date.
And you already needed to do that.
Acknowledgments
Thank you to my patrons who are supporting my writing on this blog. If you like what you've read here and you'd like to read more of it, or you'd like to support my various open-source endeavors, you can support my work as a sponsor!
-
Prioritize updating your dependencies and make sure that you have something like Dependabot set up to make that process automatic. Focus more on increasing the velocity of your release automation and improving your integration tests, in case you need to make a release or a deployment in a hurry, than any particular ciphersuite selection or cryptographic software configuration.
If you want to make some change to your developer workflow, and you're still using SSH keys to access Git or GitHub, maybe switch all your remotes to HTTPS wherever possible. In the past, SSH key rotation fire drills have been considerably more labor-intensive and manual than the usual constant invisible key rotation happening with HTTPS. WebTrust certificate bundle updates come along with software updates for lots of other parts of the system and don't require specific manual intervention for every host.
In fact, ideally, you want to avoid any ciphersuite selection. If you need to manually select a ciphersuite right now to check some box for compliance, make sure to put "remove manual ciphersuite selection" to your backlog immediately, so that you can re-delegate this type of decision-making to your server software or certbot or whatever.
The reason to avoid manually encoding ciphersuite configuration in your software or your systems, and leaving it up to the update agility of the libraries you're using, is that the algorithm that you're picking as "good" today might be one of the ones you need to move away from tomorrow.
To put a fine point on it: the NSA's announcement has something to do with accelerating the move to PQC ciphersuites, even if we're not exactly sure what discovery they're gesturing at. But Anthropic's earlier announcement, although it is very much not a practical attack, is about weaknesses in PQC ciphersuites.
Right now, the NSA thing seems to be by far the more pressing one. They are specifically prescribing action, Google is actively banning the classical P-256 curve. The publicly-known lattice result is in no way practical, and thus, PQC suites are generally the more correct option at the moment. But this could change at some later point, as further research is done.
If you've got other software to write, you don't want to become an expert in this stuff, watching for developments day-by-day. Find a trustworthy library to delegate this to, and delegate it to them. ↩
-
Start making an inventory of your key and credential material. Document your rotation strategies for all of it. Practice doing some rotations, ideally with lower-impact systems first.
Learn, and write down, where all your SSL certificates and SSH keys are. You probably don't need to bother rotating anything right now, but if a panicked announcement arrives later in the year, it would be good to be ready.
If you want some suggestions about good moves to address the specific hypothetical vulnerabilities, do this for HTTPS and this for SSH. For any SSH client that can't switch to at least a p384 key, just generate a 4096-bit RSA key for now, and be prepared to switch to ML-DSA later when it becomes available. Again, the important thing is to inventory your keys persistently so that you can rotate them with less hassle as news arrives in the future, not to panic about getting them all rotated to the Good Algorithm right now. ↩
-
Technically speaking what I am describing here is just symmetric private-key cryptography. This cannot really stand on its own; you may have noticed, for example, that I have not described the way that you and your bank agree on a secret key to begin with. There is math for that part too, but explaining it would increase the scope of this post too much; suffice it to say that it works similarly. There in fact are a bunch of other tools involved in the construction of a functioning internet cryptosystem, including public-key digital signatures, certificates, trust chains, and hash algorithms. However, they are all governed by the basic principles I'm outlining here about computational complexity; they all ultimately require (or are used to construct) a similar kind of black box. ↩
-
For simplicity's sake I'm talking about "worst case" times here where we guess every single key and it always happens to be the last one. Most real keys would lie somewhere in the middle of the distribution so on average you'd only end up having to guess half of these, but as the rest of the back-of-the-envelope math here shows, in real life you would never try this anyway. ↩
-
Except in this metaphor the Time Researchers work for the NSA and everybody feels like this is a super serious national security secret, so they won't actually tell anyone what year it is, just that it is "a somewhat later year than previously understood". ↩
-
This is a needle drop. To properly experience this blog post you actually need to play the song. ↩
06 Dec 2026 8:06am GMT
05 Dec 2026
Planet Python
Mike C. Fletcher: PyOpenGL 4.0.0b3 Released
PyOpenGL 4.0.0b3 should be the final beta for 4.0.0. The changes since 4.0.0b1 are primarily around GLES support fixes from porting OpenGLContext to have swap-able API backends:
* export GLES 3.2 from the main OpenGL.GLES3
* prevent loading of desktop GL for GLES
* ES error checking
* record the bound API for each context
* ES glReadPixels packing fix
Other pieces:
* type definitions update for VBOOffsets
* error message code lookup tweak
Have fun!
05 Dec 2026 4:24am GMT
04 Dec 2026
Planet Python
Talk Python to Me: #571: Hello Python 3.15, now we can use 3.11
When a new Python ships, which what's new doc do you read? For library maintainers, it's two. Python 3.15 just landed. That pushed 3.10 out of support. So 3.11 is finally the floor. Simon Willison is back to cover both. He co-created Django and built Datasette and LLM. His rule is simple. If the core team supports a Python version, so do his libraries. We catch up on Datasette first. Then both releases. From 3.15, lazy imports and the new sampling profiler. From 3.11, tomllib and task groups. And 3.11 runs 10 to 60 percent faster than 3.10.<br/> <br/> <strong>Episode sponsors</strong><br/> <br/> <a href='https://talkpython.fm/talk-python-membership-inner-circle'>Talk Python Membership</a><br> <a href='https://talkpython.fm/talk-python-membership-continue-conversation'>Talk Python Membership</a><br> <a href='https://talkpython.fm/training'>Talk Python Courses</a><br/> <br/> <h2 class="links-heading mb-4">Links from the show</h2> <div><strong>Datasette and Dogsheep</strong>: <a href="https://talkpython.fm/episodes/show/299/personal-search-engine-with-datasette-and-dogsheep" target="_blank" >talkpython.fm</a><br/> <strong>Django 20th birthday panel</strong>: <a href="https://talkpython.fm/episodes/show/518/celebrating-djangos-20th-birthday-with-its-creators" target="_blank" >talkpython.fm</a><br/> <strong>Donate here</strong>: <a href="https://donate.python.org?featured_on=talkpython" target="_blank" >donate.python.org</a><br/> <strong>supported version</strong>: <a href="https://devguide.python.org/versions/?featured_on=talkpython" target="_blank" >devguide.python.org</a><br/> <strong>PEP 810</strong>: <a href="https://peps.python.org/pep-0810/?featured_on=talkpython" target="_blank" >peps.python.org</a><br/> <strong>LLM</strong>: <a href="https://llm.datasette.io/?featured_on=talkpython" target="_blank" >llm.datasette.io</a><br/> <strong>told plugin authors to lazy load by hand</strong>: <a href="https://llm.datasette.io/en/stable/plugins/advanced-model-plugins.html#tip-lazily-load-expensive-dependencies" target="_blank" >llm.datasette.io</a><br/> <strong>PEP 798</strong>: <a href="https://peps.python.org/pep-0798/?featured_on=talkpython" target="_blank" >peps.python.org</a><br/> <strong>a whole episode on it</strong>: <a href="https://talkpython.fm/episodes/show/565/tachyon-python-3.15s-built-in-sampling-profiler" target="_blank" >talkpython.fm</a><br/> <strong>py-spy</strong>: <a href="https://github.com/benfred/py-spy?featured_on=talkpython" target="_blank" >github.com</a><br/> <strong>profiling.tracing</strong>: <a href="https://docs.python.org/3.15/library/profiling.tracing.html?featured_on=talkpython" target="_blank" >docs.python.org</a><br/> <strong>Flame graphs</strong>: <a href="https://simonw.github.io/research/python-3-15-web-edit-profiling/artifacts/flamegraph.html?featured_on=talkpython" target="_blank" >simonw.github.io</a><br/> <strong>heat maps</strong>: <a href="https://simonw.github.io/research/python-3-15-web-edit-profiling/artifacts/heatmap/index.html?featured_on=talkpython" target="_blank" >simonw.github.io</a><br/> <strong>Miguel Grinbergs numbers</strong>: <a href="https://blog.miguelgrinberg.com/post/how-fast-is-python-3-15?featured_on=talkpython" target="_blank" >blog.miguelgrinberg.com</a><br/> <strong>3.11</strong>: <a href="https://docs.python.org/3/whatsnew/3.11.html?featured_on=talkpython" target="_blank" >docs.python.org</a><br/> <strong>tomllib</strong>: <a href="https://docs.python.org/3/library/tomllib.html?featured_on=talkpython" target="_blank" >docs.python.org</a><br/> <strong>TaskGroup</strong>: <a href="https://docs.python.org/3/library/asyncio-task.html#asyncio.TaskGroup" target="_blank" >docs.python.org</a><br/> <strong>timeout()</strong>: <a href="https://docs.python.org/3/library/asyncio-task.html#asyncio.timeout" target="_blank" >docs.python.org</a><br/> <strong>cookiecutter templates</strong>: <a href="https://github.com/simonw/click-app?featured_on=talkpython" target="_blank" >github.com</a><br/> <strong>create\_window\_function()</strong>: <a href="https://docs.python.org/3/library/sqlite3.html#sqlite3.Connection.create_window_function" target="_blank" >docs.python.org</a><br/> <strong>blobopen()</strong>: <a href="https://docs.python.org/3/library/sqlite3.html#sqlite3.Connection.blobopen" target="_blank" >docs.python.org</a><br/> <strong>setlimit()</strong>: <a href="https://docs.python.org/3/library/sqlite3.html#sqlite3.Connection.setlimit" target="_blank" >docs.python.org</a><br/> <strong>Your first PR</strong>: <a href="https://github.com/simonw/datasette/pull/2998?featured_on=talkpython" target="_blank" >github.com</a><br/> <strong>ai</strong>: <a href="https://simonwillison.net/tags/ai/?featured_on=talkpython" target="_blank" >simonwillison.net</a><br/> <strong>an inflection point in November 2025</strong>: <a href="https://simonwillison.net/tags/november-2025-inflection/?featured_on=talkpython" target="_blank" >simonwillison.net</a><br/> <strong>The October inflection point for vibe game development</strong>: <a href="https://simonwillison.net/2026/Oct/28/vibe-game-development/?featured_on=talkpython" target="_blank" >simonwillison.net</a><br/> <strong>Battle Drones</strong>: <a href="https://simonwillison.net/2026/Oct/20/battledrones/?featured_on=talkpython" target="_blank" >simonwillison.net</a><br/> <strong>Qwen 3.8 27B on your laptop</strong>: <a href="https://simonwillison.net/2026/Nov/3/qwen-can-interpret-model-weights/?featured_on=talkpython" target="_blank" >simonwillison.net</a><br/> <strong>LM Studio</strong>: <a href="https://lmstudio.ai?featured_on=talkpython" target="_blank" >lmstudio.ai</a><br/> <strong>llm-lmstudio</strong>: <a href="https://github.com/llm-lmstudio/llm-lmstudio?featured_on=talkpython" target="_blank" >github.com</a><br/> <strong>Weight-space programming</strong>: <a href="https://rikiyat.github.io/blog/weight-space-programming/?featured_on=talkpython" target="_blank" >rikiyat.github.io</a><br/> <strong>LLM Building Blocks</strong>: <a href="https://training.talkpython.fm/courses/llm-building-blocks-for-python" target="_blank" >training.talkpython.fm</a><br/> <strong>monthly briefing</strong>: <a href="https://github.com/sponsors/simonw/?featured_on=talkpython" target="_blank" >github.com</a><br/> <br/> <strong>Watch this episode on YouTube</strong>: <a href="https://www.youtube.com/watch?v=wklLUXO6Nfg" target="_blank" >youtube.com</a><br/> <strong>Episode #571 deep-dive</strong>: <a href="https://talkpython.fm/episodes/show/571/hello-python-3.15-now-we-can-use-3.11#takeaways-anchor" target="_blank" >talkpython.fm/571</a><br/> <strong>Episode transcripts</strong>: <a href="https://talkpython.fm/episodes/show/571/hello-python-3.15-now-we-can-use-3.11#transcript-section" target="_blank" >talkpython.fm</a><br/> <br/> <strong>Theme Song: Developer Rap</strong><br/> <strong>🥁 Served in a Flask 🎸</strong>: <a href="https://talkpython.fm/flasksong" target="_blank" >talkpython.fm/flasksong</a><br/> <br/> <strong>---== Don't be a stranger ==---</strong><br/> <strong>YouTube</strong>: <a href="https://talkpython.fm/youtube" target="_blank" ><i class="fa-brands fa-youtube"></i> youtube.com/@talkpython</a><br/> <br/> <strong>Bluesky</strong>: <a href="https://bsky.app/profile/talkpython.fm" target="_blank" >@talkpython.fm</a><br/> <strong>Mastodon</strong>: <a href="https://fosstodon.org/web/@talkpython" target="_blank" ><i class="fa-brands fa-mastodon"></i> @talkpython@fosstodon.org</a><br/> <strong>X.com</strong>: <a href="https://x.com/talkpython" target="_blank" ><i class="fa-brands fa-twitter"></i> @talkpython</a><br/> <br/> <strong>Michael on Bluesky</strong>: <a href="https://bsky.app/profile/mkennedy.codes?featured_on=talkpython" target="_blank" >@mkennedy.codes</a><br/> <strong>Michael on Mastodon</strong>: <a href="https://fosstodon.org/web/@mkennedy" target="_blank" ><i class="fa-brands fa-mastodon"></i> @mkennedy@fosstodon.org</a><br/> <strong>Michael on X.com</strong>: <a href="https://x.com/mkennedy?featured_on=talkpython" target="_blank" ><i class="fa-brands fa-twitter"></i> @mkennedy</a><br/></div>
04 Dec 2026 6:07pm GMT
Django community aggregator: Community blog posts
Issue 366: Meet the DSF's First Executive Director
News
Welcome Our Executive Director
We are honored to introduce Paola Ferrario as the Django Software Foundation's first Executive Director.
Django security releases issued: 6.1.4, 6.0.11, and 5.2.20
Seven security fixes, two of them rated high. A RasterField file write could enable remote code execution, and the range and in lookups were open to SQL injection. Upgrade now and clear any affected caches.
ty 1.0
Astral's Rust-based type checker and language server is ready for production, with built-in Django support. It cut false positives on the typing conformance suite from 224 to 14 and gave OpenAI a median 24x speedup. Install it with uv tool install ty@latest.
Django Software Foundation
2027 DSF Board Nominations - Extended to December 7
The Django Software Foundation is inviting nominations for its 2027 Board of Directors. Five of the seven Board positions are open for election this year.
GSoC 2027 with Django: Call for Mentors and Projects
The DSF plans to apply to Google Summer of Code 2027 as an umbrella organization, and this time libraries that extend Django, like django-stubs or Django Debug Toolbar, can take part too. Mentors and maintainers should email gsoc@djangoproject.com.
Updates to Django
Last week we had 13 pull requests merged into Django by 7 different contributors - including 3 first-time contributors! Congratulations to Kingsley, Cleisson and Faris Basha TM for having their first commits merged into Django - welcome on board!
New in Django 6.2:
- The minimum supported version of
pylibmcis increased to 1.7.0.
New in Django 6.1:
- Added compatibility with
pylibmc1.8.0 (#37529). - Fixed a regression in Django 6.1 where combining querysets with
QuerySet.union,QuerySet.intersection, orQuerySet.differencecould crash when the model'sOptions.orderingreferenced related fields (#37505).
Django Fellow Reports
Django Fellow Report - Jacob
Jacob worked about half a day before taking off for Thanksgiving, mostly responding to reviews on security and release blocker PRs. He also documented that Django 6.0 needs pylibmc below 1.8.0 and fixed GEOS test failures on GEOS 3.11.
Django Fellow Report - Sarah
Sarah spent most of the week getting this week's security release ready, from branches to the prenotification email. She also triaged 12 tickets, including an Accept header crash caused by the CVE-2026-84429 fix, and reviewed 11 PRs.
Python Software Foundation
Announcing the PSF Security Roadmap for Python and PyPI
The PSF's plan covers PyPI malware cleanup, hardening PyPI and Python.org against compromise, keeping up with vulnerability reports (up about 4x on last year), and post-quantum cryptography. A new Malware Triager role means fewer reports wait on the handful of PyPI admins.
Articles
Django Race Conditions: Enforcing business constraints
Tim Schilling enforces a three-projects-per-organization rule that a clean() count check misses under concurrent requests. He prefers a django-pglock advisory lock over select_for_update(no_key=True), which blocks unrelated updates, and shares a RequestRace helper for testing it.
Managing feincms3 websites through the API and CLI
Matthias Kestenholz released feincms3-api and feincms3-api-cli, which reuse the Django admin's forms and permissions so agents can edit pages safely. The CLI ships skills for generating dummy content, reviewing copy for broken links, and translating page trees.
Building a speaker portal for PyLadiesCon 2026
Mariatta replaced Google Forms, a 26-column spreadsheet, and Drive folders with an open source Django app for invitations, video uploads, Whisper transcripts, and schedule publishing. Media storage costs $5.60 a month, and organizer requests often merged within hours.
JetBrains, Django, and What Comes Next
A rough week for JetBrains, long one of the biggest supporters of Django. Some thoughts from Will Vincent, currently on the PyCharm team there.
Wheel variants for maintainers
Wheel variants (PEPs 817, 825, and 850) let installers pick builds by GPU or CPU features, so uv add torch could replace hand-picked CUDA indexes. Sara Sklenka walks maintainers through labels, variant.json, and markers, and you can try it now in uv 0.13.8's preview.
Core Dispatch #13
Savannah Ostrowski and Hugo van Kemenade round up November in CPython. Python 3.16.0 alpha 2 is out, 3.14.11 and 3.15.3 land December 8, and the Steering Council will accept PEP 824's ?? operator once ??= is dropped.
Podcasts
Coding is solved: now what do we do?
Django co-creator Simon Willison tells Lenny Rachitsky his job has changed more in the past year than in the rest of his 27-year career. They get into vibe coding, why engineers now need a marketing co-founder, and his surprise that prompt injection may be solved.
Events
PyLadiesCon 2026
PyLadiesCon runs this weekend, December 5 to 7. It's free and online, with sessions in several languages across every timezone. Register to join.
Django is sprinting to Cambridge
Django on the Cam is happening April 14-16, 2027, hosted by ARM in Cambridge, UK. Mark your calendars and be on the lookout for more information.
FOSS Fridays
A weekly live code review show on the Django Discord, hosted by Johannes Maron of the Django triage and review team. Bring a pull request from any project and read it through together, Fridays 14:30 to 16:00 Berlin time. Post your PR link in the event chat before the stream starts.
Videos
The Right Channel at the Right Time with Natalia Bidart
Natalia's 32-minute Djangonaut Space talk covers where different contributions belong, from the forum and Discord to Trac, GitHub, and Transifex. Pick the right channel and your work is more likely to get reviewed and merged.
Django Job Board
Two new senior roles this week, full-stack Python and React at Truelogic and senior development at Loopio, plus Ailytics still hiring a Django backend engineer.
Senior Full-stack Engineer (Python/React) - Advertising at Truelogic 🆕
Senior Software Developer at Loopio 🆕
Django Backend Engineer at Ailytics
Projects
YasserShkeir/django-safe-migrations
Django Safe Migrations analyzes your Django migrations and warns you about operations that could cause downtime, lock tables, or cause data loss in production environments.
beyonder-deutschland/package-foundry
Render and maintain pyproject.toml, CI, docs and README across many Python and Django packages from a single metadata file.
Sponsor Django News
Reach 4,300+ Django developers every Friday. See sponsorship details and rates.
04 Dec 2026 5:00pm GMT
03 Dec 2026
Django community aggregator: Community blog posts
JetBrains, Django, and What Comes Next
JetBrains has given Django over $350,000. Now the company faces its hardest stretch yet.
03 Dec 2026 9:33pm GMT
02 Dec 2026
Django community aggregator: Community blog posts
Managing feincms3 websites through the API/CLI
Managing feincms3 websites through the API/CLI
Do you know how it is when you have to do something small and annoying, and instead you spend hours or days building a whole thing to automate the thing? This happens to me more and more often these days.
The great development in our beautiful new world is that now code is no longer always the limiting factor. I had been thinking for years about what an API for feincms3 should look like, but now I could finally just throw a prototype together, iterate on it, and presto - I have something real people can do actual work with.
Yes, the best code is no code at all, I still agree. However, as someone who tries to get problems solved, the best code is code which solves the problems I want to solve.
Configuring feincms3-api
Since feincms3 and django-content-editor ship no concrete models, the code has to be somewhat flexible.
It reuses the admin forms and the admin permissions - what's allowed in the Django administration interface is allowed through the API. Nothing more.
Here's a real example:
# app/content_api.py
from feincms3_api.api import ContentAPI
from feincms3_api.resources import ObjectResource, PageResource
from app.articles.models import Article, Category
from app.pages.models import Page
from app.team.models import Member
content_api = ContentAPI()
content_api.register(PageResource(Page))
content_api.register(ObjectResource(Article))
content_api.register(ObjectResource(Category))
content_api.register(ObjectResource(Member))
# app/urls.py
from app.content_api import content_api
urlpatterns = [
...
path("api/content/", content_api.as_api().urls),
]
The ObjectResource automatically allows editing the object itself and everything included via admin inlines such as CMS plugins (rich text, images, etc.). The PageResource builds on the TreeResource because it also understands working with trees.
File uploads are also supported transparently; files are uploaded to a staging area and then moved when linked into a real file field.
Authentication currently uses short-lived tokens, either in read or in read-write mode. Those tokens can either be generated using a management command or directly in the Django admin.
Agents and skills
The feincms3-api-cli package ships a Python-based CLI which knows how to handle authentication with different sites and nicely wraps the server-side API. CLIs are especially nice because agents work well with them. I'm not ruling out adding MCP support, but that's more involved and requires ASGI (when using the mcp library), and a CLI works just as well for technical users. If you think I'm implying that feincms3-api might not be ready for end users who aren't at least somewhat well versed technically, then that might be correct too.
The feincms3-api-cli project ships several skills which solve real problems for us:
feincms3-dummy-content allows filling the CMS with better content than just copy-pasting lorem ipsum everywhere. How often have I heard the phrase "I can't fill in content as long as the website is still in the process of being developed", and how often have I said "I can't finish the development without seeing real content in there". The solution was always to write some limited content by hand. A time-consuming additional step which nobody paid for and nobody appreciated. And it wasn't fun either. The skill looks at the structure of the website and what the website should be about, and generates some content. I really hope though that all of the generated content will be deleted once the real work starts.
feincms3-review reviews website contents for errors, broken links, inconsistent terminology, etc. It just helps with improving what we have. The idea is not to let the agent change everything into AI slop, but to give real hints about improvements which editors could make.
feincms3-translate supports translating a whole page tree, or just a few models, or a subset. How often have I seen designs for multilingual sites where "About us" and "Über uns" fit nicely, but "À propos de nous" didn't. Or even better, "Students" vs "Schülerinnen und Schüler"1. I don't want to dunk on German and French (both of which I like), it's just a fact that some words or expressions are so much longer, and designs which work well in one language completely fall apart in another. In a way this is a variant of the dummy content problem above, but even more important when developing a new website.
Where it stands
We have successfully used the tool for updating legal documents on websites, for applying SEO improvements to websites, for translating content into other languages and for showing all possible variants of a particular graphing plugin. If you're using django-content-editor it's ready for you. Here are the docs if you want to get started.
-
In some places we can use Schüler*innen or Schüler:innen, but in school contexts that's not an accepted way of spelling these words yet. ↩
02 Dec 2026 6:00pm GMT
05 Nov 2026
Planet Twisted
Glyph Lefkowitz: Why You Should Care About The Political Project of Twisted
Twisted was originally the network component of a text-based role-playing game engine. In the late 90s when it was first developed, the idea of a video game being able to send you actual emails and instant messages1 seemed pretty neat, rather than the valence that it would have today (nightmare). We never ended up making an actual game, so we eventually removed the "game engine" piece, and just kept the protocol implementations of the email and the AOL Instant Messenger, and the DNS and eventually SSH and so on. The residual pieces of that project have not seen maintenance for a decade.
So it's not really a way to make a text-based game any more.
Then, Twisted was the premier longest-lived and best-maintained event-driven I/O library for Python. If you wanted to make high-performance servers, it was the best and most obvious way to do it. Even if it still acquits itself relatively well in this regard, its claim to fame, and to indispensability, has been somewhat obviated by the inclusion of asyncio in the standard library. Even if it has some stuff to recommend it - better-than-average testing facilities, for example - you can get better-documented and better-integrated low-level asynchronous networking tools without even installing any packages.
So it's not really the premier choice for an event-loop these days.
Twisted does still contain an SSH server and client, an email server and client, a DNS server and client, a web server and client (now including websockets). But you can cobble these together by installing a variety of packages from other sources.
So... it's a bunch of protocols? And I guess it doesn't use AI? But... why would anyone care about that? Why contribute to such a thing?
What is Twisted doing, and who is it doing it for? What is the political project of Twisted, nigh on 30 years into its existence?
Most of all, why should you care about it, or want to contribute?
If you're asking what you could use Twisted for today, it's an excellent choice if you're implementing a new network service and you need more than one protocol. If you need to do HTTP, DNS, packet capture, and a custom SSH server, it would be very hard to arrange a collage of other Python packages to manage this. It's still much better at deterministic testing than most of the standard library. It's a bit easier to hook into a GUI.
But that's not what Twisted is doing.
What I want Twisted to do for the world is still an unfinished project. It's honestly kind of bad at doing what I want it to, but it could be great. The overarching goal of having and maintaining all this stuff is to, as much as possible, demystify networked software operation and let you build Internet facing systems at a human scale.
It's all in a memory-safe language with good error handling, so you can avoid the scariest security pitfalls. It's all integrated into a single paradigm with built-in tools for testing. It's designed to scale down to be runnable on the average laptop, and not require large elaborate server farms or distributed clusters to run. Via the twist command line utility, it provides a Swiss army knife of simple tools that you can use out of the box.
In a world where all of our compute is in massive distant opaque datacenters, where a tiny cartel of gigantic tech companies control nearly the whole supply chain, one of the few things that you still can have agency over is your own server on the Internet.
It's still possible to get a domain name for a few bucks a year, a free-tier or very low-cost VPS, then stick a glue record in and run your own DNS. From that point forward, you can run your own email, your own web server, your own terminal server. But doing this requires deep expertise, and that expertise requirement is massively inflated by the operational concerns that go with running twenty different pieces of software from twenty different projects, probably in twenty different languages, with completely inconsistent aesthetics.
The reason that Twisted is event-driven is because as much as it can be a pain to wrap your head around async/await (or worse yet, Deferred directly), it is much easier for a single person to understand the concurrency requirements of an async I/O multiplexed system than to understand what is going on with an application that requires multiple thread pools. It is possible to understand concurrent code that manages parallel tasks in that idiom. The reason that Twisted integrates so many different protocol implementations and attempts2 to unify them with a common authentication layer is to reduce the overhead required to manage a comprehensive suite of network services.
Even the not-using-AI thing is not an aside due to some accidental personal preference about tools - it's a core part of building an engine that you can personally understand if you dive into it, that's built with a consistent style and layered in a way that you can take apart if you need to. It's not built with AI because we're not building for AI, we're building for people and the entire point is that people are supposed to be able to understand it.
We used to have a tag line, which is somewhat less emphasized these days because its meaning is not immediately clear without this background, but was once quite prominently featured on the home page: "Twisted: Building the Engine of Your Internet". That's what I want to bring to you: an engine for you to build your Internet, that is small enough that you can make it personal, that doesn't require massive investment in management tooling just to get started.
Now, for various reasons, I no longer use twisted.names to host my own DNS (although I did for many years!), and we never wrote enough of a twisted.mail suite for it to be usable for email hosting on its own. But, if you're reading this article, it was probably delivered to you directly via Twisted's own twisted.web HTTP server, using twisted.protocols.tls to configure our own OpenSSL TLS termination. I have run with extremely high reliability for years and next to zero management overhead, in a single simple docker container. Which I then administer and upload files to via Twisted's own twisted.conch SSH server.
If that seems like an appealing project and you'd like to volunteer to help out, drop me a line and maybe I can point you at some tasks to get started. Twisted falls far short of this aspiration despite 30 years of work, and we could use all the help we can get.
Acknowledgments
Thank you to my patrons who are supporting my writing on this blog. If you like what you've read here and you'd like to read more of it, or you'd like to support my various open-source endeavors, you can support my work as a sponsor!
05 Nov 2026 10:51pm GMT
09 Oct 2026
Planet Twisted
Glyph Lefkowitz: Programming Isn’t Special
Creative Work
Writers went on strike to get protections against "AI". Thousands of artists have signed open letters in protest of "AI". There are so many copyright lawsuits from creative industry groups against AI that there's a whole dedicated website for it. Popular YouTubers absolutely hate it. If they're also musicians, they REALLY hate it. Across all creative industries, there is a concerted push to reject this technology.
Yet, almost unique among creative fields, many experienced programmers remain convinced that it's fine to use "AI" for programming. We do seem to hate it, and what it's doing to our industry. It's making us all miserable, but we are using it anyway.
A lot of the justification of this resignation seems to be to be because programming is not Art. If the tool can get the job done, and the job is just functional, then why does it matter?
It does matter, though. It matters because we shouldn't be using AI to produce Art, and programming is Art.
Art can be Mundane
Some people will say that programs cannot be art because programs are functional, rather than being expressive. Programs are mundane whereas art is transcendent.
This is based on a distorted understanding of what Art actually is.
In John Berger's "Ways of Seeing", he names this type of distortion "mystification". His example of this process is both amusing and illustrative. I encourage you to read it in its entirety.
In summary, though: Berger critiques the florid prose of an art historian describing a commissioned group portrait, including phrases like "subtle modulations of the deep, glowing blacks" and "harmonious fusion". The portrait is described as sublime, in nearly ecstatic terms.
Berger reveals that the reality of this portrait is that a poor old painter needed some work, and some officials probably thought it might be nice to have an official portrait. So they paid some money to the poor old man, and he painted it, and then they had a painting. It's a well-executed portrait of a group of people. Beautiful, even. But it was work commissioned for a fairly mundane purpose and it suited that purpose just fine. It was not, and is not, a divine relic.
Culturally, we are prone to mystifying painting, and sculpture, and film, and music. We imbue them with "subtle modulations". We ignore their functional aspects - we desire decoration, amusement, and distraction - and focus on their emotional impact.
Don't get me wrong: I love me some good aesthetic philosophy. I think it's great to really examine our reactions to artwork and to try and gain a deeper understanding of our culture and our selves through media analysis. If anything we really need to do more of it.
This does not mean that the creation of such works is mystical or that it should be venerated beyond any other sort of labor.
Not least of which other types of labor that are adjacent to, but not as culturally venerated, as fine art. We tend to mystify the work of a novelist, but to denigrate the work of a journalist. In reality, the functional prose of the journalist is no less important and deserves no less respect.
Although they might be far below the ethereal realm that novelists inhabit in our collective imagination, even journalists receive more respect and thus more mystification than lowly copywriters. Yet, there is no transcendental distinction between "novelist" and "copywriter"; the many of the skills are the same, and the distinction is merely an accident of commerce and opportunity.
In fact, many famous writers have famously inhabited both roles. This is not an accident! Working with words professionally, even (perhaps especially) mundane words, is excellent practice for working with words in a more purely artistic context, because even mundane creativity is still artistic.
Code can be Beautiful
One thousand Internet years ago, when I was in my late teens, I would describe myself as a "code poet". I was relentlessly mocked for this as what the Youth would today call "being cringe", and at the time was referred to as "pretentious".
I succumbed to the peer pressure, removed it from my email signature and my bio. While I still believed strongly in the parallels, I accepted that - socially, at least - comparing code to poetry, or indeed to Art, was a silly thing to do.
However, I never abandoned the idea, in my heart.
The thing that I am most well-known for, the invention of Deferred, was specifically an aesthetic reaction to the tedium of passing callback and errback parameters to every single remote procedure call in an RPC client/server application. Those two callbacks got the job done just fine. But they were ugly, and annoying to work with.
Deferred is an intentional poem about asynchronous task execution, with a deliberate eye to the aesthetics of the problem and the experience of using it. It was influential because of its focus on aesthetics.
I do not want to overstate the beauty or profundity of this minor contribution, or indeed its durability. That a poem exists does not mean it is a great poem, merely that it is a poem.
Our aesthetic culture around programs is more like folk epic poetry than fine art, so the influence of this contribution is less about its specific enduring power than it is about its influence on what came next; from MochiKit.Async to JQuery Deferred to JavaScript Promises and eventually to async/await; a long chain of different artisans each adding something of their own until the original has all but dissolved. (And I wasn't the "original" here, either, as I drew heavily from the E language's Promises, among other things.)
In order to make code into a deliberate artistic expression, one must have spent quite a bit of time contemplating the problem domain. Without having experienced the tedium of manually passing a thousand callback parameters, I would have had neither the skill, nor indeed the motivation, to bother creating such a thing.
Now, most code does not have to be like this. Most code does not get to be like this. Most code is functional, workday code. Most code could not make a lady weep. It's just copy-writing, if you will.
As I explained previously, most writing couldn't do that either. Most writing is just copy-writing, too. Most visual art is advertising. Most live music performance is background music in bars that will go largely ignored.
However, code that is intentionally aesthetically designed tends to be important, both socially and technologically.
We do have some tradition of self-mystification in software. As Abelson memorably put it, "Programs must be written for people to read, and only incidentally for machines to execute.", so we have long had some conception of programs as highly expressive, even if we can't always agree on what they're expressing or to whom. We will occasionally wax poetical about the philosophical implications of a particular piece of software. This is not unique to a single piece of software, either; more than one community has indulged in similar philosophizing.
The expressive and aesthetic qualities of software are not limited to reading source code or interacting with other programmers via APIs, either. For example, every year, Federico Viticci does a review of Apple's new operating system, which is (among other things) an aesthetic critique. Such a project would not be possible if the software did not have an aesthetic impact on its users.
Not to mention that every video game review is also a software review.
A Brief Aside about Software Literacy
It does make me a bit sad that we don't have much of a critical reading tradition in the software community. Literate Programming is often praised, but rarely practiced.
Moreover, it makes me sad that users have a pretty jumbled idea of what goes into making software, that programming literacy is pretty low, and that modern programming practices often deliberately produce a bad mental model of what the software is doing so it's even harder for the user to understand. The aesthetic experience of software is often wildly detached from its internal state.
While all of these problems predate AI by years or indeed decades, that's no reason to enthusiastically make them worse.
Defend The Mundane
If we use AI to erase all the copy-writing, all the graphic design, all the boring mundane art, and yes, all the boring custom WordPress theme development, then we will be removing all the practical opportunities for the vast amounts of practice and contemplation required for people to elevate their craft to eventually achieve great things. Education is great, but the majority of true skill development happens on the job and always has.
This doesn't mean that we can't use abstractions, or automation, to make our work easier. Programming is the art of abstraction, of understanding how to compose smaller ideas into bigger ones, of how to understand the automation of a larger system by understanding the rules that automate smaller ones and understanding how to combine them.
When we use "AI" to eliminate that understanding rather than raise it up to a higher level, to entirely destroy that creative decision-making process, we do a disservice both to ourselves as programmers and to our users. We would be doing a disservice to our users and our downstream fellow developers in the same way that a visual artist would be doing a disservice to their viewers or a musician would be doing a disservice to their listeners if they served them auto-generated filler instead of their own creative output.
Slop is slop, no matter the medium.
Each mundane project has some tiny chance - let's say, something like 0.1% - of achieving greatness. If we do a single project with AI, then sure, whatever, there's almost no chance that that project was going to be the one hit to create that career-defining moment for an engineer working on it. If we make a habit of doing all projects that way, though, we take the total likelihood of those moments of greatness from "definitely sometimes" to "never".
The precisely appropriate ways in which to resist AI encroachment on all software development lie well beyond the margins of this one short post. How much you can resist and which specific uses you should resist are up to you. But it is worth resisting in software just as much as it would be worth resisting in any creative medium.
Programming isn't special. It's just Art, and Art is the most human - and thus, the most universal - thing that there is.
Acknowledgments
Thank you to my patrons who are supporting my writing on this blog. If you like what you've read here and you'd like to read more of it, or you'd like to support my various open-source endeavors, you can support my work as a sponsor!
09 Oct 2026 7:00am GMT
