Thanks for looking into this
Regards
John Elliott
jelli...@dundeewealth.com
Phone: 416-365-5477
Dundee Wealth Inc
1 Adelaide ST EAST, 8th floor, TORONTO ONT M5C 2V9
-----Original Message-----
From: Atsuhiko Yamanaka [mailto:y...@jcraft.com]
Sent: Monday, May 14, 2012 11:05 PM
To: John Elliott (IT)
Cc: jsch-users@lists.sourceforge.net
Subject: Re: [JSch-users] strange Auth cancel error
Hi,
+-From: "John Elliott (IT)" <jelli...@dundeewealth.com> --
|_Date: Mon, 14 May 2012 13:44:01 -0400 __________________
|
...
|byte[] sid=session.getSessionId();
|int sidlen=sid.length;
|byte[] tmp=new byte[4+sidlen+buf.index-5];
|tmp[0]=(byte)(sidlen>>>24);
|tmp[1]=(byte)(sidlen>>>16);
|tmp[2]=(byte)(sidlen>>>8);
|tmp[3]=(byte)(sidlen);
|System.arraycopy(sid, 0, tmp, 4, sidlen);
|System.arraycopy(buf.buffer, 5, tmp, 4+sidlen, buf.index-5);
|byte[] signature=identity.getSignature(tmp);
|if(signature==null){ // for example, too long key length.
|break;
|}
|The target server registers no complaints, however the signature
|is set to null for the bad key, not null for the good key.
If I have that key pair, I may be able to check what's going on.
Can you send it to me directly?
Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
Skype callto://jcraft/
Twitter: http://twitter.com/ymnk
Facebook: http://facebook.com/aymnk
PLEASE BE ADVISED THAT TRADING INSTRUCTIONS SHOULD NOT BE COMMUNICATED VIA
E-MAIL, AND IF RECEIVED WILL NOT BE ACTED UPON.
Without the use of secure encryption, the Internet is not a secure medium and
privacy cannot be ensured. Internet e-mail is vulnerable to interception and
forging. DundeeWealth Inc. cannot ensure the privacy and authenticity of any
information, and will not accept any instructions, that you send to us over the
Internet. DundeeWealth Inc. will not be responsible for any damages you may
incur if you communicate confidential information to us over the Internet or if
we communicate such information to you at your request.
VEUILLEZ NOTER QUE LES INSTRUCTIONS RELATIVES AUX OPÉRATIONS NE DOIVENT PAS
ÊTRE ENVOYÉES PAR COURRIEL, CAR ELLES NE SERONT PAS EXÉCUTÉES.
Sans chiffrement sécurisé, Internet nest pas un mode de communication sûr et
il est impossible dassurer la confidentialité des transmissions. Les courriels
envoyés par Internet peuvent être interceptés et contrefaits. Gestion de
patrimoine Dundee ne peut assurer la confidentialité ni lauthenticité de
linformation et nacceptera aucune instruction qui lui sera envoyée par
Internet. Gestion de patrimoine Dundee ne pourra être tenue responsable des
dommages subis si vous lui transmettez des renseignements confidentiels par
Internet ou si elle vous communique des renseignements par cette voie sur
demande de votre part.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users