dimkr wrote: Tue Oct 29, 2024 6:02 am
BarryK wrote: Mon Oct 21, 2024 8:24 am
In theory it would be possible to provide the fscrypt code to decrypt those folders.
I wrote a tiny C alternative to the big fscrypt tool (written in Go), it's at https://github.com/vanilla-dpup/woof-CE ... s/pfscrypt. I run it during initrd to unlock encrypted save folders and it works well.
@dimkr
There is already a C version, that EasyOS uses in the initrd.
It is called 'fscryptctl' and here is my recipe to compile it, linked with musl:
https://github.com/bkauler/oe-qky-scart ... c_1.0.0.bb
The static binary is 62KB, x86_64. I've attached it, compressed with real ".gz"
"./fscryptctl --help" will show info how to use it.
The fscryptctl project page:
https://github.com/google/fscryptctl
Looked at your pfscrypt code, it looks simpler and smaller.