Pretty Good ID - Password replacement

Any other tech-related topics
Message
Author
User avatar
Andrew Lee
Posts: 3063
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: Password replacement

#46 Post by Andrew Lee »

Any chance PGID will support Firefox?
I am hoping someone will pick it up. :) Since FF extensions are also written in JavaScript, most of the code should be portable, except for the plumbing. Should be a good exercise in writing FF extension!

On another note, since Opera 15 is now based on Chromium, the Chrome extension should work with little or no modification.

I am now focusing my time on writing a PGID mod for phpBB.

User avatar
Andrew Lee
Posts: 3063
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: Pretty Good ID - Password replacement

#47 Post by Andrew Lee »

For those of you who thought I was done on this topic, well I'm back. :D

Initially I wanted to start working on server-side PGID authentication plugins for phpBB, then Wordpress. But I got side-tracked.

I started wondering if PGID can be supported on mobile browsers. So I did a little bit of research, and it was quite a letdown that I found out Chrome on mobile devices does not support extensions (yet). :cry:

Fortunately, Firefox on Android (codename: Fennac) does, so I started to prototype an addon for it.

To my pleasant surprise, it works! And quite a bit of non-UI code could be shared with the Chrome extension.

Once the Fennac code was done, it was quite straightforward to port the addon to Firefox (desktop), where I found even more of the code (now the UI bits) could be shared with the Chrome extension.

So there we are. PGID support for Chrome, Firefox and Firefox Mobile!

I have also mobile-enabled the main and demo sites using Bootstrap, so they render better on mobile devices.

The Chrome extension is now officially available on the Chrome Web Store.

The Firefox addons are still undergoing the review process, which I must say is a royal pain the a** compared to the Chrome submission process. So I have attached the respective XPI files with this post so you can try them out.

Video clips of the extension/addons in action are also available on YouTube for Chrome, Firefox and Firefox/Android.

Github will be updated once I finish readme.md documentation.

Attachment: Firefox addon
Attachment: Firefox/Android addon

romulous
Posts: 76
Joined: Fri Feb 25, 2011 5:51 pm

Re: Pretty Good ID - Password replacement

#48 Post by romulous »

Andrew Lee wrote:The Firefox addons are still undergoing the review process, which I must say is a royal pain the a** compared to the Chrome submission process.
Browser add-on's are one of the more important vectors for attack for malware authors now. If Google's Play store is any guide to their Chrome store, it is probably infested with add-on's that steal your personal data (and Google does not give a toss). Firefox's process may be clunky - but it appears to work. To my knowledge, they have not had the same amount of breaches (malware infested add-on's) land in their add-on store that Chrome has.

romulous

User avatar
joby_toss
Posts: 2971
Joined: Sat Feb 09, 2008 9:57 am
Location: Romania
Contact:

Re: Pretty Good ID - Password replacement

#49 Post by joby_toss »

@Andrew: any direct download link for the Chrome plugin?

User avatar
Andrew Lee
Posts: 3063
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: Pretty Good ID - Password replacement

#50 Post by Andrew Lee »

Here it is: Chrome addon

User avatar
Andrew Lee
Posts: 3063
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: Pretty Good ID - Password replacement

#51 Post by Andrew Lee »

Just came to my attention that there is a similar idea called SQRL (Secure Quick Reliable Login):

https://www.grc.com/sqrl/sqrl.htm

There are many similarities, but also differences (eg. using curve digital signature to reduce the number of bits required for the key). I am still reading up on it.

It is still very new. There are a few pre-alpha implementations of it, both on the client and server side.

User avatar
Andrew Lee
Posts: 3063
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: Pretty Good ID - Password replacement

#52 Post by Andrew Lee »

I am very impressed by SQRL. It has the following additional pluses over PGID:

- It generates a different public/private key for each domain based on the original key. Hence when a web service is hacked, the public key exposure has zero value to the hacker 'cos even if it can be factored with a brute-force attack, the private key so obtained cannot be used for another site.

- Key change is seamless to the user. If the original key is compromised, a rescue code created during key generation can be used to create a new key. Then when you login to the website, the old key will automagically be updated to the new key. The attacker, without your rescue code, cannot update the original key.

- It has additional features to guard against phishing and man-in-the-middle attack. I don't think any scheme can completely guide against human stupidity, but I think the features in SQRL are a nice compromise between simplicity and usability.

Given this new info, I don't think there's any reason for me to continue working on PGID. My efforts are better spent helping out with SQRL in whatever ways I can. I can't wait for the specs to be finalized and for more websites to adopt it. I really think username/password is an abomination that needs to die.

There's a nice illustrated guide to SQRL here:

http://www.sqrl.pl/

It's extremely easy to test it out with an Android client and various test sites:

- https://sqrl-login.appspot.com/
- https://sqrl-test.paragon-es.de/

No native Win32 implementation yet as far as I can tell. Maybe that's what I should be working on. :D A portable WIN32 SQRL client.

User avatar
Midas
Posts: 6725
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Pretty Good ID - Password replacement

#53 Post by Midas »

FTR, there's recent mini-survey of related projects at the TinyApps.org blog:

Specular
Posts: 443
Joined: Sun Feb 16, 2014 10:54 pm

Re: Pretty Good ID - Password replacement

#54 Post by Specular »

+1 for any SQRL clients :)

User avatar
Andrew Lee
Posts: 3063
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: Pretty Good ID - Password replacement

#55 Post by Andrew Lee »

I am still following the sqrl discussion closely. I hope we will see a 1.0 release of the specs soon. Then the various clients can catch up, and I can try to implement it for TPFC.

Post Reply