...je třeba přejít na ECDSA podpisy, založené na NIST křivkách, jejichž okolnosti generace v komunitě vzbuzují již řadu let pozdvižené obočí, nebo Ed25519, které jsou všeobecně považovány za bezpečné...
From the unrelated news. Cisco ASA od verze 9.23 odstanila ASA SSH stack, a ponechala jen ciscossh, která Ed25519 nepodporuje.
Mnoooo, mozna ne tak docela... :D Na 9.24 mam...
ssh secure copy : ENABLED ciscoSSH stack : ENABLED Idle Timeout: 60 minutes Version allowed: 2 Cipher encryption algorithms enabled: aes128-gcm@openssh.com chacha20-poly1305@openssh.com Cipher integrity algorithms enabled: hmac-sha2-256 Host Key Algorithms: ssh-ed25515
ssh-ed25515?
Jinak kromě toho, že prakticky odzkoušeno na jmenované 9.23, tak to potvrzuje i dokumentace https://www.cisco.com/c/en/us/td/docs/security/asa/asa924/configuration/general/asa-924-general-config/admin-management.html
SSH does not support:
EDDSA key pair
RSA key pair in FIPS mode
Pokud to tam nevrátili v 9.24, opravdu ten sshd tam i běží? Já jen, že upgrade tam nechával komplet konfiguraci s ed25519 hostkeyem, vše se tvářilo v pohodě až na "drobnost", že nenaběhl sshd a bylo potřeba se lognout přes konsoli a milý hostkey změnit na rsa nebo dsa...
Ocividne to dementne reportuje ASA CLI, toho jsem si nevsim ;-) Audit z druhe strany to vypisuje spravne... ponta je, ze mi to porad funguje bez RSA (a ECDSA)... a to i na 9.24.
(gen) banner: SSH-2.0-OpenSSH_9.8 PKIX[15.1]
(gen) software: OpenSSH 9.8
(gen) compatibility: OpenSSH 7.4+, Dropbear SSH 2020.79+
(gen) compression: disabled
# key exchange algorithms
(kex) curve25519-sha256 -- [warn] does not provide protection against post-quantum attacks
`- [info] available since OpenSSH 7.4, Dropbear SSH 2018.76
`- [info] default key exchange from OpenSSH 7.4 to 8.9
(kex) kex-strict-s-v00@openssh.com -- [info] pseudo-algorithm that denotes the peer supports a stricter key exchange method as a counter-measure to the Terrapin attack (CVE-2023-48795)
# host-key algorithms
(key) ssh-ed25519 -- [info] available since OpenSSH 6.5, Dropbear SSH 2020.79
# encryption algorithms (ciphers)
(enc) aes128-gcm@openssh.com -- [info] available since OpenSSH 6.2
(enc) chacha20-poly1305@openssh.com -- [info] available since OpenSSH 6.5, Dropbear SSH 2020.79
`- [info] default cipher since OpenSSH 6.9
# message authentication code algorithms
(mac) hmac-sha2-256 -- [warn] using encrypt-and-MAC mode
`- [info] available since OpenSSH 5.9, Dropbear SSH 2013.56