this post was submitted on 14 Feb 2024
300 points (100.0% liked)

Technology

68599 readers
3494 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
 

Passkeys: how do they work? No, like, seriously. It’s clear that the industry is increasingly betting on passkeys as a replacement for passwords, a way to use the internet that is both more secure and more user-friendly. But for all that upside, it’s not always clear how we, the normal human users, are supposed to use passkeys. You’re telling me it’s just a thing... that lives on my phone? What if I lose my phone? What if you steal my phone?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 158 points 1 year ago (7 children)

Until someone can explain to me how I can transfer, manage and control my passkeys without syncing them to some hostile corporation's cloud infrastructure, passkeys will remain a super hard sell for me.

[–] [email protected] 40 points 1 year ago (4 children)

You can use Bitwarden to store passkeys. Not sure if the self hosted solution has support for it yet though.

[–] [email protected] 23 points 1 year ago (1 children)

I must admit that, despite reading about passkeys a bit, I still don't understand the actual practicalities. I seem to recall that Bitwarden can store keys, but can't generate them. If that's true, who generates the passkey?

[–] [email protected] 22 points 1 year ago (1 children)

Bitwarden can both generate and store them in the browser extension. It can also use them through the browser extension but it can't yet use them through the mobile apps (they're working on it).

[–] [email protected] 2 points 1 year ago (1 children)

Bitwarden pro right? ($10 for the year, totally worth it). My mobile app can create/use them already too.

[–] [email protected] 6 points 1 year ago

Don't need the premium version of Bitwarden to use passkeys. The free version works.

That said, $10 per year is not a big cost to support the company storing your vault and developing the apps.

[–] [email protected] 10 points 1 year ago

Vaultwarden does at least, I've been using it with passkeys for the last couple months and it's been great.

[–] [email protected] 2 points 1 year ago

VaultWarden user here - yes you can now use your own self-hosted server to store passkeys and that's a gigantic game-changer. Just install the BitWarden add-on on a recent version of Firefox and voilà

[–] [email protected] 2 points 1 year ago (1 children)

2024.1.2 released with self-hosted server passkey support.

TBH though I would not trust myself to self host my keys to my digital life when the alternative is $40/year for the whole family. You may have a different perspective though.

[–] [email protected] 2 points 1 year ago

You can just use something like YunoHost, and synchronize weekly encrypted backups via Nextcloud or Syncthing to all of your computers. That way, if your server ends up busted for whatever reason, you can just restore it elsewhere and go back to business

[–] [email protected] 28 points 1 year ago (4 children)

I currently use Syncthing to keep my Keepass database updated on my phone, laptop, and home server. Any change anywhere is instantly sent directly to the other 2 devices.

[–] [email protected] 7 points 1 year ago

this is the way

you can even tweak folders to either send or receive only on some devices

plus if you really want to be safe you can set file versioning and ignore deletes on a folder to make it strictly backup on more than one device

no internet connection required, you can set it all on lan

I think it is my favorite open-source project after Torvalds' creations

[–] [email protected] 6 points 1 year ago (1 children)

Yeah, I do the same but with nextcloud.

[–] [email protected] 3 points 1 year ago (1 children)

How'd you get nextcloud actually working? I've tried a few times and it was never stable.

[–] [email protected] 2 points 1 year ago

I use the ebuild on Gentoo, combined with some custom nginx config, and a dedicated php-fpm instance just for Nextcloud. Never tried using any of the Docker packages for it so I can't comment on those.

Updates involve merging the new package and running webapp-config to link the files into place, running occ upgrade, and refreshing ownership of the php files. Never had a serious problem with it.

[–] [email protected] 3 points 1 year ago (1 children)

Does KeePass support passkeys?

[–] [email protected] 5 points 1 year ago

KeePassXC is working on it but I haven't seen anything about the original KeePass.

[–] [email protected] 1 points 1 year ago (1 children)

Can you use SyncThing along with Nextcloud? I currently use Nextcloud to store my data, but the one part where it still lags a bit behind is on Android specifically (you need to manually sync certain changes).

[–] [email protected] 1 points 1 year ago

I don't know anything about Nextcloud. Syncthing is open source, and there are a couple of Android apps. I use Syncthing Fork and don't have any problems.

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago) (1 children)

Depends on where the line is as far as evil goes. Most of the popular password managers are now starting to support storing passkeys.

[–] [email protected] 5 points 1 year ago

I draw the line at the password manager being fully local.

[–] [email protected] 5 points 1 year ago (1 children)

Browsers can save them and extensions like, KeepassXC, can behave like a passkey provider

[–] [email protected] 1 points 1 year ago (3 children)

That's something, but isn't half the benefit meant to be storing them in the TPM? Also, that won't help if you're logging into a game or app, surely? Would love to be wrong on that, of course.

[–] [email protected] 6 points 1 year ago

Many apps now do the 'app opens the browser for login' process instead of having the login in their actual app. They don't have to implement all the different ways to log in then, they can just use the same system that their normal account management stuff on their site uses.

You can get greater security with hardware-backed solutions like a TPM but the adoption rate was not great. I think the goal is to improve things over passwords, even if the credentials are then available on multiple devices via a sync or a password database file. Perfect being the enemy of good and all that. Hardware options still exist and you can still use them; they use the same WebAuthn standard that passkeys use.

[–] [email protected] 2 points 1 year ago

Also, that won’t help if you’re logging into a game or app, surely?

MicroG has added support for passkeys already

[–] [email protected] 2 points 1 year ago

Yeah, I personally will only use hardware solutions for passkeys -- YubiKeys and TPM-backed WHFB creds.

But the other reply makes a very good point about adoption being more important than perfection since, even with software-backed passkeys, you still have the benefit of the secret never leaving the client.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

You can create passkeys on individual devices without cloud syncing them. This is a normal usage pattern. How exactly this will be handled depends on the implementation.

[–] [email protected] 3 points 1 year ago

Enpass stores the passkey in their db, can be used cross platform and has browser extensions and local (or WiFi) syncing.