3 ms·
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 lac
by some_furry 5y ago
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.
- upofadown 5y agoThe single bit error in the discussion was intended to be an extreme example. Typically media errors involve entire media blocks. Often the blocks are missing entirely. I have looked into this a bit and there doesn't seem to be any reason age could not have a recovery utility. It would involve some minor brute forcing to find the next block and block number. It could even skip any 64k block that failed the integrity check so that only authenticated data was recovered. That would be consistent with the general principle about not releasing unauthenticated data that age was created to enbody.
- some_furry 5y agoThe reason I suggested a separate utility, and a composition thereof, is that complexity is the enemy of security. Error-correction and media block-based encryption is a separate utility than what age provides, and should therefore be a separate tool. That separate tool can use age for the cryptography. That's fine. But I will not advocate for more complexity to be shoved into age. It's fine as it is today.