561 points throw0101d 13 hours ago 286 comments
https://web.archive.org/web/20261205154533/https://www.undea...
throw0101d 13 hours ago | parent
* https://cvsweb.openbsd.org/log/src/usr.bin/ssh/ssh-keygen.c
(See 1.512 on Thu, 03 Dec 2026 08:40:32 UTC.)
nocturn9x 12 hours ago | parent
xaduha 10 hours ago | parent
throw0101d 12 hours ago | parent
* https://github.com/openssh/openssh-portable/commit/fc6f26530...
* https://github.com/openssh/openssh-portable/commits/master/s...
* https://cvsweb.openbsd.org/log/src/usr.bin/ssh/ssh-keygen.c (1.514)
It is per:
* https://datatracker.ietf.org/doc/draft-ietf-sshm-composite-s...
traceroute66 11 hours ago | parent
Looks like that's do do with using FIPS-approved algos.
literalAardvark 11 hours ago | parent
Polizeiposaune 11 hours ago | parent
Not sure why they aren't going all the way to 521-bit out of extreme caution, though.
(Oddly, the ECDSA sizes are 256, 384, and 521 -- the big one is 521 not 512).
formerly_proven 11 hours ago | parent
nmadden 10 hours ago | parent
maximilianburke 10 hours ago | parent
adrian_b 9 hours ago | parent
There is no noticeable slow-down, I still connect instantaneously, but that is because I am the only one who connects through SSH to those devices. If there would be thousands of SSH connection establishments per second, I suppose that there might be a measurable difference in CPU load between using ED25519, P-384 and P-521. For a Github server or for a Huggingface server, the size of the curve should matter, because those have a great number of clients connecting through SSH, but not for a server with a single administrator, who uses SSH.
adrian_b 10 hours ago | parent
adgjlsfhk1 10 hours ago | parent
leafingensemble 9 hours ago | parent
loeg 11 hours ago | parent
knorker 11 hours ago | parent
And what was added here was ML-DSA (PQ) dual signed with ECDSA 384. So in addition to being PQ, if whatever secret attack against 256bit ECDSA is improved to get te 384, then the ML-DSA is intended to still protect the key.
havnagiggle 10 hours ago | parent
adrian_b 9 hours ago | parent
sigmar 9 hours ago | parent
Tanjreeve 9 hours ago | parent
havnagiggle 8 hours ago | parent
sigmar 6 hours ago | parent
If you read closely it mentions specifics
>particularly checking for algorithms not approved in CNSA 2.0 or CNSA 1.0 (e.g., DSA, elliptic curves other than P-384 or P-521 for ECDH or ECDSA, EdDSA, deprecated Diffie-Hellman groups, pairing-based cryptography).
>Removing all weaker elliptic-curve and deprecated DH options (e.g., IKE groups 22-24) from cipher suite and key exchange preferences.
Those mentioned IKE prime order sub groups are of 160/224/256 bits. Lots of algos are outside CNSA 2.0 and 1.0, but they found it important to point to a small subset specifically
knorker 3 hours ago | parent
https://words.filippo.io/nsa-advisory/
And then there's https://www.int08h.com/post/how-cooked-are-your-keys/. And Bruce Schneier: https://www.schneier.com/blog/archives/2026/12/nsa-urging-tr...
And then there's https://www.xda-developers.com/google-rushed-replace-cryptog...
I'm not pulling this out of my butt.
thefilmore 11 hours ago | parent
[1] https://datatracker.ietf.org/doc/draft-sun-ssh-composite-sig...
computerfriend 11 hours ago | parent
kbolino 11 hours ago | parent
cvhc 9 hours ago | parent
athrowaway3z 9 hours ago | parent
brookst 9 hours ago | parent
athrowaway3z 9 hours ago | parent
The actions of the NSA sit in a super position of good-faith and bad-faith interpretations.
Therefor we must also interpret its silence and apathy towards Ed448 somewhere between unremarkable and the strongest possible endorsement.
adrian_b 9 hours ago | parent
Nonetheless, there is an obvious difference in tone when mentioning algorithms that must be avoided, i.e. any elliptic curves with sizes below 384 bits or RSA with sizes below 3072 bits, and algorithms in which NSA appears to be not interested, at least for now, without providing any opinion about whether they are good or bad. A big enough elliptic curve like Ed448 belongs to the latter class.
Another poster has made a comment that I believe to be correct, i.e. that NSA has attempted to minimize the number of algorithms that are included in CNSA 2.0 to the minimum possible, because they are interested to have all of them implemented in some custom hardware, where, unlike in software, every additional option increases significantly the cost.
baq 8 hours ago | parent
cowlevel 8 hours ago | parent
leonidasrup 8 hours ago | parent
bigfatkitten 6 hours ago | parent
leonidasrup 6 hours ago | parent
" A piece of debris classified "top secret" is somewhere among the thousands of shards of the space shuttle Columbia spread across Texas.
The communications device handles encrypted messages between the shuttle and the ground. According to its serial number, it is in a class of equipment labeled "TSEC" -- telecommunications security -- that must be handled with strict chain-of-command documentation.
Experts differed on the importance to national security of recovering the device, which was "keyed," or prepared for use with mathematical algorithms. "
http://www.globalsecurity.org/org/news/2003/030206-comsec-sh...
bigfatkitten 5 hours ago | parent
There are cases where Suite A or Type 1 is appropriate, and there are times where it is not. That partly depends on risk, and also whether a suitable product exists. There is a process that is used to decide what will be used in what circumstances.
leonidasrup 2 hours ago | parent
My claim is that from the viewpoint of cryptographic strenght/weakness it is really irelevant what cryptographic algorithms NSA publicly approves, because U.S. goveement doesn't use publicly known algorithms in the really important communication systems.
It's important only to the HW/SW vendors that want to sell products to the U.S goverment for the not important communication systems.
mpyne 2 hours ago | parent
Do you think that if the AWS and Azure clouds that power so much government classified computation had all their communications breakable by Russia or China, that this would be considered unimportant to the USG?
bigfatkitten 2 hours ago | parent
There are extremely important communication systems in the national security community that rely on commercial cryptography. Some of these will very quickly get people killed if they fail.
mpyne 2 hours ago | parent
bigfatkitten 6 hours ago | parent
cowlevel 5 hours ago | parent
sam1714 5 hours ago | parent
They can stratify the system into strong and weak with reverse psychology.
cowlevel 5 hours ago | parent
sam1714 5 hours ago | parent
adrian_b 9 hours ago | parent
The next version of OpenSSH is likely to include the algorithms made mandatory by CNSA 2.0 for all systems that are classified as "National Security Systems", and which are also recommended by NSA elsewhere.
These algorithms are "mlkem1024nistp384-sha384" (RFC 10042) for key exchange and "ssh-mldsa87-p384" for host keys and client keys (draft RFC).
While Ed448 is not among the recommendations of NSA, there is no doubt that it is more secure than P-384, and also faster, so the hybrid algorithms with ML-KEM-1024 and ML-DSA-87 where the curve NIST P-384 is replaced by Ed448 are certainly preferable.
Such combinations are defined and they might become available in some TLS 1.3 and IPsec implementations, but it is unlikely that OpenSSH will include them, because it has never included support for Ed448.
rc_kas 10 hours ago | parent
manbash 10 hours ago | parent
1over137 10 hours ago | parent
bonki 8 hours ago | parent
nightfly 8 hours ago | parent
drnick1 7 hours ago | parent
josteink 7 hours ago | parent
GauntletWizard 6 hours ago | parent
josteink 5 hours ago | parent
No new features. No new nothing. Boring, but stable. Kinda lika Ubuntu LTS, but possibly even more boring.
"Unstable" means that you'll probably never ever experience anything which causes issues, but the versions are not carved in stone - and new version of things arrive in a useful way - like actually having maintained versions of OpenSSH and OpenSSL for your system.
It has versions - and when a new "unstable" version is out, you have to dist-upgrade. Boring, but more up to date, while still reliable & predictable.
"Testing" is essentially a rolling distro - and I wouldn't recomend that for any server.
But in today's security landscape I wouldn't recommend Debian stable either. The crypto-libraries are too old.
Debian Unstable is IMO the ideal fit for a server these days. People going Debian Stable just by habit may consider re-evaluating their choices.
walrus01 4 hours ago | parent
Pxtl 2 hours ago | parent
novafunc 5 hours ago | parent
Ubuntu may be a bit more aggressive in their freeze (less time between freeze and release, seems to be about 2 months) compared to Debian (around 5 months for Debian 13), but I don't see much of a difference between 2 years and 2 months and 2 years and 5 months of package oldness. And even then, Ubuntu doesn't allow updating on release day, they prevent you from doing so until a few months later with the x.y.1 release.
nextaccountic 8 hours ago | parent
And this was possible because 20 years ago they first introduced Linux to thousands of kids that grew to be sysadmins, and those kids-turned-sysadmins knew and trusted Ubuntu
I know because around 2006 I distributed Ubuntu live CDs I received for free (I think it was Ubuntu Dapper)
mister_mort 7 hours ago | parent
cobzilla 6 hours ago | parent
gopher_space 1 hour ago | parent
Tepix 10 hours ago | parent
Palomides 9 hours ago | parent
adrian_b 10 hours ago | parent
ECDSA P-384 is supported even by at least 9-year old OpenSSH versions (I have such a device), perhaps even by much older versions.
So setting it as default achieves the goal of better security than with 256-bit elliptic curves, while maintaining compatibility with ancient clients and servers.
When you know that both computers that communicate have up-to-date OpenSSH versions, you can choose to generate quantum-resistant host and client keys.
atmosx 9 hours ago | parent
throw0101d 9 hours ago | parent
Reminder that you can generate PQC keys right now (where available), and they will be offered right now, but you can still have fall back options.
sibman 8 hours ago | parent
formerly_proven 7 hours ago | parent
throw0101d 6 hours ago | parent
The main source of worry is the SSH host and client keys not having PQC options, so 'impersonation attacks' are probably the primary source of risk in the near future.
formerly_proven 2 hours ago | parent
forbiddenlake 6 hours ago | parent
b112 5 hours ago | parent
Switching would only be sensible in a dire circumstance.
leonidasrup 5 hours ago | parent
Bernstein, D.J., Brumley, B. B., Chen, M., Chuengsatiansup, C., Lange, T., Marotzke, A., Peng, B., Tuveri, N., Vredendaal, C. V., and B. Yang, "NTRU Prime: round 3", DOI 10.5281/zenodo.13983972, October 2020,
Pxtl 2 hours ago | parent
quotemstr 7 hours ago | parent
nextaccountic 8 hours ago | parent
rao-v 8 hours ago | parent
The keys are not that much bigger or slower. Can we please just do this one time well?
chasil 12 hours ago | parent
bflesch 11 hours ago | parent
SoftTalker 11 hours ago | parent
jMyles 11 hours ago | parent
airspresso 11 hours ago | parent
bflesch 9 hours ago | parent
And my personal assessment of those "quantum" companies is that they are more focused on media campaigns, interviews and public funding than on building a product.
I have zero trust that those connected types cashing out the government funding will actually deliver anything except FUD and PR campaigns.
So any time those airheads are used to justify an urgent security-related configuration change my bullshit detector goes off.
cowlevel 7 hours ago | parent
If anything. It might be that they have nothing.
mschuster91 11 hours ago | parent
bflesch 9 hours ago | parent
"Quantum computers" is the same kind of scam as "hydrogen fuel", easy government money.
I'm not well connected but I haven't met a single trustworthy company in the "quantum" space. Until one of these things is standing right here on my desk you can pry the RSA keys out of my cold dead hands.
They use media campaigns so you move away from RSA because they can't decrypt it.
kortex 10 hours ago | parent
bflesch 9 hours ago | parent
This kind of fake urgency is normally used in social engineering.
cowlevel 7 hours ago | parent
It's also suspected the NSA have broken MLKEM, there's no other reason they would push so hard against hybrid for the past 10 years.
chasil 7 hours ago | parent
noinsight 11 hours ago | parent
chasil 9 hours ago | parent
Th P-521 seems the best option for ECDSA at the current time.
http://blog.cr.yp.to/20140323-ecdsa.html
"To be fair I should mention that there's one standard NIST curve using a nice prime, namely 2^521 – 1; but the sheer size of this prime makes it much slower than NIST P-256."
lewdwig 12 hours ago | parent
Bender 12 hours ago | parent
In an ideal world the trusts of public keys would be managed by a configuration management system that knows who really owns which public keys and fires alerts when unknown keys are added or added to the wrong account. Mapping should be by the public key itself and not the comment. Or configure PAM to query the SSH public keys from LDAP and cache them securely.
traceroute66 11 hours ago | parent
Also a good time to consider migrating to using SSH certificates so you never have to play the authorized keys dance ever again. :)
Its not that difficult.
Bender 11 hours ago | parent
traceroute66 11 hours ago | parent
Sure there are managed ways to do it, like `AuthorizedKeysCommand` or Ansible etc.
But for most people, especially those people allowing manual management of keys files, there are more cons than benefits of authorized keys.
Bender 11 hours ago | parent
champtar 11 hours ago | parent
jeroenhd 11 hours ago | parent
Which reminds me to check my certificates, actually.
rustyhancock 11 hours ago | parent
I assume and hope it's as simple as setting up one key and then automatically being able to log in with any subsequently signed key.
traceroute66 10 hours ago | parent
Yes, in the most basic implementation that's it.
Obviously RTFM, but the gist is that the CA SSH Key gets defined on the server (sshd_config) side, e.g :
TrustedUserCAKeys /etc/ssh/user_ca.pub
AuthorizedPrincipalsFile /etc/ssh/principals
# AuthorizedKeysFile none # only once you're happy everything works ;)
And then yes, you can automagically log in with whatever is signed with the key(s) in `TrustedUserCAKeys` (as long as the principal defined in the signature matches one listed in `AuthorizedPrincipalsFile` – although IIRC you can wildcard `AuthorizedPrincipalsFile` so you might not even need to worry about that if you want a super-simple setup).Then once you're happy with the basic principles and tested it out, you can do more fancy stuff like using Yubikeys as a poor-man's HSM (hardware CA) and eventually all sorts of server-side (man sshd_config) magic.
Its great ! Welcome to the dark side. ;)
Nnnes 8 hours ago | parent
In practice, your client side devices may well be at more risk of loss due to theft or similar than your server is of being broken into, and it's pretty convenient to just scp your public keys over to sign them. I can reach my own CA private keys by SSH, just not via public IP address.
Here's a good resource for anyone wanting to get started with SSH certs: https://free-pmx.org/guides/ssh-certs/
jamesog 6 hours ago | parent
ycombinatrix 11 hours ago | parent
doubled112 8 hours ago | parent
The CA could be on a remote server. It could also be a folder of certs and keys on your laptop, and you manage it with the openssl CLI.
ijustlovemath 11 hours ago | parent
Bender 11 hours ago | parent
seethishat 11 hours ago | parent
noinsight 11 hours ago | parent
rrr_oh_man 11 hours ago | parent
13415 11 hours ago | parent
binaryturtle 8 hours ago | parent
Recently experimented with other types of keys, that now turn out to be problematic… and it didn't made any difference really from the performance perspective.
bob1029 11 hours ago | parent
otabdeveloper4 9 hours ago | parent
And by "affected" I mean your CPU will die when you switch from 2048 bits to 4096.
rsync 5 hours ago | parent
noinsight 10 hours ago | parent
Of course the security bits of e.g. ED25519 are up in the air now, but it (used to) offers 128 bits of security at vastly better performance.
See for yourself on your own hardware:
$ openssl speed rsa2048 rsa4096 ed25519
dist-epoch 10 hours ago | parent
noinsight 6 hours ago | parent
Is 2000 handshake operations per CPU core per second good enough (RSA 2048)? Is 300 (RSA 4096)? Do you need 30000 (ED25519)?
Google will have a different opinion than the operator of a cat picture website. OTOH, if the cat picture website is hosted on a Raspberry Pi, its operator might greatly care as well - those numbers are a lot smaller.
rrr_oh_man 9 hours ago | parent
cowlevel 7 hours ago | parent
otabdeveloper4 9 hours ago | parent
No they aren't.
You're literally doing a Chicken Little dance based on literal Twitter rumors.
Get a grip on yourselves.
jamwil 7 hours ago | parent
p2detar 4 hours ago | parent
$ openssl speed rsa2048 rsa3072 rsa4096 ed25519
version: 4.1.1
compiler: clang -fPIC -arch arm64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -D_REENTRANT -DNDEBUG
sign verify encrypt decrypt sign/s verify/s encr./s decr./s
rsa 2048 bits 0.000388s 0.000010s 0.000011s 0.000401s 2579.3 96744.6 92710.2 2491.6
rsa 3072 bits 0.001144s 0.000023s 0.000023s 0.001189s 873.8 44050.7 42779.9 841.3
rsa 4096 bits 0.002573s 0.000040s 0.000039s 0.002676s 388.7 25145.2 25657.7 373.7
sign verify sign/s verify/s
253 bits EC (Ed25519) 0.0000s 0.0001s 42380.3 15407.3
keygen encaps decaps keygens/s encaps/s decaps/s
rsa2048 0.030000s 0.000012s 0.000417s 33.3 85885.1 2400.8
rsa3072 0.132237s 0.000024s 0.001210s 7.6 41227.7 826.3
rsa4096 0.326129s 0.000042s 0.002684s 3.1 24088.8 372.6
keygen signs verify keygens/s sign/s verify/s
rsa2048 0.030772s 0.000417s 0.000011s 32.5 2395.8 91357.5
rsa3072 0.107021s 0.001214s 0.000023s 9.3 823.7 43087.0
rsa4096 0.328387s 0.002680s 0.000039s 3.0 373.1 25317.0upofadown 10 hours ago | parent
cowlevel 7 hours ago | parent
upofadown 7 hours ago | parent
globular-toast 7 hours ago | parent
feeditbread 1 hour ago | parent
For TPMs, the performance is even more relevant. TPMs don't use ssh-keygen, but the efficiency of ECC over RSA is what's behind the general preference.
rsync 6 hours ago | parent
This should be our first question and, as a follow-up, why did OpenSSH steer default algorithms away from large (3072/4096) RSA in the first place ?
Who among us is handling thousands of SSH connections per minute ? Who among us is handling multi-gigabit streams of SSH traffic ? If so, you know what you're doing and can make good selections based on your unique and interesting use-cases.
Meanwhile, how many personal/home/small/sensitive users were shunted away from RSA over the last decade for no good reason ?
cowlevel 5 hours ago | parent
You don't have to be handling thousands of SSH connections per minute, you just have to have regular internet port scanners knocking on your SSH port and your server will be wasting substantial CPU proving its identity to them if it's got an RSA4096 host key.
The gigabits don't actually matter, since it's a one-time cost per connection establishment.
tae_yang 11 hours ago | parent
pippy360 11 hours ago | parent
I'd love to have a conversation about it and hear people's opinions. I tired the bitcoin reddit but it's a difficult place to do that because so many people are heavily invested in it.
knorker 11 hours ago | parent
I'd comment on the third kind of bitcoin holders, but there isn't a third kind.
One day the speculators should come to terms with how they profited by hiding organized crime. But I'm not holding my breath.
TedDoesntTalk 11 hours ago | parent
forgotoldaccoun 11 hours ago | parent
wry_xy 10 hours ago | parent
knorker 7 hours ago | parent
cowlevel 5 hours ago | parent
pippy360 10 hours ago | parent
knorker 7 hours ago | parent
To call it anything else would be as dishonest as referring to Andrew Tate as an "entrepreneur", and Russel Brand having performed "seductions". I don't think the conversation is useful if we refuse to state the plain truths about the topic.
You could equally say that you left reddit because it's so full of people pretending blockchains solve any actual problems, and the likes of /r/wallstretbets.
So I don't think I can make my point while only using the words of the delusion group itself, no.
survirtual 10 hours ago | parent
What crimes has bitcoin been used for? Making an honest monetary system that allows teenagers to buy some drugs for personal use?
I think you may want to reflect on what happened during 2008 that triggered the creation of bitcoin. Because you are on the wrong side of history. Modern robber barons stole from the world at an unprecedented scale and suffered ZERO consequences. Bitcoin was the first real salvo against that modern tyranny. But instead of people coming together and stopping them, that same tyranny has hoarded resources and gobbled up the world’s compute and they finally have a real response (allegedly) against this thorn in their strange-hold on humanity.
If I had to guess, this is just the beginning. Don't be a bootlicker contributing to the continuation of the suffering of our species.
We are all about to go through a gauntlet. They want us to own nothing and be grateful for it. They want us to trust them as they lie, feast, and steal from us. They want to drain our creativity and exhaust our will. Even this supposed crypto cracking situation is an example; there are easy ways to provide evidence of their attack but instead they weave a web of lies and rumors against their enemy: all of us. The sew confusion, fear, loss, hopelessness. I am talking right now about a very old and ancient pattern that we all know very well.
I wonder what we're all going to do about it? It isn't looking good if people think their enemy is literally math.
solyin 9 hours ago | parent
cowlevel 7 hours ago | parent
knorker 6 hours ago | parent
I have a hard time taking this question at face value. Ransomware basically entirely depends on cryptocurrency.
> Organized crime primarily uses USD
Sure. Fiat currencies are also used for speculation and crime. It's just that it is also, and mainly, NOT used for that. A third category. And that third category is the main one.
> I think you may want to reflect on what happened during 2008 that triggered the creation of bitcoin.
I think this condescending statements misunderstands the nature of capital and wealth, and tries to equate it to fiat money.
> Because you are on the wrong side of history.
Oh, you're a true believer? That whole classy "every satoshi today is a slave you'll have in the future" thing?
> Modern robber barons stole from the world at an unprecedented scale and suffered ZERO consequences. Bitcoin was the first real salvo against that modern tyranny.
All it did was give criminals more power. Or shift power from at least elected criminals to the non elected kind.
> Don't be a bootlicker contributing to the continuation of the suffering of our species.
Jesus. You think funding CSAM and ransomware reduces suffering?
> They want us to own nothing and be grateful for it.
Bitcoin won't help you against that. It's just delusional.
> It isn't looking good if people think their enemy is literally math.
Yup, that's true believer talk. Math isn't law. Law is law. If you don't pay your taxes because it's not in your smart contract, then when the government kicks your door in, drags you away to a small room, and sells your house to someone else, then a smart contract somewhere saying your house still belongs to you doesn't actually mean anything. Math isn't the enemy. But neither can some scribbles on a blockchain "prove" that you are a sovereign citizen.
dontlaugh 10 hours ago | parent
swinglock 11 hours ago | parent
post-it 11 hours ago | parent
stnikolauswagne 11 hours ago | parent
mattashii 11 hours ago | parent
buddhistdude 10 hours ago | parent
pippy360 10 hours ago | parent
za_creature 10 hours ago | parent
armchairhacker 10 hours ago | parent
nmadden 10 hours ago | parent
_heimdall 8 hours ago | parent
int32_64 9 hours ago | parent
Nobody is going to spend billions to crack individual addresses and then dox their cryptographic capabilities sending them to an exchange to sell.
Auracle 4 hours ago | parent
Luckily I don’t think any of them are capable of producing the ASICs probably required, especially in time before things are secured.
naveen99 10 hours ago | parent
ForHackernews 10 hours ago | parent
- If they do nothing, eventually those old wallets are hacked and stolen, new supply + loss of confidence crashes the price.
- If they fork it and lock those old (abandoned -- but maybe not!) wallets, then they have undermined the only value proposition BTC has ever had - it's not an infallible "trustless" currency, some cabal of devs/miners can take away your coins. Obviously that's always been true, but they are vividly demonstrating it.
It's lose-lose, because both narratives are catastrophic for BTC.
pippy360 10 hours ago | parent
jMyles 8 hours ago | parent
For all addresses derived since BIP-32 (which is almost all addresses), the HMAC input (seed phrase or whatever) can be used as an independent witness, no? That requires no changes at all right now, and will cover all of the wallets except from the genesis era.
Also, assuming the curve isn't pwned right now today, the chains can stand up slots for a secret blinded witness to be used as a spending attestation in a PQC scheme. These are two "ways out", and I'm sure there are plenty more.
Why does everyone assume it's either ban already-published pubkeys or commit them to a wasteland of uncertainty and robbery?
cowlevel 7 hours ago | parent
jMyles 7 hours ago | parent
satvikpendem 10 hours ago | parent
armchairhacker 10 hours ago | parent
Maybe people are too stupid. But the point has always been that the “cabal” must be a vast majority of crypto users, who would never persecute you (or your demographic) specifically, unless you’re doing something extremely wrong (even petty or local crime won’t cause a hard fork).
jimmydorry 9 hours ago | parent
There have been numerous times where there has been contention about what to do about specific problems, and every time the combination of above has put their foot down and those that disagreed, left or were pushed out of the project.
jMyles 10 hours ago | parent
* Require attestation from the original HMAC derivation material in order to migrate the wallet.
swinglock 10 hours ago | parent
muyuu 7 hours ago | parent
With the integer bug, the consensus was there that is was an obvious bug and had to be fixed, and it went swimmingly.
With Bcash, there was no consensus so they were pretty much forked off the network and both value and PoW left no doubt about which one had the community's consensus behind.
There have been grey areas more recently, but a hard necessity to change will see the community move together like it happened before. Either that, or it will indeed collapse. But such trials happened before.
rcpt 6 hours ago | parent
Auracle 4 hours ago | parent
At some point it starts climbing. Eventually it climbs quickly enough to make the news, and people rush in to buy it, bringing it to all-time highs. Less coins are produced as the years go on and some are lost, so there’s always upward pressure.
Unless something absolutely mathematically catastrophic happens it’ll be fine.
doctorpangloss 36 minutes ago | parent
Is this not the mathematically catastrophic thing that happens?
jwpapi 10 hours ago | parent
aenvoker 10 hours ago | parent
The fork everyone has in mind would be one announced by the bitcoin core team. If that happened, it would go the same as it did when core Ethereum forked. There would be a worldwide argument over the legitimacy of the fork vs the unmodified client. Both chain would continue to run in parallel. And, everyone holding Bitcoin today would be holding both Bitcoin (new fork) and an equal amount of “Bitcoin Classic” (old fork). And, we’d all sit and watch how the prices of the two go from there.
A big difference would be there wouldn’t be much of an argument for sticking with a vulnerable fork. Even hardcore originalists would agree the fork was recommended by Satoshi himself if this happened.
The awkward part is that there would be a de facto pause on the network. At some point there would be an announcement “OK. We’re officially going to fork off of block N. We can’t stop you from continuing to transact on the current chain. But, your transactions after block N won’t be carried over to the forked chain.” The time between block N and the launch of the new fork will be painful.
And, I’m interested to see how secure migration of the 6 million bitcoins in vulnerable old wallets will work given that it would need to support a long time window. Preferably forever. But, I don’t know enough to say how to make that work.
The bright side is that Bitcoin might finally be able to drop the specter of Satoshi’s 1.1 million bitcoins. They are stored in vulnerable wallets and are not expected to migrate. So, the Bitcoin max supply would drop from a de facto 20 mil to an actual 20 mil (less lost, forgotten, burned and abandoned coins).
jMyles 10 hours ago | parent
Also, GP is specifically asking about _wallets whose address reveals the pubkey_. Thus, if SECP256K1 is pwned, their private key can be gleaned.
There is going to have to be some serious deliberation about what to do about these. It may be that the only viable option is to require attestation from the original BIP-32 derivation material in order for these addresses to be considered valid for migration.
gwillen 9 hours ago | parent
Attestation from BIP-32 derivation material is obviously not possible for very old wallets, most notably the "Satoshi coins"*, which are P2PK addresses and predate the existence of BIP-32.
A possible alternative involves allowing holders of such coins to bury a blinded commitment to a secret in the blockchain _now_, or soon, before "q-day" when all quantum-vulnerable spend paths get shut off. Then they could reveal the blinded commitment at any time in the future to make a quantum-resistant spend of the old coins. This preserves the status quo: holders of old coins can still retain access to them, without having to break their privacy by revealing anything, not even whether the coins do still have an owner.
*Technically nobody has any idea whose coins they are, or if they even belong to a single individual; only that they were mined by one or more very early miners, and never moved. Many people suspect that they were intentionally destroyed, since in the very early days of the network they were worthless, and reliable mining was a public service rather than a profit-making enterprise. And Satoshi (if it was Satoshi) may have realized that it wouldn't be good for the economics of the new currency if the creator owned the supermajority of all the coins.
jMyles 8 hours ago | parent
This thread was making me feel crazy.
The development and deployment of a protocol-level secret blinded witness attestation is a great silver lining of this whole thing. I hope it happens quickly.
Do you know where this is being worked on? (I presume it's a separate path for ethereum, based on a ZKP or Schnorr or something?)
foota 9 hours ago | parent
I'm not an expert on bitcoin, but again if we assume things are safe today, people could submit some "I am switching this account over SECP_SUPER_SECURE with address FOOBAR" message on the blockchain, but this method can only work until SECP256K1 is broken, since afterwards you wouldn't be able to trust those conversion messages since they would be spoofable.
indigo945 8 hours ago | parent
jMyles 8 hours ago | parent
For addresses that are post BIP-32 (ie, nearly all of them), this is not strictly necessary, because the original derivation material (which went through an HMAC to derive addresses) can serve as a witness.
For addresses older than that, it's not necessary to make a public pronouncement as you suggest; a blinded secret witness (or, for ethereum, a ZKP) can achieve this, in case bearers of such secrets want even their existence to remain uncertain.
foota 7 hours ago | parent
But how would the dating come into play here? I guess what you're saying is that before some date someone could publish some ZKP kind of thing (hand-waving, but I accept that this is likely possible) that would allow them to later prove that at that date they knew the private key, and hence if they later want to access those funds they should be able to?
jMyles 7 hours ago | parent
Expect discussion about this to ramp up in the next 10 days or so.
garaetjjte 10 hours ago | parent
thehamkercat 9 hours ago | parent
Completely opposite of what Satoshi wanted, government/people/a group being able to freeze your money,
or at least this will set up a precedent for that
aenvoker 9 hours ago | parent
mminer237 9 hours ago | parent
aenvoker 8 hours ago | parent
cowlevel 8 hours ago | parent
srdjanr 7 hours ago | parent
With broken crypto, the only two options would be keeping Bitcoin as is, vulnerable and thus worthless, or to give an option to migrate to a new fork to avoid that. I don't see how forking isn't a strictly better option.
ForHackernews 7 hours ago | parent
hapticmonkey 4 hours ago | parent
If the current 256bit scheme is reduced to a practical 85bits, then there’s not a major rush and thus can happen over the course of years.
Old addresses (lost keys or people who don’t send to new addresses) are still open fodder for anyone to throw compute at. That’s probably the way the community’s ethos will want it. No human intervention or preferential treatment.
I’m not sure what any of this means for mining, though. If mining gets easier then the difficulty self-adjusts. Unless mining gets totally broken and needs something to replace the SHA256.
ACCount39 2 hours ago | parent
PretzelPirate 9 hours ago | parent
In either case, the owner loses them. When the miners decide that unsafe coins are abandoned and it's better to lock them than to allow them to be stolen by a nation state.
This all assumes that bitcoin adds support for a new signature scheme and gives time for wallets to be migrated.
andix 1 hour ago | parent
gwillen 9 hours ago | parent
This means Bitcoin is on a much-accelerated timeline to get onto post-quantum cryptography, for which plans were already in motion, but it does NOT mean that Bitcoin wallets are breakable tomorrow or necessarily even next year.
For the NSA and the USG, it means they need to worry _now_ about attackers who can store huge volumes of encrypted communications today, and break them in a few years, when they might still be relevant from an intelligence perspective. Bitcoin doesn't need to worry about such attacks; once coins are moved, the old keys are worthless. So a break that brings timelines down from 30 years to 15, or from 10 years to 5, is critical to the USG/NSA but not to Bitcoin yet.
selectodude 9 hours ago | parent
ComplexSystems 7 hours ago | parent
yieldcrv 9 hours ago | parent
if satoshi’s coins were signed and transferred but nobody else’s can be accessed, whats the issue here? that bitcoin’s price goes down for the accurate reason of there being more supply on the market?
okay? so what? people will purchase it, that volume of bitcoin has been bought and sold in periods of high volatility before as well as OTC and bitcoin’s liquidity is near its highest its ever been.
the commodities market is always based on supply and demand, not a permanently bullish “it must go up” treatment that equities investors have.
this is more akin to a huge known gold deposit thats been under a glacier for a long time and the glacier just melted
its not a free for all where everyone steals from each other indefinitely rendering the network unusable
but the price is accurate as is so the network should do nothing and promote movement of balances to proper addresses
hartator 7 hours ago | parent
alchemist1e9 7 hours ago | parent
However most knowledgeable observers think it’s more consistent with the real owner becoming paranoid about that theoretical issue and/or the early public address system being more theoretically vulnerable (as has been speculated) and deciding to move their coins now (bad timing imho).
zarzavat 4 hours ago | parent
Nonetheless, I agree that it's a major problem that you would not necessarily know at what point it's being actively exploited if an attacker was smart enough to target abandoned wallets rather than active ones.
That would be the intelligent play, preserving the value of the coins as much as possible.
fwlr 7 hours ago | parent
Bitcoin, in its role as a decentralized currency issued by mathematical rather than political fiat, faces no threat. Genesis coins being reactivated means fewer coins were destroyed than market participants previously assumed, but it doesn’t break the hard cap of 21 million so Bitcoin remains a deflationary currency and Coase’s Theorem will eventually redistribute those old coins more-or-less fairly. For a non-technical analogy: It would be something like the market shock if Musk passed away suddenly without a will and his assets were liquidated and distributed equally amongst all his biological children.
Bitcoin, in its role as an unregulated-ish cyber gambling game / stock market, faces an existential threat as the amount of old coins dwarfs the current amount in play. A non-technical analogy here is if all the money in a casino’s vault was destroyed and all patrons simultaneously realise the chips they’re betting with, expecting to be able to cash them in for real dollars, are now basically Monopoly money.
The tension would be that this second group, who have essentially “conquered” Bitcoin by virtue of being most of its users, would have the desire and maybe the ability to break some of Bitcoin’s principles or protocols to prevent their apocalypse.
Essentially, this is not strictly a fatal problem for Bitcoin, but current users could make it Bitcoin’s problem.
jwpapi 4 hours ago | parent
https://btcpuzzle.info/puzzles
Given we have puzzles here with a 140bit difficulty the security would be reduced to 48bit, which is easily doable.
This is easily doable on a single GPU and there is a bounty of 14 BTC now half a million dollar on it. But nobody has solved it yet.
It could be that none of the people that have access to the exploit care about it, but it also means it’s not yet so spreaded that people can just crack it. Or the approach only works on the full 256 bits.
andix 1 hour ago | parent
A bitcoin fork could also lead to two (or more) versions of bitcoin existing next to each other. Without anyone being able to decide which is the real bitcoin. Could be fun ;)
opk 11 hours ago | parent
treeblah 10 hours ago | parent
treeblah 10 hours ago | parent
blackcatsec 10 hours ago | parent
Unfortunately I've found on most of the internet the hybrid support is largely x25519/mlkem768. But if you don't have an explicit need to be TLS compatible, I'd move further.
treeblah 9 hours ago | parent
cowlevel 7 hours ago | parent
denverllc 10 hours ago | parent
adrian_b 10 hours ago | parent
Nonetheless, the safer choice is to assume the worst case, which is that Curve25519 is also vulnerable. With this assumption, in all places where elliptic curves smaller than 384 bits are used, they must be replaced, which corresponds to the recommendations of NSA.
cowlevel 7 hours ago | parent
steeleduncan 6 hours ago | parent
globular-toast 7 hours ago | parent
jwpapi 10 hours ago | parent
They didn’t yet crack 2^71 jfi
cyphar 10 hours ago | parent
Sadly it's not widely supported (a lot of internet standards forget to include it) but if you're implementing cryptosystems it's pretty easy to get your hands on and it's even FIPS approved. OpenSSL supports it but based on some very minimal testing it seems browsers won't negotiate it for TLSv1.3.
verandaguy 10 hours ago | parent
cyphar 9 hours ago | parent
NIST SP 800-56Ar3 does not explicitly approve X{25519,448} but Appendix D references NIST SP 800-186 which does allow them, and NIST has announced they plan to update it to include them. (Everyone switching to X25519MLKEM768 is already on the same boat in terms of compliance.)
And Ed{25519,448} signatures are explicitly approved in FIPS 186-5.
throw0101d 8 hours ago | parent
How many configurations have it as an option as compared to the various NIST 'P-series' options? If you, and also the folks you have to interop with, do not have Curve448, what's the point of implementing it now? Further, if you do government work and have to use Official Workflows™, then it may not be an option (FIPS 186-5 notwithstanding).
If you're going to spend effort to implement something now, you might as well put effort in (hybrid and/or pure) PQC options.
feeditbread 1 hour ago | parent
There are cryptographic reasons to prefer the NIST curves too:
> Along with deterministic and hedged ECDSA signing algorithms, formally verified field implementations, and the 2015 complete addition formulas by Renes, Costello, and Batina, this nicely completes the “rehabilitation arc” of NIST elliptic curve cryptography, which I would now personally recommend over Curve25519/Ed25519/X25519.
cyphar 13 minutes ago | parent
The seeds being reverse engineered does inspire some confidence and I personally no longer err on the side of thinking they are likely to be intentionally weak, but DJB has long made the argument that even "nothing up my sleeve" numbers can chosen to exploit 1-in-a-million curve weaknesses[2] and hashed data of timestamps is even easier to exploit in that manner.
At best I would say that ECDSA is in a more acceptable position than it was in 1999. I do know who Filippo is, but preferring ECDSA over EdDSA is a very weird conclusion to make IMHO. Yes, the cofactor of 8 and the need for Ristretto255 in some protocols is unfortunate but ECDSA has its own quirks around valid points.
[1]: https://www.lrqa.com/en/cyber-labs/flaw-in-putty-p-521-ecdsa... [2]: https://bada55.cr.yp.to/
andix 1 hour ago | parent
cyphar 22 minutes ago | parent
[1]: https://www.lrqa.com/en/cyber-labs/flaw-in-putty-p-521-ecdsa...
alpn 10 hours ago | parent
gist is:
- ssh-keygen(1) now defaults to ECDSA NISTP384.
- default first-preference signature algorithm has been changed to ML-DSA 44/ed25519 hybrid.
- initial support for composite ML-DSA 87 / ECDSA P384 signatures has been added.nodesocket 10 hours ago | parent
JoyfulPanda 7 hours ago | parent
ls65536 9 hours ago | parent
ls65536 26 minutes ago | parent
JanisErdmanis 8 hours ago | parent
johnea 8 hours ago | parent
I'm not an expert, that's why I'd use a Bernstein recommended algorithm.
sidcool 8 hours ago | parent
kuschku 7 hours ago | parent
asveikau 7 hours ago | parent
* Backports to OpenBSD stable branch and errata
* New OpenSSH portable release
* Distros adopting previous step
Or is do we end up waiting for a new OpenBSD release -- the 6 months cadence would put it at around May -- before normies start seeing these patches?
globular-toast 7 hours ago | parent
shevy-java 7 hours ago | parent
thisisthenewme 7 hours ago | parent
cvhc 6 hours ago | parent
charlieyu1 6 hours ago | parent
r2vcap 6 hours ago | parent
globular-toast 5 hours ago | parent
pezezin 34 minutes ago | parent
ajasmin 5 hours ago | parent
bitanarch 2 hours ago | parent
cassonmars 1 hour ago | parent
andix 1 hour ago | parent
Edit: P-521 seems to be even faster than P-384. No idea why.
dspillett 46 minutes ago | parent
I'm all for sending a “for <this host> the keys <list> will be changing on <date>, deal with it” communication, but I suspect powers above me will prefer to offer a smoother transition if we can.
mscdex 24 minutes ago | parent