Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-47318

AuthEngine key exchange needs additional KDF round

    XMLWordPrintableJSON

Details

    Description

      AuthEngine implements a bespoke [key exchange protocol |https://github.com/apache/spark/tree/master/common/network-common/src/main/java/org/apache/spark/network/crypto|https://github.com/apache/spark/tree/master/common/network-common/src/main/java/org/apache/spark/network/crypto].] based on the NNpsk0 Noise pattern and using X25519.

      The Spark code improperly uses the derived shared secret directly, which is an encoded X coordinate. This should be passed into a KDF rather than used directly.

      Attachments

        Activity

          People

            sweisdb Steve Weis
            sweisdb Steve Weis
            Sean R. Owen Sean R. Owen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: