upvote
or simply by someone obtaining the keys, which happens.
reply
perfect forward secrecy helps with this one at least
reply
deleted
reply
"You can't hide secrets from the future"
reply
You can if you use an OTP :)
reply
First, we have perfect forward secrecy, which alleviates this problem (edit: yep, to a limited extent, not if you can crack any number of keys for free). Second, I think people really overestimate the value of "harvest now, decrypt later". For intelligence, recency is (almost) everything. The NSA really doesn't have that much use for the porn sites you visited 20 years ago. They can't even blackmail you with it, because the only way they could leak the info is to publicly say "sooo yeah, we've been recording everyone's traffic to decrypt it 20 years later and look what we found" - and even then, the only proof they have is their pinky-promise that these ancient logs are real.
reply
> First, we have perfect forward secrecy, which alleviates this problem.

No PFS protects you from private keys being stolen in the future. It does not protect you if efficient solutions to the mathematical problems underlying the protocol are found. That breaks PFS and you can retroactively decrypt messages even with ephemeral keys.

reply
I think this is largely right - no conventional encryption scheme survives this scenario - though it's worth noting that conventional commitment schemes can.

E.g. if I publish a Pedersen commitment C = g^secret h^randomness, with a good source of randomness, the hiding property survives even against a future adversary with unlimited compute. (The binding property doesn't survive though.)

I think it's possible to design something like Zcash where the transaction graph remains private even against computationally unbounded adversaries, though Zcash itself doesn't have quite as strong a guarantee.

reply
But you have to break each key individually (either the symmetric key or the key exchange). It will still take work to break each key.
reply
It dramatically increases the number of distinct keys that you need to crack though. If you have a quantum computer that can crack a key every 10 minutes, that’s only about 50k keys a year. This HN post has likely been served over more sessions than that.
reply
> First, we have perfect forward secrecy, which alleviates this problem.

No. We have “perfect forward secrecy” subject to the security of various algorithms that might be broken in the future. For example, your PFS session secured by Curve25519 will be broken by any self-respecting quantum computer.

reply
Not only that, the vast majority of people are already leaking all kinds of information through 1000 different sidechannels, there's no need to "harvest now, decrypt later"
reply
do you just never communicate anything then?
reply
Assuming a complete break in RSA, ECC, AES, ML-KEM (which this is not)... back to one time pads, or OTP key initialisation (i.e. pre-shared keys) and short key validity. More physical transfer of media, more air-gapped systems. Increased emphasis on TRANSEC (security of the wire) and tamper evident keymat storage devices. Basically you go to an office and get keymat transferred to your key fill device.

Practically it is a massive PITA. But you can store a lot of keymat on a 1TB NVME SSD. Some for your bank, for online retailers (e.g. Amazon), for your Government comms, anything high value.

I wouldn't be surprised if some critical Govt systems still use one time pads, though probably wrapped in other crypto. E.g. nuclear launch comms.

reply
You evaluate the risks against the upsides. For a vast amount of communication it doesn't really matter if its decrypted in the far future.
reply
Yup just assume everything will be decrypted
reply