mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-03 09:49:31 +02:00
Add Blob based authentication
This commit is contained in:
parent
93640465dc
commit
dfabbe5aa5
1 changed files with 7 additions and 1 deletions
|
@ -48,7 +48,13 @@ blob = AES128-CTR-DECRYPT(encryption_key, IV, encrypted)
|
||||||
The blob is then used as described in the next section.
|
The blob is then used as described in the next section.
|
||||||
|
|
||||||
## Blob based Authentication
|
## Blob based Authentication
|
||||||
TODO
|
|
||||||
|
|
||||||
|
```
|
||||||
|
data = b64_decode(blob)
|
||||||
|
base_key = PBKDF2(SHA1(deviceID), username, 0x100, 1)
|
||||||
|
key = SHA1(base_key) || htonl(len(base_key))
|
||||||
|
login_data = AES192-DECRYPT(key, data)
|
||||||
|
```
|
||||||
## Facebook based Authentication
|
## Facebook based Authentication
|
||||||
TODO
|
TODO
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue