3 ms·
This is cool! One suggestion: I currently can't bookmark a URL that just contains my email with public key in the querystring, because the app complains that so
by lectrick 12y ago
This is cool! One suggestion: I currently can't bookmark a URL that just contains my email with public key in the querystring, because the app complains that some parameters are missing. So for example https://diafygi.github.io/emailpk/?from=<myusername+publickey>@gmail.com https://diafygi.github.io/emailpk/?from=<myusername+publicke... will fail. If this worked, and automatically told the app the "from" address, that would make it easier to just hit a saved link or bookmark containing that info so I could get right down to business.
Other than that, a bit of polish and this would be fantastic. One problem might be running into the maximum URL length allowed by browsers (2083, limited by IE, if I am correct), if you store the ciphertext on the URL, but I don't see another way to get around that short of a very clever HTML email that performs a form post... which may be possible, not sure.
- diafygi 12y agoThanks! Pre-filling the form is a good suggestion. Want to do a pull request? Also, I try keep the encrypted payload size minimized, but yes, URL limits can be a problem (as well as line breaks that email clients sometimes insert). You can always copy and paste the link into the Read Existing text area, though.
- lectrick 12y agoI could probably make that work, but my Javascript skills were last used when JQuery was new, so I may be out of the loop