diff options
| author | Daniil Baturin <daniil@vyos.io> | 2025-12-18 15:23:18 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-18 15:23:18 +0000 |
| commit | d1d4554a44fc0ccd56225c649f26a6663a64dd88 (patch) | |
| tree | b93a5bc520e681539a9f1cecb2e68c260bfee85b /src/migration-scripts/ssh | |
| parent | b88f3534b64e2733481008ae6bbba791662eff6a (diff) | |
| parent | 74b9f249cf1f49eb314f22d1f0a3c6a49ffb2596 (diff) | |
| download | vyos-1x-d1d4554a44fc0ccd56225c649f26a6663a64dd88.tar.gz vyos-1x-d1d4554a44fc0ccd56225c649f26a6663a64dd88.zip | |
Merge pull request #4903 from c-po/ssh-migrate-aes256-cbc
ssh: T8098: migrate "rijndael-cbc@lysator.liu.se" to "aes256-cbc" cipher
Diffstat (limited to 'src/migration-scripts/ssh')
| -rw-r--r-- | src/migration-scripts/ssh/2-to-3 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/migration-scripts/ssh/2-to-3 b/src/migration-scripts/ssh/2-to-3 index ac9f7156c..a3665af1e 100644 --- a/src/migration-scripts/ssh/2-to-3 +++ b/src/migration-scripts/ssh/2-to-3 @@ -14,8 +14,11 @@ # along with this library. If not, see <http://www.gnu.org/licenses/>. # T8098: rijndael-cbc@lysator.liu.se was removed in OpenSSH 6.7 which is used -# starting with VyOS 1.4. Also rename "ciphers" -> "cipher" to follow our -# CLI guidelines to use singular when possible +# starting with VyOS 1.4 - It is an alias for aes256-cbc which was +# standardized in RFC4253, adjust CLI accordingly. +# https://github.com/openssh/openssh-portable/commit/03e93c753d7c223063a +# Also rename "ciphers" -> "cipher" to follow our CLI guidelines to use +# singular when possible from vyos.configtree import ConfigTree @@ -37,3 +40,4 @@ def migrate(config: ConfigTree) -> None: for cipher in config.return_values(new_path): if cipher == deprecated_cipher: config.delete_value(new_path, value=deprecated_cipher) + config.set(new_path, value='aes256-cbc', replace=False) |
