5 ms·
Lately I've been thinking that what we really need is something based on PGP/GnuPG. Think about it. If the browser implemented access to your keychain, then you
by pyre 17y ago
Lately I've been thinking that what we really need is something based on PGP/GnuPG. Think about it. If the browser implemented access to your keychain, then you could use your keys as login.
When you 'sign up' you would just provide you public key to the website (upload or url). Then when you were presented with a login, the browser would be sent a data set to sign with your private key and send back to the server you are trying to access (which would then verify with you public key).
- jf 17y agoI've been thinking about OpenPGP based website authentication too. You should check out the web pages I have book marked under the "gpg" tag: http://delicious.com/jf/gpg http://delicious.com/jf/gpg My main frustration right now is that, aside from Bouncy Castle, all the libraries I've looked at to do cryptography seem to just be partially implemented wrappers around GnuPG.
- mstef 17y agoactually it is possible already to set up certificates and use them for authentication, in firefox you can check this under preferences/advanced/encryption
- jf 17y agoI really like client-side SSL certificates, I just hate dealing with custom root certificates. I'm excited about using the OpenPGP web-of-trust to add a "social" layer to applications. For example: "Allow any of my friends to log in to this server".
- pyre 17y agoMy main inspiration of thought along these lines is the urge to want to post things like photos online for friends/family, but I shy away from using something like Facebook to do it. The only problem with 'rolling my own' is the I don't want to necessarily make all photos world-viewable, and I don't want to force my friends/family to create an account just to view my photos. If all I had to do was grab their public key, I could then do everything behind the scenes (even creating groups so that some people can see some photos and others can't).
- kniwor 17y agoThis can be easily done using openid. Openid providers are free to authenticate you any which way including exotic means like those. Here's an implementation in private beta: http://pgpopenid.com/ http://pgpopenid.com/
- pyre 17y agoI'd really like to see more details about how they are implementing this, which that page provides none of, unfortunately.
- kniwor 17y agoYea... That page is next to useless. Had heard of them a while ago and thought they would have more write up then that on their home page. Anyway, this is very simple to do. You first create a server that can authenticate you just for itself over the web. You send it your id, it sends a random string. You sign it and send it a random string of your own. Server signs your random string and sends it back. You both know you are authentic, server leaves a signed cookie at your end. Now this server can act as an openid server too. You give random web-app your openid residing on this server... random web app asks this server. It confirms or denies and life is good.