GitHub - FiloSottile/age: A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.
github.com
external-link
A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability. - GitHub - FiloSottile/age: A simple, modern and secure encry...

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?

CHEF-KOCH
link
fedilink
0
edit-2
3Y

View things

  • Your post maybe belongs into security.
  • This is not done by professionals or a bigger group which means that they do not intended to use this as professional replacement. I only mention it in case someone wants to use it on enterprise environment. 40 contributer might seems big but it is not, not for such huge project.
  • The tool is not meant as FDE tool, alias to replace VeraCrypt or tools specifically designed for one single thing alias KeePass.

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 sufficient enough.

Simplicity

Here are the main arguments why I think age was developed.

  • Encrypted files by pass and keys are smaller compared to the competition.
  • It works smoothly with SSH keys which are perfectly recognized by possibly any developer.
  • No need for external client, such as OpenKeychain for Android or GpgWin/Kleopatra for Windows.
  • Embed-able in Rust and Go, which means there are third-party libraries, no need to call gpg --decrypt ... from the command line.
  • You can use age-plugin-yubikey to combine it with Yubikey and use it for password reasons.

Alternatives

There are similar tools like libsodium-file-crypter for specific platforms and needs. Rage is also an alternative.

  • ChaCha20-BLAKE2b
  • OpenKeychain
  • Picocrypt
  • bitwarden-go
  • cobra
  • minisign
  • pass-tomb
  • poetry2nix
  • sops

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.

~sunblocker
creator
link
fedilink
23Y

libsodium-file-crypter hasn’t received any commits in the past 4 years. Looks abandoned to me.

CHEF-KOCH
link
fedilink
03Y

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.

Can you explain how you intend to use minisign as a replacement for age, please ? 😂

CHEF-KOCH
link
fedilink
0
edit-2
3Y

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.

CHEF-KOCH
link
fedilink
-13Y

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.

Can you provide a link to that “age signature plugin”, please?

Yeah, that’s what I thought. Thank you for playing 🙂

~sunblocker
creator
link
fedilink
03Y

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.

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

  • Posting a link to a website containing tracking isn’t great, if contents of the website are behind a paywall maybe copy them into the post
  • Don’t promote proprietary software
  • Try to keep things on topic
  • If you have a question, please try searching for previous discussions, maybe it has already been answered
  • Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
  • Be nice :)

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

  • 0 users online
  • 14 users / day
  • 18 users / week
  • 24 users / month
  • 15 users / 6 months
  • 20 subscribers
  • 619 Posts
  • 1.56K Comments
  • Modlog