~unhammer

Recent activity

(auth-source-search :port "subsonic") dangerous 3 years ago

From Kevin Brubeck Unhammer to ~amk/public-inbox

Hi,

(auth-source-search :port "subsonic") on my end seems to select some
completely unrelated entry (even though I've got an entry with that
port). And then makes a login request to that …

I think it'd be safer if you require the user to set a machine name
first, and search for that machine name

(auth-source-pick-first-password :host subsonic-host)