octavia/elements/certs-ramfs
Michael Johnson 2bb2f918ee Fix cryptsetup --pbkdf-memory failures
A recent patch[1] added --pbkdf-memory to the cryptsetup command line
to limit the memory cryptsetup is using. However, some distros use
an older version of cryptsetup that does not need this setting.
This patch adds logic to detect this and run the commands without
--pbkdf-memory.

[1] https://review.opendev.org/663784

Change-Id: I9e0debcbfe6ceeff0012c827d70d80d938b5a2fb
Story: 2006066
Task: 34782
2019-07-17 21:32:45 +00:00
..
init-scripts Fix cryptsetup --pbkdf-memory failures 2019-07-17 21:32:45 +00:00
post-install.d Use cryptsetup/LUKS for encrypted ramfs 2017-02-14 10:37:45 +00:00
static/usr/local/bin Fix cryptsetup --pbkdf-memory failures 2019-07-17 21:32:45 +00:00
element-deps Fix cryptsetup --pbkdf-memory failures 2019-07-17 21:32:45 +00:00
package-installs.yaml Use cryptsetup/LUKS for encrypted ramfs 2017-02-14 10:37:45 +00:00
README.rst Use cryptsetup/LUKS for encrypted ramfs 2017-02-14 10:37:45 +00:00
svc-map Use cryptsetup/LUKS for encrypted ramfs 2017-02-14 10:37:45 +00:00

Element to setup an encrypted ramfs to store the TLS certificates and keys.

Enabling this element will mean that the amphora can no longer recover from a reboot.