News for hackers. Stuff that matters.
Re:Tape Storage Trundles On, Increases Yearly Volume to 128 ... by chongli on Thursday May 25, 2023 @09:19AM (#36070366)
Why not compress the data before encrypting it? Seems like a really easy to implement solution that would speed up backup and recovery and cost almost nothing to implement.
Re:Tape Storage Trundles On, Increases Yearly Volume to 128 ... by teraflop on Thursday May 25, 2023 @09:28AM (#36070447)
Yes of course, but that still means the compression offered by the tape drive is ineffective, even though that compression is assumed as part of the advertised tape capacity.
Re:Tape Storage Trundles On, Increases Yearly Volume to 128 ... by Karunamon on Thursday May 25, 2023 @09:53AM (#36070728)
Even last generation tape drives have hardware encryption built in. And it doesn't make sense to me that they would encrypt, then compress. That would completely invalidate the compression for absolutely no benefit.
Re:Tape Storage Trundles On, Increases Yearly Volume to 128 ... by count on Thursday May 25, 2023 @10:55AM (#36071504)
The benefit being they can sell more tapes...
Re:Tape Storage Trundles On, Increases Yearly Volume to 128 ... by londons_explore on Thursday May 25, 2023 @11:43AM (#36072203)
Nobody trusts encryption built into tape drives for the same reason nobody trusts encryption built into hard drives.

Even things like Windows Bitlocker and LUKS/dmcrypt on Linux totally ignore the drives ability to do any encryption, and do all encryption using the CPU before the drive sees the data.

Bitlocker/LUKS could easily just calculate the encryption keys and send them to the drive and trust it to encrypt/decrypt data for them... but they don't.

Re:Tape Storage Trundles On, Increases Yearly Volume to 128 ... by MichaelZuo on Thursday May 25, 2023 @12:39PM (#36072924)
> Nobody trusts encryption built into tape drives for the same reason nobody trusts encryption built into hard drives.

Source? Last I heard many companies rely on the encryption supplied of tape drive systems.

Re:Tape Storage Trundles On, Increases Yearly Volume to 128 ... by adrian_b on Thursday May 25, 2023 @01:51PM (#36073828)
It would be more accurately to say that all those who understand how encryption works (which excludes most people in managerial positions, even if they have the power to decide what kind of encryption is used in their companies) cannot trust any kind of encryption embedded in a hardware device whenever it has to be used for protecting really important data.

The reason is that all encryption is based on the separation of place between the encrypted data and the encryption key. Whoever can access the encrypted data must not have any way to access the encryption key.

Whenever you give your encryption key to a hardware device, or worse, when the hardware device also generates itself the encryption key, it becomes impossible to ensure that the attacker will not be able to access the encryption key.

It is impossible to know how the encryption keys are stored inside a hardware device and how and when they are erased and how easy or how difficult it will be in the future for an attacker to retrieve them.

It is impossible to believe any marketing claim of the vendor of a hardware encryption device about how tamper-resistant the device is, because such claims have very frequently been proven to be lies (even when the claims come from the largest companies, e.g. Microsoft and many others like it) and it is too difficult to distinguish truth from lies in such cases.

The only reliable means of encryption are in software, under complete end user control (or equivalently, in a custom FPGA).

Re:Tape Storage Trundles On, Increases Yearly Volume to 128 ... by MichaelZuo on Thursday May 25, 2023 @02:16PM (#36074099)
So can you link to a source?
Re:Tape Storage Trundles On, Increases Yearly Volume to 128 ... by throwanma on Thursday May 25, 2023 @06:08PM (#36076943)
At some point, knowledge comes from experience, ^ he is my source.
Re:Tape Storage Trundles On, Increases Yearly Volume to 128 ... by MichaelZuo on Thursday May 25, 2023 @06:34PM (#36077249)
It appears adrian_b is a pseudonym, not even linked to a real identity, how can that be a source?
Re:Tape Storage Trundles On, Increases Yearly Volume to 128 ... by wizofaus on Thursday May 25, 2023 @04:25PM (#36075724)
Surely if the device automatically decrypts data as you read from it without having to supply a key or passcode of some sort then you're not protecting it against anything! It may automatically manage/store the actual keys used to encrypt the data, but there must be some mechanism to ensure decryption is not permitted until you supply some external form of credential (which ideally is cryptographically required to access the keys - if not then obviously there's a risk the device's controller code could be reverse engineered to bypass the credential check).
Re:Tape Storage Trundles On, Increases Yearly Volume to 128 ... by Karunamon on Thursday May 25, 2023 @01:15PM (#36073387)
Considering that industry standard software like backup exec has built-in support for hardware encryption (which is actually part of the LTO standard), I would need to see a source for "nobody trusts encryption built into tape drives"
Re:Tape Storage Trundles On, Increases Yearly Volume to 128 ... by jandrese on Thursday May 25, 2023 @12:42PM (#36072954)
Using the encryption provided by the drive seems like a terrible idea. What happens in 10 years when you want to retrieve the data and that company has gone out of business?
Re:Tape Storage Trundles On, Increases Yearly Volume to 128 ... by throw0101c on Thursday May 25, 2023 @01:00PM (#36073184)
As I understand it (AIUI) the encryption is in the standard:

* https://www.lto.org/encryption/

Re:Tape Storage Trundles On, Increases Yearly Volume to 128 ... by Karunamon on Thursday May 25, 2023 @01:19PM (#36073445)
It's functionality exposed by the drive as part of the tape standard, not something unique to vendor of the drive. Any LTO-aware software given the same key would be able to decrypt the data using any drive that can read that generation of tape.

That's probably one of the items on the list of reasons there are so few vendors in the space, LTO drives are essentially fungible and don't do anything interesting across vendors.

Re:Tape Storage Trundles On, Increases Yearly Volume to 128 ... by rbanffy on Thursday May 25, 2023 @04:10PM (#36075511)
The worst part of compressing at the drive is that you’ll need to transfer 2.5x-ish more data than you’d need if you compressed prior to transferring.

In the end, it’s encrypted, compressed, decrypted, and decompressed multiple times on the way from the platter (or flash) to the tape recording head. It feels kind of dumb, really, but I’ll agree that if the computer doesn’t have the private key of the drive, stealing the data on tape will be a lot harder.