Skip to content

Commit

Permalink
Merge pull request teaxyz#27 from belalangeth/patch-2
Browse files Browse the repository at this point in the history
Fix: update few statement
  • Loading branch information
mxcl authored Dec 19, 2024
2 parents b027bd5 + a8d4bf1 commit 737602b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/teaBASE+SSH.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ - (void)updateSSHStates {
- (NSString *)sshPrivateKeyFile {
NSURL *home = [NSFileManager.defaultManager homeDirectoryForCurrentUser];

//TODO filenames can be arbituary and configurable which makes life complex
// eg. we could just try and figure out what is used for github, but that's not our *whole* story is it?
//TODO filenames can be arbitrary and configurable which makes life complex
// e.g we could just try and figure out what is used for github, but that's not our *whole* story is it?

//NOTE order is same as ssh sources read order
for (NSString *file in @[@"id_rsa", @"id_dsa", @"id_ecdsa", @"id_ed25519"]) {
Expand Down Expand Up @@ -189,7 +189,7 @@ - (void)printSSHEmergencyKit:(NSString *)passphrase sender:(id)sender {
return;
}

// Break the pubkic key content into 70-char lines (aligned with the private key visually) to make it fit the page
// Break the public key content into 70-char lines (aligned with the private key visually) to make it fit the page
NSMutableString *formattedContent = [NSMutableString string];
NSUInteger lineLength = 70;
NSUInteger currentIndex = 0;
Expand Down

0 comments on commit 737602b

Please sign in to comment.