Skip to content

Instantly share code, notes, and snippets.

@r35krag0th
Created November 30, 2012 02:10
Show Gist options
  • Save r35krag0th/4173333 to your computer and use it in GitHub Desktop.
Save r35krag0th/4173333 to your computer and use it in GitHub Desktop.
Get Pandora TLS Fingerprint
#!/bin/bash
##
## A simple little shell script that will return the current
## fingerprint on the SSL certificate. It's crude but works :D
##
## Author: Bob Saska (r35krag0th) <[email protected]>
openssl s_client -connect tuner.pandora.com:443 < /dev/null 2> /dev/null | \
openssl x509 -noout -fingerprint | tr -d ':' | cut -d'=' -f2
@bcorey
Copy link

bcorey commented Jan 4, 2016

@acepha
I'm having a TLS fingerprint problem, except there is no pianobar folder inside the .config folder, so I can't change the fingerprint. Do you have any idea why this is, or how to get around it? I'm using Debian.

@firecat53
Copy link

@bcorey Just create ~/.config/pianobar/config (cd ~/.config && mkdir pianobar && nano (or vi or whatever editor) pianobar/config) and add the "tls_fingerprint = xxxxx" line.

@bonelifer
Copy link

@r35krag0th I've Modified this to automatically change the tls_fingerprint for you: https://gist.github.com/bonelifer/9d12e13b8465c213d2d2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment