Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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/privatekey 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 Ed25519key 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