this post was submitted on 16 Oct 2024
70 points (100.0% liked)

No Stupid Questions

36138 readers
1173 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 18 points 2 months ago* (last edited 2 months ago) (2 children)

If you mean the "passkeys" that are becoming popular as a "password replacement", it's basically speaking a public private keypair. What makes it more secure is that, under normal conditions (aside from backing up the passkey), the private "secret" part of the keypair never leaves the app or device it's stored on. It's only used temporarily to sign messages and prove that you have the secret key, unlike a password which needs to be sent securely to a server to validate.

You could in theory store a backup on a USB drive but since passkeys are new, it highly depends on the password manager you use to store the passkey. Since passkeys are more complex than something you can memorize/type, it has to be stored in a password manager of some sort to be useful, so you would need to check that password manager allows backing up passkeys. There is currently work being done to standardize the formats/protocols to transfer passkeys so it seems this is very much up in the air. For example, I use BitWarden which stores passkeys, ~~but it seems like I can only add or delete passkeys to an entry, not export them~~ and apparently they get exported with the passwords when the vault is exported. BitWarden also syncs your vault to every logged in device though so you could see that as a form of backup. Going one step further, ~~even though BitWarden doesn't have a passkey export/backup feature yet~~ (in addition to Bitwarden's vault export), the self-hosted server also stores all your passwords including passkeys in regular files which also can be backed up (this is how I back up my VaultWarden instance) - although it would probably be hard to use that backup in any other way besides restoring it onto a BitWarden server instance.

Edit: I didn't realize passkeys were exported with the vault export, since I haven't used it and noticed that editing an entry doesn't allow you to view passkey data - only remove, updated my comment to reflect that.

[–] Limonene 5 points 2 months ago (2 children)

What are the benefits of a passkey over a client certificate?

[–] [email protected] 4 points 2 months ago

Passkeys are basically client certs for website logins.

Server stores a public key, encrypts a challenge on login attempt. Client browser uses private key to decrypt challenge (and sign it maybe?) and respond to web server to authenticate.

Hackers can’t get a shared secret (like a password or password hash) by hacking the website’s database becaus the public key is all they store; useless without the private key.

Not foolproof, but much harder to exploit than passwords - which many people re-use across multiple sites.

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

What are the benefits of a client certificate? As an end user, I’m pretty sure I’ve never used one.

[–] Limonene 3 points 2 months ago (1 children)

I don't know much about client certificates, because nobody ever used them. All I know is that they are decades older than passkeys, and "certificate" implies there is a public-private keypair, just like in a passkey.

[–] [email protected] 3 points 2 months ago

If I were talking about Passkeys and comparing them to client certificates, even though I don’t know much about client certificates in practice, I would say:

  • Passkeys can be installed in your password manager, which handles securely syncing it to all of your devices
  • Websites can make it very easy to create or log in with a passkey
  • Far more websites support passkeys
  • Websites can support multiple passkeys per user
  • The user experience is far better with passkeys
  • Even if your password manager isn’t installed on a given machine, you can still log in with a passkey via your phone, so long as both devices have bluetooth enabled. This allows you to log in on an untrusted device, like a library computer, without exposing your password (though unfortunately that would still result in that computer having access to the session and being able to modify account settings - best practice would be to log out when you’re done and then, from a trusted device, confirm that you were logged out / log out of all devices.)
[–] subtext 1 points 2 months ago (1 children)

Bitwarden exports passkeys when using the .json export format

https://bitwarden.com/help/export-your-data/

[–] [email protected] 2 points 2 months ago

Oh nice, I completely forgot about the vault export since I've never used it. I was expecting to be able to "view" the passkey data when editing an entry like how you can view the password. It's kind of inscrutable when viewing a single entry currently.