-
- Downloads
feat: Set administrative secret handling in `ParallelHermeticConfig`
- Add `AdministrativeSecretHandling` to `ParallelHermeticConfig` and adjust all documentation to reflect this. - Adjust `ParallelHermeticConfig::validate` to check for users for share upload and download only when using Shamir's Secret Sharing and fail if they are set otherwise. - Move all use of configuration file strings in unit tests to separate fixture files, which allows better readability (also due to syntax highlighting). Fixes: #123 Signed-off-by:David Runge <dvzrv@archlinux.org>
parent
b4694b80
No related branches found
No related tags found
Showing
- nethsm-config/src/config.rs 280 additions, 1076 deletionsnethsm-config/src/config.rs
- nethsm-config/tests/fixtures/duplicate-authorized-keys-share-downloader/basic-parallel-config-admin-plaintext.toml 44 additions, 0 deletions...are-downloader/basic-parallel-config-admin-plaintext.toml
- nethsm-config/tests/fixtures/duplicate-authorized-keys-share-downloader/basic-parallel-config-admin-shamirs-secret-sharing.toml 57 additions, 0 deletions...r/basic-parallel-config-admin-shamirs-secret-sharing.toml
- nethsm-config/tests/fixtures/duplicate-authorized-keys-share-downloader/basic-parallel-config-admin-systemd-creds.toml 44 additions, 0 deletions...downloader/basic-parallel-config-admin-systemd-creds.toml
- nethsm-config/tests/fixtures/duplicate-authorized-keys-share-uploader/basic-parallel-config-admin-plaintext.toml 44 additions, 0 deletions...share-uploader/basic-parallel-config-admin-plaintext.toml
- nethsm-config/tests/fixtures/duplicate-authorized-keys-share-uploader/basic-parallel-config-admin-shamirs-secret-sharing.toml 57 additions, 0 deletions...r/basic-parallel-config-admin-shamirs-secret-sharing.toml
- nethsm-config/tests/fixtures/duplicate-authorized-keys-share-uploader/basic-parallel-config-admin-systemd-creds.toml 44 additions, 0 deletions...e-uploader/basic-parallel-config-admin-systemd-creds.toml
- nethsm-config/tests/fixtures/duplicate-authorized-keys-users/basic-parallel-config-admin-plaintext.toml 45 additions, 0 deletions...zed-keys-users/basic-parallel-config-admin-plaintext.toml
- nethsm-config/tests/fixtures/duplicate-authorized-keys-users/basic-parallel-config-admin-shamirs-secret-sharing.toml 57 additions, 0 deletions...s/basic-parallel-config-admin-shamirs-secret-sharing.toml
- nethsm-config/tests/fixtures/duplicate-authorized-keys-users/basic-parallel-config-admin-systemd-creds.toml 45 additions, 0 deletions...keys-users/basic-parallel-config-admin-systemd-creds.toml
- nethsm-config/tests/fixtures/duplicate-key-id-in-namespace/basic-parallel-config-admin-plaintext.toml 48 additions, 0 deletions...d-in-namespace/basic-parallel-config-admin-plaintext.toml
- nethsm-config/tests/fixtures/duplicate-key-id-in-namespace/basic-parallel-config-admin-shamirs-secret-sharing.toml 60 additions, 0 deletions...e/basic-parallel-config-admin-shamirs-secret-sharing.toml
- nethsm-config/tests/fixtures/duplicate-key-id-in-namespace/basic-parallel-config-admin-systemd-creds.toml 48 additions, 0 deletions...-namespace/basic-parallel-config-admin-systemd-creds.toml
- nethsm-config/tests/fixtures/duplicate-key-id/basic-parallel-config-admin-plaintext.toml 45 additions, 0 deletions...plicate-key-id/basic-parallel-config-admin-plaintext.toml
- nethsm-config/tests/fixtures/duplicate-key-id/basic-parallel-config-admin-shamirs-secret-sharing.toml 57 additions, 0 deletions...d/basic-parallel-config-admin-shamirs-secret-sharing.toml
- nethsm-config/tests/fixtures/duplicate-key-id/basic-parallel-config-admin-systemd-creds.toml 45 additions, 0 deletions...ate-key-id/basic-parallel-config-admin-systemd-creds.toml
- nethsm-config/tests/fixtures/duplicate-nethsm-user/basic-parallel-config-admin-plaintext.toml 45 additions, 0 deletions...te-nethsm-user/basic-parallel-config-admin-plaintext.toml
- nethsm-config/tests/fixtures/duplicate-nethsm-user/basic-parallel-config-admin-shamirs-secret-sharing.toml 57 additions, 0 deletions...r/basic-parallel-config-admin-shamirs-secret-sharing.toml
- nethsm-config/tests/fixtures/duplicate-nethsm-user/basic-parallel-config-admin-systemd-creds.toml 45 additions, 0 deletions...ethsm-user/basic-parallel-config-admin-systemd-creds.toml
- nethsm-config/tests/fixtures/duplicate-system-user/basic-parallel-config-admin-plaintext.toml 45 additions, 0 deletions...te-system-user/basic-parallel-config-admin-plaintext.toml
Please register or sign in to comment