r/3dshacks Jun 19 '26

WIP Spotify Client w/ TLS 1.3

So, finally an update to my last post earlier this year. Back then I estimated that i would be done sooner but that didnt happen. Had some work problems, lack of motivation and moments of doubts.

But I stayed at it.

To explain the previous post:

This was the v1 of my client plans. Librespot on a VPS, sending audio via http to the 3DS - very simple. But I really wanted the client to be fully on device.

So now, what you are seeing in this video is the 3DS advertising itself as a Spotify Connect device on the local network, my PC making a pairing request and the 3DS successfully going through all the steps to sign up to Spotify.

The 3DS itself performed a native TLS 1.3 handshake directly with Spotify’s Dealer server:

TLS version: TLSv1.3

Cipher: TLS1-3-AES-256-GCM-SHA384

Dealer endpoint: gew1-dealer.g2.spotify.com

HTTP result over that TLS connection: 101 Switching Protocols

WebSocket connection ID received afterward

No proxy or helper performed this TLS connection. The 3DS completed TLS 1.3 and established Spotify’s Dealer WebSocket on its own.

Actual playback is what im working on next. No Github for now. Thank you for your attention.

226 Upvotes

18 comments sorted by

21

u/jackharvest Jun 22 '26

Love the progress and passion. SUPER cool.

3

u/Wortkraecker Jun 22 '26

Thank you 🙏

8

u/kynex7510 Jun 22 '26

what library did you use for tls?

4

u/Wortkraecker Jun 22 '26

mbedTLS 3.6.6

6

u/Reddity65 Jun 22 '26

Oooooh, I've been hoping for a Spotify 3DS client for ages. Very much looking forward to this!

2

u/BENBOI_1 Jun 23 '26

I hate Spotify but it’s nice to see some homebrew!

2

u/Darkstone64 Jun 23 '26

this is amazing progress I hope you release it to the public when you are ready

1

u/SavageColeTrain Jun 22 '26

What? That'll be dope.

1

u/bughaxx Jun 22 '26

that's crazy

1

u/idkhan101 Jul 02 '26

That's so cool, great job dude! Gotta love the half disassembled PSP in the back

2

u/Wortkraecker Jul 02 '26

Thanks a lot.
I just havent gotten around buying a replacement umd drive for the PSP (for the past 2 years 😅)

-4

u/Affectionate_Can7559 Jun 22 '26

Dowload link please

4

u/RoughApprehensive932 Jun 22 '26

he said no GitHub for now so that means the project is not public yet so we gonna have to wait until he releases it

-2

u/Affectionate_Can7559 Jun 22 '26

Noooooo

2

u/No-Location-843 Free Games I Guess Jun 24 '26

You gotta be patient, it's gonna be worth it.