Skip to content

Commit c8fc8b3

Browse files
committed
Include newline on end of comment within private key
1 parent 00c1f9c commit c8fc8b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vagrant/util/keypair.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Ed25519
1818
# Header of private key file content
1919
PRIVATE_KEY_START = "-----BEGIN OPENSSH PRIVATE KEY-----\n".freeze
2020
# Footer of private key file content
21-
PRIVATE_KEY_END = "-----END OPENSSH PRIVATE KEY-----".freeze
21+
PRIVATE_KEY_END = "-----END OPENSSH PRIVATE KEY-----\n".freeze
2222

2323
# Encodes given string
2424
#

0 commit comments

Comments
 (0)