When using backup encryption, currently Tiny Core decrypts the backup file at the time it is restored and it is left unencrypted on disk until the next time a backup is made.
This causes 2 problems that I can see:
1. When shutting down, if the user decides to not backup, then their backup is left unencrypted (which isn't what I would expect). Or if the computer is unexpectedly shutdown (battery dies or something) then the backup is left unencrypted.
2. If your encrypted backup is stored on read only media (CD disk, or a USB flash drive with write protection switch enabled), then currently it can't be restored using filetool.sh because it tries write the unencrypted file to the read only media.
As an alternative, I think filetool.sh could be modified to restore the backup without writing the unencrypted file to disk by using a command line similiar to this:
bcrypt -o mydata.tgz.bfe | busybox tar -C / -xvzf -
This would require some changes in filetool.sh to support this. If this is something that would be accepted, I can make the needed changes.
Thanks,
Brian