Lurker News

Comments (88) 23 threads

Show all comments

Showing thread 15 of 23

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