-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #522 from 7flying/ssh-key-test
chore: update ssh-key format in tests to match real-world usage
- Loading branch information
Showing
6 changed files
with
8 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -807,15 +807,15 @@ impl<'a> TestServerConfigurator<'a> { | |
"user", | ||
users::get_current_username().unwrap().to_str().unwrap(), | ||
); | ||
cfg.insert("sshkey", "sshkey_default"); | ||
cfg.insert("sshkey", "ssh-ed25519 sshkey_default [email protected]"); | ||
cfg.insert("password", "testpassword"); | ||
} else { | ||
L.l("per_device_serviceinfo is set, using device specific values"); | ||
cfg.insert( | ||
"user", | ||
users::get_current_username().unwrap().to_str().unwrap(), | ||
); | ||
cfg.insert("sshkey", "sshkey_per_device"); | ||
cfg.insert("sshkey", "ssh-ed25519 sshkey_per_device [email protected]"); | ||
cfg.insert("password", "testpassword"); | ||
} | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -394,7 +394,7 @@ where | |
.context("Error reading authorized SSH keys")?, | ||
" | ||
# These keys are installed by FIDO Device Onboarding | ||
sshkey_default | ||
ssh-ed25519 sshkey_default [email protected] | ||
# End of FIDO Device Onboarding keys | ||
" | ||
); | ||
|
@@ -650,7 +650,7 @@ where | |
.context("Error reading authorized per device SSH keys")?, | ||
" | ||
# These keys are installed by FIDO Device Onboarding | ||
sshkey_per_device | ||
ssh-ed25519 sshkey_per_device [email protected] | ||
# End of FIDO Device Onboarding keys | ||
" | ||
); | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -271,7 +271,7 @@ where | |
.context("Error reading authorized SSH keys")?, | ||
" | ||
# These keys are installed by FIDO Device Onboarding | ||
sshkey_default | ||
ssh-ed25519 sshkey_default [email protected] | ||
# End of FIDO Device Onboarding keys | ||
" | ||
); | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -263,7 +263,7 @@ async fn test_to_impl( | |
.context("Error reading authorized SSH keys")?, | ||
" | ||
# These keys are installed by FIDO Device Onboarding | ||
sshkey_default | ||
ssh-ed25519 sshkey_default [email protected] | ||
# End of FIDO Device Onboarding keys | ||
" | ||
); | ||
|
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