rsa-sha2-512 The original signature algorithm supported only ssh-rsa. That signature used SHA-1. The hash algorithm SHA-1 is considered weak/broken today, so SHA-1 was replaced with SHA-2. The SSH key types rsa-sha2-256 and rsa-sha2-512 replaced ssh-rsa. The OpenSSH server disabled...
// In this particular case `mac` is empty because there is no separate MAC // because it's integrated into AES in GCM mode { kex: 'ecdh-sha2-nistp256', srvHostKey: 'rsa-sha2-512', cs: { // Client to server algorithms cipher: 'aes128-gcm', mac: '', compress: 'none', lang...
rsa_hash_alg_ident(int hash_alg) { switch (hash_alg) { case SSH_DIGEST_SHA1: return "ssh-rsa"; case SSH_DIGEST_SHA256: return "rsa-sha2-256"; case SSH_DIGEST_SHA512: return "rsa-sha2-512"; } return NULL; } /* * Returns the hash algorithm ID for a give...
Portable OpenSSH. Contribute to gebaba/openssh-portable development by creating an account on GitHub.