Add support for ed25519 type keys. This support consists of two
parts:
Vagrant insecure private keys
A new ed25519 type public/private key pair has been added to the
./keys directory of the vagrant repository. The public/private
key files in the directory are now the following:
./keys/vagrant - Insecure private key (RSA) - not modified
./keys/vagrant.pub - Insecure public keys (both RSA and Ed25519) - Ed25519 public key appended
./keys/vagrant.key.pub - Insecure public key (RSA)
Vagrant support for ed25519
The Vagrant::Util::Keypair can now generate an RSA or Ed25519
key pair. Both keys are now used for authentication when no private
key has been specified (for example: initial authentication).
When removing the insecure key and replacing it with the a newly
generated key, a check is done to determine what key types Vagrant
supports are supported by the server. The best match will be used.
If a match cannot be determined, Vagrant will fallback to the
previous behavior of generating an RSA keypair.
Add support for ed25519 type keys. This support consists of two parts:
Vagrant insecure private keys
A new ed25519 type public/private key pair has been added to the
./keys
directory of the vagrant repository. The public/private key files in the directory are now the following:./keys/vagrant
- Insecure private key (RSA) - not modified./keys/vagrant.pub
- Insecure public keys (both RSA and Ed25519) - Ed25519 public key appended./keys/vagrant.key.ed25519
- Insecure private key (Ed25519)./keys/vagrant.pub.ed25519
- Insecure public key (Ed25519)./keys/vagrant.key.rsa
- Insecure private key (RSA)./keys/vagrant.key.pub
- Insecure public key (RSA)Vagrant support for ed25519
The
Vagrant::Util::Keypair
can now generate an RSA or Ed25519 key pair. Both keys are now used for authentication when no private key has been specified (for example: initial authentication).When removing the insecure key and replacing it with the a newly generated key, a check is done to determine what key types Vagrant supports are supported by the server. The best match will be used. If a match cannot be determined, Vagrant will fallback to the previous behavior of generating an RSA keypair.
Fixes #12589 Fixes #12458 Fixes #12693