Skip to content

Commit

Permalink
Ssh Command modified in PrivateKeyProvider.java File in cil module (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
SomasekharSunkari committed Dec 6, 2023
1 parent 3273aec commit dca009b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/src/test/java/hudson/cli/PrivateKeyProviderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private void assertKeyPairNotNull(File file, String password) throws IOException
}

/**
key command: ssh-keygen -f dsa-password -t dsa -b 1024 -m PEM -p password
key command: ssh-keygen -f dsa-password -t dsa -b 1024 -m PEM -P password
*/
@Test
public void loadKeyDSAPassword() throws IOException, GeneralSecurityException {
Expand All @@ -61,7 +61,7 @@ public void loadKeyRSA() throws IOException, GeneralSecurityException {
}

/**
key command: ssh-keygen -f rsa-password -t rsa -b 1024 -m PEM -p password
key command: ssh-keygen -f rsa-password -t rsa -b 1024 -m PEM -P password
*/
@Test
public void loadKeyRSAPassword() throws IOException, GeneralSecurityException {
Expand All @@ -80,7 +80,7 @@ public void loadKeyOpenSSH() throws IOException, GeneralSecurityException {
}

/**
key command: ssh-keygen -f openssh-unsupported -t rsa -b 1024 -m PKCS8 -p password
key command: ssh-keygen -f openssh-unsupported -t rsa -b 1024 -m PKCS8 -P password
*/
@Test
public void loadKeyOpenSSHPKCS8() throws IOException, GeneralSecurityException {
Expand Down

0 comments on commit dca009b

Please sign in to comment.