Secure password sharing using a passphrase (without a link)
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Problem (small background):
I use a password manager and my passwords are automatically generated and are therefor pretty long and complex.
Everytime I have to login to an account on a device on which I don't have my password manager setup, I need to go to the password manager on another logged device and hit "reveal" and then copy the 30 charachter long password with all the weird symbols per hand.
All the other available solutions do the same thing: generate a very long ULR which you need to send to the other device. This acutally makes the problem worse as now you have to enter this really long and weird URL.
The Solution:
This Webapp encryptes the password on the device before sending it to the server using an 8-charachter-long "passphrase" (in total 218340105584896 possible combinations) which gets displayed to the user. On the other device the user simply needs to enter this short passphrase to decrypt the password.
This Webapp only works on Secure website (TLS) as that's one of the requirements for using Webcrypto API.
No worries, Webcrypto works on localhost
too (so please avoid using 0.0.0.0
or similar IPs)
This project requires nodejs to be installed.
- nodejs (https://nodejs.org/en/download/)
- Clone the repo
git clone https://github.com/Mekacher-Anis/passhare.git
- Install NPM packages
npm run install:deps
- Serve the app
npm run serve
- Device 1
- Enter Password
- Click send
- Device 2
- Enter the ID (usually
0
and it's already filled-out) - Click Get
- Click Copy to copy your passwod.
- Enter the ID (usually
- Add a docker container.
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Project Link: https://github.com/Mekacher-Anis/passhare