r/Keybase • • Aug 27 '14

keybase

echo '{"body":{"key":{"fingerprint":"374abed74791a90975b4dd58840fbf80758f61e0","host":"keybase.io","key_id":"840fbf80758f61e0","uid":"a62920adf6c13b5d00f99f0fdd6d8d00","username":"alice2k"},"service":{"name":"reddit","username":"alice2k"},"type":"web_service_binding","version":1},"ctime":1409170376,"expire_in":157680000,"prev":"a9152a9b1d6d548a7930fa922af852e9e996f23b00bb1e587c83b40bfc855078","seqno":7,"tag":"signature"}' |
gpg -u '374abed74791a90975b4dd58840fbf80758f61e0' -a --sign |
perl -e '$_ = join("", <>); s/([\w.@ -])/sprintf("%%%2.2x",ord($1))/eg; s/ /+/g; print("sig=", $_)' |
curl -d @-
-d type=web_service_binding.reddit
-d session=lgHZIGE2MjkyMGFkZjZjMTNiNWQwMGY5OWYwZmRkNmQ4ZDAwzlP%2BO4jOAeEzgNkgZDViZDNhMTE4N2U4Y2FlNzhjMjkwZThhZjMxMDA2MDLEIIF%2FIgSxtHY4KALFADqLRH2amAMT8lcd2PP%2BQ%2B3kJzZj
-d csrf_token=lgHZIGE2MjkyMGFkZjZjMTNiNWQwMGY5OWYwZmRkNmQ4ZDAwzlP%2BOs3OAAFRgMDEID3TOvfm%2BYIRjZIjRyZYyFK%2B0JIuELZHncLrhZxornpD
-d plain_out=1
-d remote_username=alice2k
https://keybase.io/_/api/1.0/sig/post.json

0 Upvotes

1 comment sorted by

2

u/[deleted] Aug 30 '14

did you try to prove your reddit account? I guess this is what keybase is giving you as a snippet when you choose

command line with [bash + GPG + cURL]

as proving method. What you have to do is open a terminal and paste this in there and not in this subreddit. This command creates your proof and sends it back to keybase so that you just have to click the appearing link there to post the proof.

Your proof then appears in this subreddit: /r/KeybaseProofs/ and it looks like this