Unofficial Hacker News companion — get notified on comment replies, and more.

Anthropic has made a major breakthrough in theoretical cryptanalysis (opens external site)

648 points by bifftastic 3 days ago | twitter.com | 639 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (3)

  1. There would never exist a need for such a ridiculous method.

    If public-key cryptography did not exist, Visa and Mastercard would not be able to communicate directly with you, but only with your bank and a big bank would also not communicate directly with you, but only with the local branch were you had opened accounts by going there in person.

    When you would open bank accounts by being physically present at a bank agency, you would pair your authenticating device with a bank server, when the pairing devices would exchange pre-shared secret keys, where each customer has a distinct pre-shared key, randomly generated.

    Then online banking could be done like today. For a credit or debit card usable in an ATM, each card would have to contain a microcontroller with its own pre-shared secret key, to be able to authenticate itself when inserted in an ATM.

    The only serious problem of such a banking system is that the security of the bank servers that store databases with pre-shared secret keys of the customers and of the cards would be critical. If someone would hack such a server and access the content of the database, they could impersonate any customer and transfer their funds.

    Replies (1)
    1. That's just plain PSK. In case of SCRAM the authenticator stored on the server can't be used to impersonate the client.
      Replies (1)
      1. SCRAM does only authentication, not session key exchange.

        The SCRAM authenticators cannot be used to impersonate a client for the same reason as an /etc/passwd or /etc/shadow file.

        Obviously, a database with pre-shared secret keys should stay encrypted on the SSD/HDD, so if the server were hacked, reading the file system would not be enough to obtain useful information, the same as with the hashed SCRAM authenticators.

        Nonetheless, if a hacker would obtain a control over the server that is privileged enough, to be able to examine process memory, then the unencrypted secret keys could be accessed (total memory encryption, which is available in many recent CPUs, would make that much more difficult).

        A server could be dedicated to do nothing else than handling the establishment of encrypted connections with clients (similarly to the old-style Kerberos servers) and it could be hardened enough to make impossible any tampering with it, but this would be an additional requirement in comparison with what is needed today, when a server must protect only its own private key for digital signatures.