News for hackers. Stuff that matters.
Re:Ask HN: How to safely share passwords with normal users o... by _448 on Friday July 02, 2021 @12:44PM (#27713843)
How are the users going to access the password? Via mobile app, browser, desktop app?

One way is to generate a temporary public-private key on the user-agent. Let the user-agent send the public key to the server. The server encrypts the data with the public key, sends the encrypted data to the user-agent and then deletes the public key. The user-agent then decrypts the received encrypted data using the private key. Once the data is decrypted, the user-agent deletes the public and private keys.

There are no comments on this comment yet.