logoalt Hacker News

nullc • today at 10:38 PM • 1 reply • view on HN

Another "post-asymmetric cryptography" idea that may be useful for SSH, VPN, Chat, etc. sort of uses would be a chained symmetric secret:

For each communication partner, store a small set of additional 256-bit secrets. After establishing your authenticated session share hashes of the secrets you have in common and find the most recent in-common value. Then mix its secret into your current keys. After doing so generate a new random value for both sides to replace them.

The effect of this is that a passive store and decrypt attack must have successfully intercepted EVERY communication between these parties. As soon as one session goes across a link they failed to monitor, they've lost the trail at least until one of the sides loses their cache.

It's ineffective against an active attack that could tamper with the traffic to suppress the cache. But it should often kill the store-and-decrypt-later attack dead without any reliance on asymmetric crypto or dependency on user-facing symmetric key management. User practices of intentionally communicating across diverse channels could strengthen it further. (Are the attacker somehow gonna capture your wired internet, your cellular internet, and the device to device bluetooth link that one time you were talking in person?)


Replies

adrian_b • today at 11:04 PM

There are various methods for generating pre-shared secret keys to be used only one time, for the establishment of a secure connection, and then never again.

The only part that needs care is to use a protocol that would allow the resynchronization of the two parties when some connection attempts fail for various reasons, but after that, one party may believe that the connection has succeeded, while the other party thinks that it has failed, thus at the next connection attempt they may use other secret key values than expected by the other party.

➕ show 1 reply