Skip to content

When adding an identity, validate that private key and public key (or… - #1168

Open
AlainKnaff wants to merge 11 commits into
mwiede:masterfrom
AlainKnaff:certificate-pubkey
Open

AlainKnaff wants to merge 11 commits into
mwiede:masterfrom
AlainKnaff:certificate-pubkey

Missed this one

c88ad15
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Oct 1, 2026 in 36s

Annotations

Check warning on line 63 in src/test/java/com/jcraft/jsch/OpenSshCertificateKeyCompatTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=mwiede_jsch&issues=AaD5hHlvEf_aNPJeWX_5&open=AaD5hHlvEf_aNPJeWX_5&pullRequest=1168

Check warning on line 28 in src/test/java/com/jcraft/jsch/OpenSshCertificateKeyCompatTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=mwiede_jsch&issues=AaD5hHlvEf_aNPJeWX_3&open=AaD5hHlvEf_aNPJeWX_3&pullRequest=1168

Check warning on line 28 in src/test/java/com/jcraft/jsch/OpenSshCertificateKeyCompatTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace these 3 tests with a single Parameterized one.

See more on https://sonarcloud.io/project/issues?id=mwiede_jsch&issues=AaD5hHlvEf_aNPJeWX_2&open=AaD5hHlvEf_aNPJeWX_2&pullRequest=1168

Check warning on line 50 in src/test/java/com/jcraft/jsch/OpenSshCertificateKeyCompatTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=mwiede_jsch&issues=AaD5hHlvEf_aNPJeWX_4&open=AaD5hHlvEf_aNPJeWX_4&pullRequest=1168

Check warning on line 12 in src/test/java/com/jcraft/jsch/OpenSshCertificateKeyCompatTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove redundant visibility modifiers from the methods of this test class.

See more on https://sonarcloud.io/project/issues?id=mwiede_jsch&issues=AaD5hHlvEf_aNPJeWX_1&open=AaD5hHlvEf_aNPJeWX_1&pullRequest=1168