-
-
Notifications
You must be signed in to change notification settings - Fork 290
Description
I am encountering Error: knownhosts: illegal base64 data at input byte 0
when doing a git-bug push or pull.
The reason seems to be that my known_hosts
contains old entries in a format that is no longer parsed by whatever known-hosts parser git-bug uses.
However, this is the first time that any tool has complained about my known_hosts
, I have never seen this error before.
Example for an entry in an old format:
marla 1024 35 143272250049166269737933547513323306924766577123720650722107527190659497169427080068806092731824033696458717398748610005261225355371083583221684382067690973456312131412664967323591000249395847872463401148460758167467249589130631631765553643486839666676377810040253889511108563175629631040770556919699102015121
Deleting all entries in this decimal format (as opposed to base64) fixes the problem.
I don't know if this is worth fixing; however, the error isn't very clear.
I am also a bit surprised why a tool like git-bug
needs its own parser for known-hosts, isn't such abstracted in some kind of OS layer? (E.g. git does not have a problem with my known_hosts
.)