Error "Enc.bufToHex is not a function" #1
Yükleniyor…
x
Yeni konuda referans
Bir kullanıcı engelle
Herhangi bir açıklama sağlanmadı.
"%!s()" Dalını Sil
Bir dalı silmek kalıcıdır. Her ne kadar silinen dal tamamen kaldırılana kadar çok kısa bir süre yaşamını sürdürse de, çoğu durumda bu işlem GERİ ALINAMAZ. Devam edilsin mi?
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