How can i secure squashfs that can't be unsquashed

hello, i need the files in firmware can't be unsquashed and accessed, how can i do that, thanks!

If they can't be accessed, why put them there in the first place?

Or how can i change the squashfs's magic header

I think the OP is looking for some form of obfuscation, probably to protect IP? Which is beyond the scope of what OpenWrt as a FOSS project stands for.

You'd need to look at some form of encryption I suppose so the SquashFS at rest cannot be accessed but can be decrypted in the boot process (otherwise it would be unusable).

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.