Debian Patches

Status for kio-extras/4:25.04.3-2

Patch Description Author Forwarded Bugs Origin Last update
upstream_34a759c0_Re-query-available-auth-methods-if-result-for-pubkey-auth-was-PARTIAL.patch [PATCH] Re-query available auth methods if result for pubkey auth was PARTIAL

Suppose the server uses pubkey authentication followed by a
keyboard-interactive authentication method (such as 2FA with Duo or
Google Authenticator). This is, roughly, what KIO does when trying to
authenticate with the server:

1. It calls `ssh_auth_list` from libssh to get the available
authentication methods. The return value will indicate that
`SSH_AUTH_METHOD_PUBLICKEY` is supported, but not
`SSH_AUTH_METHOD_INTERACTIVE` (because it is not *at this point in the
authentication process*).
2. Then it attempts to authenticate using a pubkey by calling
`ssh_userauth_pubkey_auto`. If the pubkey is accepted, the result is
`SSH_AUTH_PARTIAL` and not `SSH_AUTH_SUCCESS`. At this point,
`SSH_AUTH_METHOD_INTERACTIVE` *is* supported (and required).
3. Because the set of authentication methods was not queried again, KIO
still thinks keyboard-interactive authentication is not supported, and
therefore it does not try this authentication method. As a result, the
authentication process fails.

This commit fixes this issue by re-querying supported authentication
methods if the result from the pubkey authentication attempt is
`SSH_AUTH_PARTIAL`.
Facundo Almeida <facundoalmeida@gmail.com> no 2025-05-18
upstream_e9793802_Add-break-after-pubkey-partial-auth.patch [PATCH] Add break after pubkey partial auth
This will stop trying other pubkeys and will move on to the next
supported authentication method (keyboard-interactive)
Facundo Almeida <facundoalmeida@gmail.com> no 2025-05-20
upstream_68fb3d74_Add-debug-message.patch [PATCH] Add debug message Facundo Almeida <facundoalmeida@gmail.com> no 2025-05-20
upstream_dcc09c87_Clear-pubkey-auth-info-after-using-key.patch [PATCH] Clear pubkey auth info after using key Facundo Almeida <facundoalmeida@gmail.com> no 2025-05-21

All known versions for source package 'kio-extras'

Links