2 ms·
The 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 e
by upofadown 5y ago
The 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.