From c8fc8b3ad2054110ea1f06d678abf58a98ff887f Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Mon, 2 Oct 2023 15:38:02 -0700 Subject: [PATCH] Include newline on end of comment within private key --- lib/vagrant/util/keypair.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/util/keypair.rb b/lib/vagrant/util/keypair.rb index 244b9a730..a83b5813c 100644 --- a/lib/vagrant/util/keypair.rb +++ b/lib/vagrant/util/keypair.rb @@ -18,7 +18,7 @@ module Vagrant # Header of private key file content PRIVATE_KEY_START = "-----BEGIN OPENSSH PRIVATE KEY-----\n".freeze # Footer of private key file content - PRIVATE_KEY_END = "-----END OPENSSH PRIVATE KEY-----".freeze + PRIVATE_KEY_END = "-----END OPENSSH PRIVATE KEY-----\n".freeze # Encodes given string #