From: Lucas Nussbaum <lucas@debian.org>
Date: Tue, 7 May 2024 14:43:37 +0200
Subject: Add newline at end of 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 31665af..b9f6c9a 100644
--- a/lib/vagrant/util/keypair.rb
+++ b/lib/vagrant/util/keypair.rb
@@ -15,7 +15,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
         #
