From 224416a3ddd92738431d455513ece4ba461cf2dd Mon Sep 17 00:00:00 2001 From: wstock <1394687+wstock@users.noreply.github.com> Date: Thu, 15 Oct 2026 14:50:04 +0000 Subject: [PATCH] Tests: the signing test's password meets the 8-character minimum (#2417) (#2420) signing_with_translated_labels_through_tools (from #1951) creates and uses a digital ID with the password "secret1"; #2201 ("harden .p12 digital IDs") now requires at least 8 characters. Each passed alone; together the test fails on main, and so does every PR's test job. The password is "secret12" in both places. Claude-Session: https://claude.ai/code/session_011K1peyrh5MdZ6ttHkVq8Gh Co-authored-by: Claude Fable 5.1 --- crates/automation/tests/automation.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/automation/tests/automation.rs b/crates/automation/tests/automation.rs index f45aec3f57..ff1a759d6c 100644 --- a/crates/automation/tests/automation.rs +++ b/crates/automation/tests/automation.rs @@ -4527,11 +4527,11 @@ fn signature_appearances(path: &Path) -> String { fn signing_with_translated_labels_through_tools() { let dir = workdir("signing-labels"); let mut a = auto(&dir); - ok(&mut a, "sign_id_create", json!({ "name": "Ada Lovelace", "key": "p256", "password": "secret1", "path": "ada.p12" })); + ok(&mut a, "sign_id_create", json!({ "name": "Ada Lovelace", "key": "p256", "password": "secret12", "path": "ada.p12" })); let open = |a: &mut Automation| ok(a, "doc_open", json!({ "path": "a.pdf" }))["doc"].as_u64().unwrap(); let doc = open(&mut a); let args = |doc: u64, extra: Value, out: &str| { - let mut args = json!({ "doc": doc, "id": "ada.p12", "password": "secret1", "page": 1, "rect": [10, 150, 190, 290], "reason": "Genehmigt", "location": "Berlin", "out": out }); + let mut args = json!({ "doc": doc, "id": "ada.p12", "password": "secret12", "page": 1, "rect": [10, 150, 190, 290], "reason": "Genehmigt", "location": "Berlin", "out": out }); for (k, v) in extra.as_object().unwrap() { args[k] = v.clone(); }