Skip to content

Instantly share code, notes, and snippets.

@jacroe
Created December 4, 2012 04:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacroe/4200610 to your computer and use it in GitHub Desktop.
Save jacroe/4200610 to your computer and use it in GitHub Desktop.
Appends the fingerprint to the end of Pianobar's config file
fingerprint=`openssl s_client -connect tuner.pandora.com:443 < /dev/null 2> /dev/null | openssl x509 -noout -fingerprint | tr -d ':' | cut -d'=' -f2` && echo tls_fingerprint = $fingerprint >> ~/.config/pianobar/config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment