Mercurial > 510Connectbot
comparison src/ch/ethz/ssh2/channel/AuthAgentForwardThread.java @ 300:349847b2e318 ganymed
add ecdsa key support everywhere
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 29 Jul 2014 18:36:57 -0700 |
parents | ab3a99f11a36 |
children | beaccc9df37b |
comparison
equal
deleted
inserted
replaced
299:4c3a4e88c027 | 300:349847b2e318 |
---|---|
312 | 312 |
313 ECParameterSpec nistp256 = ECDSASHA2Verify.EllipticCurves.nistp256; | 313 ECParameterSpec nistp256 = ECDSASHA2Verify.EllipticCurves.nistp256; |
314 ECPoint group = ECDSASHA2Verify.decodeECPoint(groupBytes, nistp256.getCurve()); | 314 ECPoint group = ECDSASHA2Verify.decodeECPoint(groupBytes, nistp256.getCurve()); |
315 | 315 |
316 if (group == null) { | 316 if (group == null) { |
317 // TODO log error | 317 log.debug("No groupfor ecdsa-sha2-nistp256: "); |
318 os.write(SSH_AGENT_FAILURE); | 318 os.write(SSH_AGENT_FAILURE); |
319 return; | 319 return; |
320 } | 320 } |
321 | 321 |
322 pubSpec = new ECPublicKeySpec(group, nistp256); | 322 pubSpec = new ECPublicKeySpec(group, nistp256); |