Lurker News

Comments (88) 23 threads

Earlier comments
lmeyerov#
Something I've been wondering for awhile: while innovation for per-file-level encryption is useful, is there a clean way to run encrypted docker volumes for achieving containerized encryption-at-rest? In particularly, a portable docker-only way (ex: docker-compose containers / users on the network get access and that's it), with no host linux FS / k8s extensions?
voidmain#
I think this is dangerous to use for many of the use cases that it would appear useful for, especially for any form of backups. By design, it protects the confidentiality of encrypted files but not the integrity, and in almost every real threat model this is a serious flaw. The authors are not interested in changing this (they have closed various issues asking for it and clearly documented their position) so you should probably not use it unless you understand the issues well enough to be confident that is safe for you or can solve the problem using a second tool for signing (which will also cost you streaming).

I am not any kind of expert in this field, so you are not obligated to listen to me... but I am still right.

fXmBeWm3TQ2 replies#
calling this format "secure" is not sufficient, here is a review that asked the right questions.

https://neilmadden.blog/2019/12/30/a-few-comments-on-age/ Unfortunately, the age spec doesn’t document its threat model or the security goals it is intended to achieve so I’m having to read between the lines to work out what was intended.

est31#
Yeah it's definitely not cutting edge on all fronts. Another issue is that the length of the plaintext is being exposed. Simple padding would help mask that in most, if not all, instances.
upofadown1 reply#
It's for the case where you are concerned about malicious modification and the user is expected to not deal with the ramifications of the error message. This case in particular:

    $ gpg2 -d backup.tgz.pgp | tar xz
So the modified backup file can do bad things before anyone can stop it because gpg will complete the operation before warning of the modification.

It doesn't have integrated signature support so that in most cases an attacker can use the public key to entirely replace the file and avoid the bother of some sort of known text attack in the first place. So I think that the use case is so narrow as to disappear.
The linked article covers this. That is really all there is.
It serves best as a demonstration of what an encryption utility would be like that blows up and errors out on a possible modification, as opposed to completing the operation and returning the error at the end.

upofadown1 reply#
That age does not yet have a data recovery utility is, I think, an interesting point, but it is a different point entirely.

Continue this thread — 1 reply

some_furry2 replies#
Has someone created a Reed-Solomon encoder/decoder CLI program to use with age yet?

I think if we did that, the stupid discussion about GPG and framing its lack of IND-CCA2 as a "recoverability feature" would become moot.

Continue this thread — 2 replies

aborsy1 reply#
Good job!

I much look forward to: hardware key support, password store, mount and integration with back up software (and perhaps rclone which is for data movement).
I am pretty happy with GPG, which supports most of these features and more (sometimes via third parties that use it), but also appreciate Age and may play with it, once it’s more useful.
I like that it’s, apparently, easier for applications to interface with it, particularly in the large and growing Go ecosystem.
One complaint: It’s hard to find Age by Google search!

hanche#
If I google for “age encryption” (no quotes), it comes out on top for me.

Load more comments