From cf57274f9c6418e94ca1cfec05533e33dc8bb684 Mon Sep 17 00:00:00 2001 From: Paul Lietar Date: Sat, 2 Jan 2016 14:49:51 +0100 Subject: [PATCH] Add some details to zeroconf authentication --- docs/authentication.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/authentication.md b/docs/authentication.md index a0decc44..cfe84f76 100644 --- a/docs/authentication.md +++ b/docs/authentication.md @@ -28,6 +28,9 @@ blob used to authenticate with Spotify's servers. The blob is decrypted using the following algorithm. ``` +# encrypted_blob is the blob sent by the controller, decoded using base64 +# shared_secret is the result of the DH key exchange + IV = encrypted_blob[:0x10] expected_mac = encrypted_blob[-0x14:] encrypted = encrypted_blob[0x10:-0x14]