News for hackers. Stuff that matters.
Re:Poll: What do you think of OpenID? by pyre on Sunday October 11, 2009 @01:11PM (#874915)
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).

Re:Poll: What do you think of OpenID? by jf on Sunday October 11, 2009 @01:52PM (#874978)
I'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

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.

Re:Poll: What do you think of OpenID? by mstef on Sunday October 11, 2009 @02:19PM (#875008)
actually it is possible already to set up certificates and use them for authentication, in firefox you can check this under preferences/advanced/encryption
Re:Poll: What do you think of OpenID? by jf on Sunday October 11, 2009 @11:31PM (#875902)
I 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".
Re:Poll: What do you think of OpenID? by pyre on Monday October 12, 2009 @01:30AM (#876101)
My 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).

Re:Poll: What do you think of OpenID? by kniwor on Sunday October 11, 2009 @03:19PM (#875109)
This 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/
Re:Poll: What do you think of OpenID? by pyre on Monday October 12, 2009 @01:37AM (#876117)
I'd really like to see more details about how they are implementing this, which that page provides none of, unfortunately.
Re:Poll: What do you think of OpenID? by kniwor on Monday October 12, 2009 @05:58AM (#876386)
Yea... 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.