← all logs

· 1 min read

Crosslist build 4, and a one-character auth bug 

Getting the iPhone app ready for a closed beta, plus the login bug that turned out to be the wrong hash function.

Crosslist is now an iPhone app, and build 4 is the one going to a small closed beta. Getting there was a pile of unglamorous fixes, plus one bug I’m still a little embarrassed about.

The login bug

Real sign-ins were failing, and nobody could see why. Crosslist uses OneProfileID for login, and OneProfileID signs its tokens with Ed25519. When the app checked the token hash (at_hash), it used SHA-256. Ed25519 tokens need SHA-512.

That was the whole bug: one wrong hash function. Every other check passed, so everything looked right. I fixed it, added a test with a production-shaped token, and the next sign-in worked.

What else went into build 4

  • No duplicate playlists. If Spotify returns a 5xx partway through creating a playlist, Crosslist keeps a checkpoint and won’t retry into a second copy.
  • Apple Music matching now uses the listener’s own country’s catalogue.
  • Resharing a playlist someone sent you works from the shared snapshot, not from the sender’s Spotify.
  • Public support and privacy pages, plus delete your account that removes your Crosslist data and leaves your music libraries alone.

It’s uploaded and processed. Next: real-phone tests of every save direction, and then invites.