Displaying 3 results from an estimated 3 matches for "input_userauth_passwd_changereq".
2025 Feb 13
0
[PATCH] sshconnect2: Write kbd-interactive service, info and instructions as utf-8
...an be exposed to users in the proper format and UI.
---
sshconnect2.c | 33 ++++++++++++++++++++++++---------
1 file changed, 24 insertions(+), 9 deletions(-)
diff --git a/sshconnect2.c b/sshconnect2.c
index a69c4da18..d3c2dab81 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -1075,6 +1075,7 @@ input_userauth_passwd_changereq(int type, u_int32_t seqnr, struct ssh *ssh)
char *info = NULL, *lang = NULL, *password = NULL, *retype = NULL;
char prompt[256];
const char *host;
+ size_t info_len;
int r;
debug2("input_userauth_passwd_changereq");
@@ -1084,11 +1085,15 @@ input_userauth_passwd_changereq(int t...
2004 Jun 17
2
SSH_MSG_USERAUTH_PASSWD_CHANGEREQ and 3.1.0 F-SECURE SSH - Proces s Software SSH for OpenVMS
...sh client and portable ssh in cygwin.
It specifically doesn't send the language tag. Here is the tail of ssh -vvv,
<snip>
debug1: Next authentication method: password
debug3: packet_send2: adding 64 (len 58 padlen 6 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug2: input_userauth_passwd_changereq
buffer_get: trying to get more bytes 4 than in buffer 0
</snip>
I stepped through in the debugger to see that I do get the password change
prompt and then we barf when we try to get the lang string that isn't there.
Here is a patch that gets around this but I had some questions,
1. I wa...
2006 Nov 15
11
OpenSSH Certkey (PKI)
...fy_host_key=&verify_host_key_callback;
@@ -168,6 +169,7 @@
Key *key; /* public/private key */
char *filename; /* comment for agent-only keys */
int tried;
+ int triedcert;
int isprivate; /* key points to the private key */
};
TAILQ_HEAD(idlist, identity);
@@ -206,6 +208,7 @@
void input_userauth_passwd_changereq(int, u_int32_t, void *);
int userauth_none(Authctxt *);
+int userauth_certkey(Authctxt *);
int userauth_pubkey(Authctxt *);
int userauth_passwd(Authctxt *);
int userauth_kbdint(Authctxt *);
@@ -224,6 +227,7 @@
void userauth(Authctxt *, char *);
static int sign_and_send_pubkey(Authctxt *,...