Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ecdsa ssh keys #13327

Merged
merged 5 commits into from
Jan 11, 2024
Merged

Commits on Jan 10, 2024

  1. Configuration menu
    Copy the full SHA
    4e61783 View commit details
    Browse the repository at this point in the history
  2. Add new key pair types

    Adds ECDSA key types (256, 384, and 521) to supported types that can be
    generated for key replacement on guest.
    chrisroberts committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    b934bd6 View commit details
    Browse the repository at this point in the history
  3. Add key_type configuration option for ssh

    Adds a new `key_type` option to the Vagrantfile ssh configuration. It
    defaults to :auto which allows auto detection of key type to use.
    Otherwise it can be set to an explicit type supported by Vagrant.
    chrisroberts committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    443ff01 View commit details
    Browse the repository at this point in the history
  4. Use ssh key type defined by configuration

    If key type is defined as :auto, detect best key type to use. If no
    acceptable key type is detected as supported by the server, raise an
    error. If unable to determine supported key types from the server,
    fallback to original behavior of rsa type key.
    
    If key type is defined as custom value, use that type if the server
    supports it, or if the supported types cannot be read. Otherwise, raise
    an error informing the user that the key type is not supported.
    chrisroberts committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    96f2039 View commit details
    Browse the repository at this point in the history
  5. Patch net-ssh for ecdsa private keys

    This patches net-ssh so it will properly handle loading and using ecdsa
    private keys. Patching is restricted to tested versions.
    chrisroberts committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    2d5c9c0 View commit details
    Browse the repository at this point in the history