Skip to content

SshPublickeyCredential

Defined in: src/protocols/ssh/auth/SshAuthSession.ts:45

PropertyTypeDescriptionDefined in
algorithmNamestring-src/protocols/ssh/auth/SshAuthSession.ts:48
publicKeyBlobUint8ArrayRaw public key blob in SSH wire format (e.g. the bytes returned by ssh-keygen -e -f key.pub).src/protocols/ssh/auth/SshAuthSession.ts:50
sign(data: Uint8Array) => | Uint8Array<ArrayBufferLike> | Promise<Uint8Array<ArrayBufferLike>>Signs the challenge data. The data is already the complete sign-data per RFC 4252 §7. Should return the signature blob (without algorithm prefix; caller adds wrapping).src/protocols/ssh/auth/SshAuthSession.ts:55
type"publickey"-src/protocols/ssh/auth/SshAuthSession.ts:46
usernamestring-src/protocols/ssh/auth/SshAuthSession.ts:47