keybase / keybase-issues

A single repo for managing publicly recognized issues with the keybase client, installer, and website.
899 stars 37 forks source link

Allow populating form fields with query parameters for sign/verify/encrypt/decrypt pages #2170

Open pipermerriam opened 8 years ago

pipermerriam commented 8 years ago

What is wrong?

It would be very nice to be able to specify values for the various form fields on these pages using query parameters.

How could it be fixed?

When a user visits a url like https://keybase.io/sign?msg=a-messag-to-sign the page could auto-populate the form field with the message specified in the query parameter. This would make it easy to send a user to this page and have the desired message pre-populated into the textarea.

Cute animal picture

url

patcon commented 5 years ago

Also, a big fan of this idea, particularly if it would allow us to point at an externally-hosted text/plain url, to automatically verify the file.

https://keybase.io/verify?input-msg-url=https://raw.githubusercontent.com/hyphacoop/organizing/res/001-appoint-officers/resolutions/resolution-001.md.patcon.asc

As a use-case: Our org is going to be legally signing organizational documents with keybase for our tech worker co-operative. It would be neat if we could direct link to not only signatures, by easy validation of each, like seen at the bottom of this sample doc: https://gist.github.com/patcon/3e2c4f8f5746ba33d815b344ffa63e2f

(in the real version of this, the clearsigned messages will match the actual text of document 😉 )