Error "Enc.bufToHex is not a function" #1
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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