mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
Add some details to zeroconf authentication
This commit is contained in:
parent
efef614731
commit
cf57274f9c
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,9 @@ blob used to authenticate with Spotify's servers.
|
||||||
The blob is decrypted using the following algorithm.
|
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]
|
IV = encrypted_blob[:0x10]
|
||||||
expected_mac = encrypted_blob[-0x14:]
|
expected_mac = encrypted_blob[-0x14:]
|
||||||
encrypted = encrypted_blob[0x10:-0x14]
|
encrypted = encrypted_blob[0x10:-0x14]
|
||||||
|
|
Loading…
Reference in a new issue