[GH-ISSUE #69] Authentication failure when password contains special characters #58

Closed
opened 2026-02-27 19:28:35 +03:00 by kerem · 6 comments
Owner

Originally created by @sashahilton00 on GitHub (Jan 29, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/69

Issue by RyanMelenaNoesis
Saturday Jul 22, 2017 at 01:52 GMT
Originally opened as https://github.com/plietar/librespot/issues/225


I was experiencing a crash in spotty when using a Spotify password that contained '$'. After changing the password to eliminate special characters the problem was resolved.

spotty -n test -c /tmp -u <accountName> -p <password with $ in it> --disable-discovery
thread 'main' panicked at 'Authentication failed', /mnt/hgfs/git/spotty/target/i686-unknown-linux-musl/release/build/librespot-8e0c60f10117bf90/out/lib.rs:365
note: Run with RUST_BACKTRACE=1 for a backtrace.
Aborted (core dumped)

Originally created by @sashahilton00 on GitHub (Jan 29, 2018). Original GitHub issue: https://github.com/librespot-org/librespot/issues/69 <a href="https://github.com/RyanMelenaNoesis"><img src="https://avatars3.githubusercontent.com/u/7570707?v=4" align="left" width="96" height="96" hspace="10"></img></a> **Issue by [RyanMelenaNoesis](https://github.com/RyanMelenaNoesis)** _Saturday Jul 22, 2017 at 01:52 GMT_ _Originally opened as https://github.com/plietar/librespot/issues/225_ ---- I was experiencing a crash in spotty when using a Spotify password that contained '$'. After changing the password to eliminate special characters the problem was resolved. `spotty -n test -c /tmp -u <accountName> -p <password with $ in it> --disable-discovery` _thread 'main' panicked at 'Authentication failed', /mnt/hgfs/git/spotty/target/i686-unknown-linux-musl/release/build/librespot-8e0c60f10117bf90/out/lib.rs:365 note: Run with RUST_BACKTRACE=1 for a backtrace. Aborted (core dumped)_
kerem 2026-02-27 19:28:35 +03:00
Author
Owner

@sashahilton00 commented on GitHub (Jan 29, 2018):

Comment by mherger
Saturday Jul 22, 2017 at 09:10 GMT


Spotty is a small tool based on the librespot application https://github.com/michaelherger/spotty

<!-- gh-comment-id:361264434 --> @sashahilton00 commented on GitHub (Jan 29, 2018): <a href="https://github.com/mherger"><img src="https://avatars2.githubusercontent.com/u/1515327?v=4" align="left" width="48" height="48" hspace="10"></img></a> **Comment by [mherger](https://github.com/mherger)** _Saturday Jul 22, 2017 at 09:10 GMT_ ---- Spotty is a small tool based on the librespot application https://github.com/michaelherger/spotty
Author
Owner

@sashahilton00 commented on GitHub (Jan 29, 2018):

Comment by simias
Thursday Jul 27, 2017 at 09:49 GMT


Something trivial but: are you sure the problem is not simply that your shell interpreted the '$'? Was it escaped correctly? If the shell expanded it then it's not surprising that it ended up being invalid.

FWIW my password also contains a '$' and I authenticated successfully using librespot. Didn't try with spotty however.

<!-- gh-comment-id:361264451 --> @sashahilton00 commented on GitHub (Jan 29, 2018): <a href="https://github.com/simias"><img src="https://avatars0.githubusercontent.com/u/7925386?v=4" align="left" width="48" height="48" hspace="10"></img></a> **Comment by [simias](https://github.com/simias)** _Thursday Jul 27, 2017 at 09:49 GMT_ ---- Something trivial but: are you sure the problem is not simply that your shell interpreted the '$'? Was it escaped correctly? If the shell expanded it then it's not surprising that it ended up being invalid. FWIW my password also contains a '$' and I authenticated successfully using librespot. Didn't try with spotty however.
Author
Owner

@sashahilton00 commented on GitHub (Jan 29, 2018):

Comment by michaelherger
Wednesday Aug 09, 2017 at 04:27 GMT


BTW: is this a dupe of issue #210?

<!-- gh-comment-id:361264467 --> @sashahilton00 commented on GitHub (Jan 29, 2018): <a href="https://github.com/michaelherger"><img src="https://avatars3.githubusercontent.com/u/2789989?v=4" align="left" width="48" height="48" hspace="10"></img></a> **Comment by [michaelherger](https://github.com/michaelherger)** _Wednesday Aug 09, 2017 at 04:27 GMT_ ---- BTW: is this a dupe of issue #210?
Author
Owner

@sashahilton00 commented on GitHub (Jan 29, 2018):

Comment by michaelherger
Wednesday Aug 09, 2017 at 04:29 GMT


FWIW: the command line used to authenticate does put quotes around those values.

<!-- gh-comment-id:361264487 --> @sashahilton00 commented on GitHub (Jan 29, 2018): <a href="https://github.com/michaelherger"><img src="https://avatars3.githubusercontent.com/u/2789989?v=4" align="left" width="48" height="48" hspace="10"></img></a> **Comment by [michaelherger](https://github.com/michaelherger)** _Wednesday Aug 09, 2017 at 04:29 GMT_ ---- FWIW: the command line used to authenticate does put quotes around those values.
Author
Owner

@sashahilton00 commented on GitHub (Jan 29, 2018):

@RyanMelenaNoesis if this is still an issue, was the password in quotes?

<!-- gh-comment-id:361340013 --> @sashahilton00 commented on GitHub (Jan 29, 2018): @RyanMelenaNoesis if this is still an issue, was the password in quotes?
Author
Owner

@ComlOnline commented on GitHub (Jan 29, 2018):

Please use #65 for further discussion.

<!-- gh-comment-id:361354655 --> @ComlOnline commented on GitHub (Jan 29, 2018): Please use #65 for further discussion.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#58
No description provided.