Author

Topic: Any Python dev want to partner on this #bitcoin-otc GPG auth helperscript? (Read 556 times)

legendary
Activity: 3052
Merit: 1031
RIP Mommy
I can't easily figure out how to pass OTP to gpg for decrypt and copy/paste to/from clipboard, not having Linux, Hexchat, or programmed Py before.

Other than double checking my code, the missing pieces of the puzzle are porting over from my Applescript for Adium:

Code:
curl http://bitcoin-otc.com/otps/YOUR16DIGITGPGKEYIDGOESHERE | gpg2 -d | pbcopy

... then taking the decrypted OTP from the clipboard and pasting it between the parentheses in the next hexchat.command

... all as simple human-readable as possible.

Please fork and drop in your own nick and donation address where I left a space, then pull request me after you've successfully unit tested:

https://github.com/TheButterZone/supybot-bitcoin-marketmonitor/blob/master/GPG/helperscripts/bitcoin-otc-gpg-eauth-hexchat.py
Jump to: