Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions nixos/tests/kanidm-provisioning.nix
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ import ./make-test-python.nix (
provision.succeed('${specialisations}/credentialProvision/bin/switch-to-configuration test')
provision_login("${provisionIdmAdminPassword}")

# Make sure neither password is logged
provision.fail("journalctl --since -10m --unit kanidm.service --grep '${provisionAdminPassword}'")
provision.fail("journalctl --since -10m --unit kanidm.service --grep '${provisionIdmAdminPassword}'")

# Test provisioned admin pw
out = provision.succeed("KANIDM_PASSWORD=${provisionAdminPassword} kanidm login -D admin")
assert_contains(out, "Login Success for admin")
Expand Down
3 changes: 2 additions & 1 deletion pkgs/by-name/ka/kanidm/patches/1_3/recover-account.patch
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ index 40c18777f..40d553b40 100644

#[instrument(
level = "info",
skip(self, eventid),
- skip(self, eventid),
+ skip(self, password, eventid),
fields(uuid = ?eventid)
)]
pub(crate) async fn handle_admin_recover_account(
Expand Down
3 changes: 2 additions & 1 deletion pkgs/by-name/ka/kanidm/patches/1_4/recover-account.patch
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ index 420e72c6c..5c4353116 100644

#[instrument(
level = "info",
skip(self, eventid),
- skip(self, eventid),
+ skip(self, password, eventid),
fields(uuid = ?eventid)
)]
pub(crate) async fn handle_admin_recover_account(
Expand Down
3 changes: 2 additions & 1 deletion pkgs/by-name/ka/kanidm/patches/1_5/recover-account.patch
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ index 420e72c6c..5c4353116 100644

#[instrument(
level = "info",
skip(self, eventid),
- skip(self, eventid),
+ skip(self, password, eventid),
fields(uuid = ?eventid)
)]
pub(crate) async fn handle_admin_recover_account(
Expand Down
Loading