Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I made a password manager in Rust. It just encrypts and decrypts a file from/to ~/passwords.txt <-> ~/passwords.ryp (the encrypted form). Because the the file names are fixed it's easy to use. Just type:

ryp

If ~/passwords.txt is there, it will be encrypted. If ~/passwords.ryp is there, it will be decrypted.

The cool feature is that it checks to make sure that the password you typed in the nth time you encrypt it is the same as the 1st time. This protects you from inadvertently encrypting it with a typo if you check/update your passwords many times.



Have you heard of `pass`[0] before?

It's not quite as simple as your solution, but otherwise works really well.

[0] https://www.passwordstore.org/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: