Earlier quoted context omitted.
Surely you passphrase protect your id_rsa!
Back to entering passwords (or passphrases for that matter)... Yay!
Signing in to websites with SSH
81–90 of 169 posts
Re: Signing in to websites with SSH
#82Wow. I just have one question for you: why? Have you ever heard of TLS and client certificates? Every browser and every decent web server supports TLS with a client certificate for auth.
Because client certificates have been around for donkeys years and almost nobody uses them. Even technical people! But technical people do use ssh keys .
Server side, it is 3 or 4 Nginx lines. Client side, people only have to get the cert, click it to open, and install it on Chrome. After that, they are happy they don't have to remember any password for our different services.
I think we could implement it for our users if we gave the option to "login using cert" and "send me a new cert" (to the email they used for signin). People need minimal training but they don't have to be computer literate to do it (half of our company are not, and they found it better than passwords once the system was in place).
Re: Signing in to websites with SSH
#83The difference with crtauth is that you don't need an SSH server running in tandem, everything is handled by the crtauth library. Our main use case for this is for bots that need to access secure services.
Protocol spec: https://github.com/spotify/crtauth/blob/master/PROTOCOL.md
Re: Signing in to websites with SSH
#84Earlier quoted context omitted.
Back to entering passwords (or passphrases for that matter)... Yay!
That's a retarded retort. In the SSH case you have ONE password to remember. Not one per website. Furthermore, the password never leaves your machine. Log in to a hundred websites with SSL and a password and the NSA comes along, collects all your passwords server side, knows which ones you reuse, knows your password generation patterns, everything. You are completely nuts if you think these two things are the same.
Re: Signing in to websites with SSH
#85Earlier quoted context omitted.
@nly How does this system prevent me from setting up a website that looks like Paypal and giving you the address of my ssh server?
It doesn't, but your SSH server wouldn't be able to produce a valid token for Paypal.com. Btw i'm not liking this SSH solution either, I was just pointing out that's still better than SQRL, which is awful in that it has exactly 1 advantage (it protects users against password reuse) and many nuanced flaws.
Re: Signing in to websites with SSH
#86Re: Signing in to websites with SSH
#87Re: Signing in to websites with SSH
#88I use it for exactly one purpose: authorizing the "ghosting" of a customer account. ("Log in as this user.") Putting that behind SSH means that anyone authorizing a ghosting has both a blessed SSH key and the password to it. Even rooting my session on our admin app, via reflected XSS or stealing my unlocked laptop out of my hands, doesn't get you that. (Our admin app, by design, is less-than-all-powerful. A malicious admin session could do a heck of a lot of damage to our business but, critically, would be unable to access personally identifying data about customers' clients.)
Re: Signing in to websites with SSH
#89Re: Signing in to websites with SSH
#90Earlier quoted context omitted.
Because HTTP is stateless and session-less, and cookies are a hack to make it stateful. We introduced the notion of a session where we already had one, in the form of TLS sessions. Note that it would also make APIs much simpler by moving the authentification, authorization and session logic in the certificate, where it actually already is.
> We introduced the notion of a session where we already had one, in the form of TLS sessions. But that would only apply to HTTPS. An extension to HTTP itself was necessary so state could be maintained for both HTTP and HTTPS. Especially in the mid-1990s (the era when cookies and HTTPS were introduced) when acquiring a CA-signed certificate was cumbersome and expensive.
Even without going as far as that, I believe that as soon as you have to manage some kind of session you're going to have private data flying around, and that should be protected in TLS.