On Tue, Aug 30, 2022, at 8:27 AM, Richard W.M. Jones wrote:
Another is that LUKS filesystem decryption uses a deliberately
"memory-hard" algorithm called Argon2 which requires loads of RAM and
sometimes has problems running on a machine with 1GB and no swap.
The built-in default for cryptsetup on Fedora is LUKS2 which uses argon2id with
parameters:
Iteration time: 2000, Memory required: 1048576kB, Parallel threads: 4
It is possible to specify a different memory requirement at luksFormat time. But I'm
not sure if there's any warning emitted by cryptsetup if there's significant
memory pressure, i.e. high potential that a future Fedora might fail to open this volume.
--
Chris Murphy