Skip to content

Commit

Permalink
Add some details to zeroconf authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
plietar committed Jan 2, 2016
1 parent efef614 commit cf57274
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit cf57274

Please sign in to comment.