Dear Singularity community,
We have a case where Singularity is installed with suid but there is no userns enabled. We can build on the system with PROOT. Now, the question is: can we do an encrypted build in such a case?
From what I see this is not possible, indeed I get:
> singularity build --pem-path=rsa_pub.pem test_encrypted.sif test.def
INFO: Using proot to build unprivileged. Not all builds are supported. If build fails, use --remote or --fakeroot.
FATAL: You must be root to build an encrypted container
The naive question is: is there any way we can get encrypted builds, even with new Singularity versions as a new feature?
For instance, I've tried to use Apptainer with Gocryptfs for building, but then I can't run it with Singularity ("unknown filesystem type Unknown").
Best regards,
Alfio