This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
profile_encryption [2022/03/10 18:23] James Prestwood |
profile_encryption [2022/03/10 18:28] James Prestwood [Setup (IWD)] |
||
---|---|---|---|
Line 7: | Line 7: | ||
==== Setup (systemd) ==== | ==== Setup (systemd) ==== | ||
- | First, systemd must be set up to pass a secret credential to IWD. This can be done one of two ways using either **SetCredentialEncrypted** or **LoadCredentialEncrypted**. This can be done using a new systemd utility, [[https://www.freedesktop.org/software/systemd/man/systemd-creds.html|systemd-creds]]. | + | First, systemd must be set up to pass a secret credential to IWD. The secret can be set one of two ways using either **SetCredentialEncrypted** or **LoadCredentialEncrypted**. Systemd provides a utility for this, [[https://www.freedesktop.org/software/systemd/man/systemd-creds.html|systemd-creds]]. |
This simplest way is to follow Example 2 in the documentation for systemd-creds and invoke something like: | This simplest way is to follow Example 2 in the documentation for systemd-creds and invoke something like: | ||
Line 25: | Line 25: | ||
==== Setup (IWD) ==== | ==== Setup (IWD) ==== | ||
- | A new main.conf option was added, **SystemdEncrypt**, who's value is the identifier used with systemd-creds. In this case 'iwd-secret' | + | A new main.conf option was added, **SystemdEncrypt**, who's value is the identifier used with systemd-creds. In this case '**iwd-secret**' |
# file: main.conf | # file: main.conf |