cockpit icon indicating copy to clipboard operation
cockpit copied to clipboard

Passwordless login

Open laphilipa opened this issue 5 years ago • 9 comments

I'm working on passwordless login with webauthn over here https://codeberg.org/_laphilipa/cockpit/src/branch/webauthn

If I build it right into cockpit will it get merged or shuold I build a plugin instead?

laphilipa avatar Apr 10 '21 20:04 laphilipa

I have something working now the UI needs some love but the backend is working. It can be tested with laphilipa/cockpit:webauthn docker image.

Requirements: Fido2 key (eg. solo or yubikey).

If this is tested from behind a reverse proxy the site_url config parameter needs to be correct. This is a fido2 build in phishing prevention.

laphilipa avatar Apr 11 '21 19:04 laphilipa

I made it an addon now https://codeberg.org/_laphilipa/cockpit-webauthn however I would love to see this as part of Cockpit itself.

laphilipa avatar Apr 14 '21 20:04 laphilipa

I haven't tested your addon yet but this sounds awesome! Sad, that you still haven't got any feedback. Development seems to have slowed down a bit, even though at the moment Cockpit is the 8th most popular on the Jamstack Headless CMS list.

szegheo avatar Feb 11 '22 08:02 szegheo

Any updates on this? Looks like a great addition to cockpit.

joaodforce avatar Jun 14 '22 18:06 joaodforce

Does this use the Web Authentication API? As the next version of Safari should support using Face ID and Touch ID to login which would likely have a bigger userbase than hardware keys currently do.

Ref: https://developer.apple.com/videos/play/wwdc2020/10670/

mountainash avatar Jun 14 '22 19:06 mountainash

Does this use the Web Authentication API? As the next version of Safari should support using Face ID and Touch ID to login which would likely have a bigger userbase than hardware keys currently do.

Ref: https://developer.apple.com/videos/play/wwdc2020/10670/

yes, it does. But this goes beyond Apple's iCloud Passkeys, Last time I checked google chrome supported WebAuthn even if you don't have a hardware based key on the computer, I think you can use your phone or something.

But still anyway, WebAuthn support would be great either way, it's a direction the whole web should be moving towards in the future.

joaodforce avatar Jun 14 '22 19:06 joaodforce

As the next version of Safari should support using Face ID and Touch ID

It already works with FaceID and TouchID as well as with external keys (Lightning, USB-C and NFC). Safaris UI is a bit ugly but since realistically end users are not going to use it yet (as basically no website supports it) I think they just didn't value making it pretty yet.

laphilipa avatar Jun 16 '22 07:06 laphilipa

This would be an awesome add-on to cockpit, I'd love to see it integrated.

0xNath avatar Dec 04 '23 20:12 0xNath

What happened to this? The links to code no longer work.

jchax avatar Jan 17 '24 08:01 jchax