3 ms·
Show HN: Ward – a file vault written in bash
just wanted to share ward, a tool i hacked together to encrypt and manage sensitive files in a vault folder. it's written in bash and meant to be cloned and then stored using git or version control.
you don't have to store it that way, it's just why i created it.
what ward does:
encrypts the files in ./vault/ into a single .gpg file, checks to see if your files have been tampered with, generates totp codes if you need them to recover critical accounts.
how to use it:
clone the repo, toss your files into the vault directory, and run yarn encrypt. now commit your new [private] repository or save it somewhere.
that's it. repo link: https://github.com/oeo/ward https://github.com/oeo/ward
feedback welcome, or just let me know if you find it useful.
- janreges 2y agoThank you for this simple but useful tool! It works. I will be happy to use it e.g. with USB sticks, where I sometimes transfer sensitive data and so far I have only used dm-crypt. Btw, if somebody's Ubuntu/Debian doesn't want to find "oath-toolkit", install "oathtool".
- genesishash 2y agoglad you found it useful
- zufallsheld 2y agoWhat's up with the commit-messages? https://github.com/oeo/ward/commit/73811e03a45ba77bc87e277caa0384033ccd91c7 https://github.com/oeo/ward/commit/73811e03a45ba77bc87e277ca...
- genesishash 2y agoi have an incredibly obnoxious commit alias that just sha's the unix epoch and uses it as a commit message.
- latexr 2y agoWhy? If it’s “incredibly obnoxious”, why do you use it?
- mesrine 2y agoWhy do I need yarn (package manager for JavaScript) for invoking bash scripts?
- latexr 2y agoThis all lowercase trend is getting out of hand. What are people even doing? Do you write everything normally then use a script to lowercase every letter? Uppercase letters have a purpose, they provide clarity. Please respect your readers. Like it or not, presentation sends a signal. Why would someone trust a security project where the author hasn’t even bothered to write instructions properly or make legible commit messages?
- UI_at_80x24 2y agoHave you looked into pass? https://www.passwordstore.org/ https://www.passwordstore.org/ I think it's a bit more elegant and keeps it 100% "bash" without needing the JavaScript.
- Octabrain 2y agoThanks for creating this. However, I was a bit puzzled when I found a packages.json and then saw that all the heavy lifting is done from bash. I don't understand the need for having to install Yarn for just running a bunch of bash scripts. IMHO, after seeing the size and the amount of logic within the scripts, I think you could have made it more ergonomic by just building a bash script that takes parameters and that's it.