Describe the bug
Git SSH Private Key Contents, must include New Line (LF) at the end
To Reproduce
Steps to reproduce the behavior:
- Go to 'Storage - Git'
- Click on 'B - SSH Private Key Contents'
- Paste SSH Private Key's contents ending with
-----END OPENSSH PRIVATE KEY----- without New Line at end
- See error
Load key "/home/vcap/app/wiki/data/secure/git-ssh.pem": invalid format
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. error: Could not fetch origin
Expected behavior
Git: Last synchronization a few seconds ago
Additional context
Minor bug, but prohibitive to new users who will not find what they have done wrong when following the instructions. In addition, documents and UI do not make it clear to switch "SSH Private Key Mode" so this minor bug would likely prohibit an initial setup.
Describe the bug
Git SSH Private Key Contents, must include New Line (LF) at the end
To Reproduce
Steps to reproduce the behavior:
-----END OPENSSH PRIVATE KEY-----without New Line at endExpected behavior
Git: Last synchronization a few seconds ago
Additional context
Minor bug, but prohibitive to new users who will not find what they have done wrong when following the instructions. In addition, documents and UI do not make it clear to switch "SSH Private Key Mode" so this minor bug would likely prohibit an initial setup.