Plugin list
GPG
Provides authentication based on GPG keys.
First you must associate your GPG key with your Limnoria account. The gpg
add command takes two arguments, key id and key server.
My key is 0x0C207F07B2F32B67 and it's on keyserver pool.sks-keyservers.net
so and now I add it to my bot::
+gpg add 0x0C207F07B2F32B67 pool.sks-keyservers.net
1 key imported, 0 unchanged, 0 not imported.
Now I can get token to sign so I can identify::
+gpg gettoken
Your token is: {03640620-97ea-4fdf-b0c3-ce8fb62f2dc5}. Please sign it with your GPG key, paste it somewhere, and call the 'auth' command with the URL to the (raw) file containing the signature.
Then I follow the instructions and sign my token in terminal::
echo "{03640620-97ea-4fdf-b0c3-ce8fb62f2dc5}"|gpg --clearsign|curl -F 'sprunge=<-' http://sprunge.us
Note that I sent the output to curl with flags to directly send the
clearsigned content to sprunge.us pastebin. Curl should be installed on
most of distributions and comes with msysgit. If you remove the curl part,
you get the output to terminal and can pastebin it to any pastebin of
your choice. Sprunge.us has only plain text and is easy so I used it in
this example.
And last I give the bot link to the plain text signature::
+gpg auth http://sprunge.us/DUdd
You are now authenticated as Mikaela.
Command |
Help |
key add | GPG key add <key id> <key server>
Add a GPG key to your account. |
key list | GPG key list takes no arguments
List your GPG keys. |
key remove | GPG key remove <fingerprint>
Remove a GPG key from your account. |
signing auth | GPG signing auth <url>
Check the GPG signature at the <url> and authenticates you if
the key used is associated to a user. |
signing gettoken | GPG signing gettoken takes no arguments
Send you a token that you'll have to sign with your key. |