From f41f0492e47af3921b2981851f1b7d0892cc7277 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Tue, 3 Oct 2023 15:33:57 +0200 Subject: [PATCH] Comments Signed-off-by: Jakub Jelen Reviewed-by: Sahana Prasad --- tests/client/torture_auth.c | 6 ++++++ tests/torture.c | 1 + 2 files changed, 7 insertions(+) diff --git a/tests/client/torture_auth.c b/tests/client/torture_auth.c index 0fcc2642..77b7bd1f 100644 --- a/tests/client/torture_auth.c +++ b/tests/client/torture_auth.c @@ -716,6 +716,12 @@ torture_auth_password_nonblocking_bad(void **state) SSH_AUTH_DENIED); } +/* TODO cover the case: + * * when there is accompanying certificate (identities only + agent) + * * export private key to public key during _auto() authentication. + * this needs to be a encrypted private key in PEM format without + * accompanying public key. + */ static void torture_auth_agent_identities_only(void **state) { struct torture_state *s = *state; diff --git a/tests/torture.c b/tests/torture.c index 2641b2bf..3072edf3 100644 --- a/tests/torture.c +++ b/tests/torture.c @@ -76,6 +76,7 @@ static const char *pattern = NULL; #ifndef _WIN32 +/* TODO missing code coverage */ static int _torture_auth_kbdint(ssh_session session, const char *password) { const char *prompt;