- cross-posted to:
- hackernews@lemmy.smeargle.fans
- cross-posted to:
- hackernews@lemmy.smeargle.fans
There is this tool called age written in go and a fully compatible Rust implementation called rage. They promise to be a simple tool for encrypting files and other things.
It only does encryption, using public key cryptography (Curve 25519 or SSH keys) or password based symmetric encryption. (Please excuse me glossing over some details here)
It only encrypts things, no signatures beyond AEAD involved. It aims to be minimalistic and do just one thing reasonably well instead of being a mediocre multi tool. It doesn’t aim to be a full replacement for things like OpenPGP.
AFAICT there hasn’t been a proper security audit yet. There seem to be some issues with the design as pointed out here which don’t look like critical flaws to me, but then again I’m not a cryptography expert.
Some of the questions I want to throw into the discussions are:
- Is it any good?
- In which situation would you use it?
- What are some alternatives that do it differently or maybe even better and why is that?
Bonus question: Is there a similar tool that uses an audited library like libsodium, and if not, would it be worth developing one?
View things
About audits as measurement
An independent audit is expensive and not meant as an overall approval certificate. It is more designed to be a snapshot at that time when someone external checked your code, done by security experts and professionals. This does not mean, even if the code is vulnerable, that it stays that way, nor does it indicate that just because there are flaws found, that it was actually abused in the real-world because in lots of cases abusing some vulnerabilities requires lots of effort, infecting the host, manipulating signatures, … yada yada yada …
About the tool
Good is subjective term, if you just want to encrypt some single files it is more than sufficient enough.
Simplicity
Here are the main arguments why I think age was developed.
gpg --decrypt ...
from the command line.Alternatives
There are similar tools like libsodium-file-crypter for specific platforms and needs. Rage is also an alternative.
The alternatives list depends heavily on the question if you want to use this mainly as password manager or file encryption utility, or even as all-in-one solution.
libsodium-file-crypter hasn’t received any commits in the past 4 years. Looks abandoned to me.
Or no one found something. Commit history is not an indicator that no one is working on something, more like that no one submitted something. If its finished, then there is no need to commit something.
I could post an list of tools designed for enterprise environment users. There are not man because in such an environment you basically only use audited programs due to assurance company reasons, in case there are problems because the first and last question is if issues were known and if that could have been prevented.
You can also inspect open audit databases and check what was audited already.
Thanks for the detailed answer. I’m not looking for an enterprise encryption solution, just curious about opinions and thoughts I haven’t considered yet. I found the age tool and don’t yet have a problem I want to solve with it.
Can you explain how you intend to use minisign as a replacement for age, please ? 😂
If you have nothing useful to add here you should not answer.
Age has some plugin capabilities, there are plugins for like e.g. Yubikey, so you can also create plugins for file verification. Age is pretty modular in this regard.
Still bossing people around, I see. “You should not answer” “Your post belongs elsewhere”. You never change :) Your intimidation attempts are ineffective on me. You should move on.
Age plugins are not Age. Minisign is an excellent tool. It is not a replacement for Age.
Still trying to undermine peoples opinions by cherry picking things to add nothing useful for the discussion trying to discredit me based on things you do not understand.
You can code plugins surround age and you can utilize them, apparently you do not understand it. You can check signatures with age too, just saying.
It is a replacement for those who mainly use age for that purpose.
Can you provide a link to that “age signature plugin”, please?
Yeah, that’s what I thought. Thank you for playing 🙂