←back to thread

1901 points l2silver | 2 comments | | HN request time: 0.437s | source

Maybe you've created your own AR program for wearables that shows the definition of a word when you highlight it IRL, or you've built a personal calendar app for your family to display on a monitor in the kitchen. Whatever it is, I'd love to hear it.
1. thirdreplicator ◴[] No.35740035[source]
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.

replies(1): >>35742985 #
2. ta28042023 ◴[] No.35742985[source]
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/