Opened 22 years ago

Last modified 22 years ago

#167 closed Bug report

bug & solution: private key decryption

Reported by: elahn Owned by:
Priority: normal Component: Other
Keywords: Cc: elahn, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

Password provided in FileZilla is not used to decrypt the
private key referenced in the PuTTY settings for the
specified host.

In "ssh.c" (revision 1.8):

4128: need_pw = FALSE;

needs to be replaced with:

4128: if (ssh2_userkey_encrypted(cfg.keyfile,
&comment)) {
4129: need_pw = TRUE;
4130: } else {
4131: need_pw = FALSE;
4132: }

Attached is "ssh.c" with the above changes made. I'd
commit them myself, but I'm not a project developer. :)

Regards,
Elahn

Attachments (1)

SSH.C (150.8 KB ) - added by elahn 22 years ago.
FzSFtp/ssh.c modified from Rev. 1.8

Download all attachments as: .zip

Change History (2)

by elahn, 22 years ago

Attachment: SSH.C added

FzSFtp/ssh.c modified from Rev. 1.8

comment:1 by Tim Kosse, 22 years ago

Thanks for the fix, I've modified it slightly and committed it to
the CVS repository.

Note: See TracTickets for help on using tickets.