Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: chattrhand on July 02, 2011, 05:19:06 PM

Title: problem using protect: strange behaviour when trying a false key for decryption
Post by: chattrhand on July 02, 2011, 05:19:06 PM
hi,
I am running a frugal installation   /sda4/tceLiesmich .

I add the boot option   protect   and enter an encryption key. At rundown TC writes a new encrypted file named mydata.tcz,bfe, while the old mydata.tcz remains untouched.

Now I can run   /sda4/tceLiesmich   either in encrypted or in unencrypted mode, depending on the use of the boot option   protect.

Now I tried what would happen when entering a false encryption key (eg. by an unauthorized user)

Instead of denying the false key or repeating its entry  Tinycore accepts it and continues starting   /sda4/tceLiesmich/   with all of the extensions it finds in /optional/.

That is maybe no severe problem, but I find it a bit strange.

At least TC can not decrypt and unpack  mydata.tcz.bfe  so that at least the data remain protected.

I repeated the start of TC with different false encryption keys and realized that  mydata.tcz.bfe  was not overwritten or damaged. So one could live with it.

chattrhand
Title: Re: problem using protect: strange behaviour when trying a false key for decryption
Post by: roberts on July 04, 2011, 02:38:19 PM
Not a bug. Protect by design effects only your backup. Nothing whatsoever to do with extension loading.