Error "Enc.bufToHex is not a function" #1
Cargando…
x
Referencia en una nueva incidencia
Block a user
No se ha proporcionado una descripción.
Eliminar rama "%!s() "
Eliminar una rama es permanente. Aunque la rama eliminada puede continuar existiendo durante un corto tiempo antes de que sea eliminada, en la mayoría de los casos NO PUEDE deshacerse. ¿Continuar?
Created a test ssh key and exported the public key from an FTP client. Getting the error "Enc.bufToHex is not a function" when I try to use the script. Below is the public key:
That's not a standard format for an Public key.
It's also not the bespoke OpenSSH format.
It could be that it's a normal RSA or ECDSA key with a strange header, or it may be entirely bespoke.
Try omitting the SSH2 and try parsing it with Keypairs.js instead.
Once parsed you will need to look at the code a little bit to figure out how to do the fingerprinting.
See also:
If this is critically important I can definitely figure this out for you as a paid gig if interested: aj@therootcompany.com