Opened 8 years ago

Closed 22 months ago

#5530 enhancement closed fixed (fixed)

Conch can't seem to process server public key in Mac OS

Reported by: Ying Li Owned by:
Priority: normal Milestone:
Component: conch Keywords:
Cc: Branch:
Author:

Description (last modified by Ying Li)

The key in question (which I will not paste here) can't be processed by conch. It was generated by OpenSSL on Mac OS X.

The error message is:

bad public key file ssh_host_key.pub: cannot guess the type of '2048 ## ###############....... \n'

That error seems to come from t.c.openssh_compat.OpenSSHFactory.getPublicKeys, which seems to catch an exception from t.c.ssh.keys.Key.fromString, which calls t.c.ssh.keys.Key._guessStringType, which cannot guess what type of key that is, because it does not have an identifier at the beginning.

This is probably related to #5350, if it isn't the same bug

Change History (3)

comment:1 Changed 8 years ago by Ying Li

Component: coreconch

comment:2 Changed 8 years ago by Ying Li

Description: modified (diff)

comment:3 Changed 22 months ago by Craig Rodrigues

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.