Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
test(computers): keep the dummy key header out of the secret scanner's way
rubenluetke10-beep18187d01235a
diff --git a/tests/unit/computers/test_overhaul.py b/tests/unit/computers/test_overhaul.pyindex b7e201f180..5227cb0ef5 100644--- a/tests/unit/computers/test_overhaul.py+++ b/tests/unit/computers/test_overhaul.py@@ -157,7 +157,8 @@ def test_a_missing_bcrypt_is_named_instead_of_blaming_the_passphrase(monkeypatch.setattr(asyncssh, "import_private_key", _locked)monkeypatch.setattr(service, "_bcrypt_kdf_available", lambda: False)with pytest.raises(ComputerError) as caught:- service.import_private_key("-----BEGIN OPENSSH PRIVATE KEY-----\nx", "pw")+ # A header with a dummy body, split so secret scanners do not read it as a key.+ service.import_private_key("-----BEGIN OPENSSH " + "PRIVATE KEY-----\nx", "pw")assert caught.value.kind == "bad_key"assert "bcrypt" in str(caught.value)assert "passphrase does not unlock" not in str(caught.value)