Mercurial > 510Connectbot
diff src/com/five_ten_sg/connectbot/PubkeyListActivity.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 |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/PubkeyListActivity.java Tue Jul 29 18:08:09 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/PubkeyListActivity.java Tue Jul 29 18:36:57 2014 -0700 @@ -639,7 +639,7 @@ try { PEMStructure struct = PEMDecoder.parsePEM(new String(pubkey.getPrivateKey()).toCharArray()); String type = (struct.pemType == PEMDecoder.PEM_RSA_PRIVATE_KEY) ? "RSA" : - (struct.pemType == PEMDecoder.PEM_DSA_PRIVATE_KEY) ? "DSA" : "EC" + (struct.pemType == PEMDecoder.PEM_DSA_PRIVATE_KEY) ? "DSA" : "EC"; holder.caption.setText(String.format("%s unknown-bit", type)); } catch (IOException e) {