1.2 KiB
1.2 KiB
OpenSSH Public Key Fingerprint
Computes a fingerprint for an OpenSSH-encoded public key.
Source library: cryptography
Overview
This node loads an OpenSSH public key and computes a cryptographic fingerprint (hash) of it. Fingerprints are a compact, human-verifiable way to confirm the identity of a public key, commonly displayed when connecting to an SSH server for the first time.
Parameters
- keyfile: The OpenSSH-encoded public key data, as a
BYTESLIKEobject. - hash_algorithm: The hash algorithm to use for the fingerprint.
- MD5: The traditional, legacy SSH fingerprint format (not recommended for new use).
- SHA-1: An older standard, considered weak.
- SHA-256: The modern, recommended standard for SSH key fingerprints.
Outputs
- fingerprint: The computed fingerprint as a
BYTESLIKEobject.