this post was submitted on 21 Mar 2025
21 points (100.0% liked)
Programming
19076 readers
276 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Thanks for your reply. The idea of zero-knowledge authentication is that the password never touches the server. Instead, the user can prove that they know the password when logging in by solving a challenge. This enables the user to log in from any new device without the need to transfer keys between them. I'll take a closer look at your suggestions though. Thanks again!
All you need in order to do this is for the client to encrypt their password before sending it to the server. Often services that advertise "zero knowledge" platforms that use end-to-end encryption will authenticate their users in this way. If this were a website for example, there could be a javascript/wasm library used within the client page that encrypts their password before a login request is sent to the server.