Skip to content

Instantly share code, notes, and snippets.

@filipposc5
Created November 23, 2017 21:08
Show Gist options
  • Select an option

  • Save filipposc5/cd0050bb8bd9982c1f6b57653585b41e to your computer and use it in GitHub Desktop.

Select an option

Save filipposc5/cd0050bb8bd9982c1f6b57653585b41e to your computer and use it in GitHub Desktop.
pinentry "sniffer" to use with flag --pinentry-program
#!/bin/bash
cat | tee -a ~/pinentry-in.log | pinentry-mac "$@" | tee -a ~/pinentry-out.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment