-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add newline to
PublicKey::write_openssh_file
output (#188)
Also adds an integration test to ensure that the file output matches what `ssh-keygen` generates byte-for-byte. The `ToString` impl still omits the newline. To avoid making breaking changes, it always uses `\n` as the newline, however perhaps in a future breaking release it could be changed to accept `LineEnding` so as to match `PrivateKey::write_openssh_file`.
- Loading branch information
Showing
3 changed files
with
37 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters