Include newline on end of comment within private key

This commit is contained in:
Chris Roberts 2023-10-02 15:38:02 -07:00
parent 00c1f9c7eb
commit c8fc8b3ad2

View File

@ -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
#