You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
[JENKINS-16337] SSH public key field in the user config page lacks form validation #13212
This is in the core (specifically the ssh-cli-auth module), not the ssh plugin.
AFAICT it does no parsing whatsoever of what you enter. It just splits it by newline, and then when authenticating, generates an expected public key string and does a String.equals against each line in turn.
This is in the core (specifically the ssh-cli-auth module), not the ssh plugin.
AFAICT it does no parsing whatsoever of what you enter. It just splits it by newline, and then when authenticating, generates an expected public key string and does a String.equals against each line in turn.
Code changed in jenkins
User: Jesse Glick
Path:
src/main/java/org/jenkinsci/main/modules/cli/auth/ssh/UserPropertyImpl.java
src/test/java/org/jenkinsci/main/modules/cli/auth/ssh/TheTest.java
http://jenkins-ci.org/commit/ssh-cli-auth-module/da9030294137c89b5f213a87c4ce081e9c80fac5
Log:
[FIXED JENKINS-16337] Provide basic syntactic validation of public keys.
Does not try to actually decode them.
Activity
jenkins-infra-bot commentedon Jan 14, 2013
Remote links associated with this issue:
jenkins-infra-bot commentedon Apr 7, 2017
Raw content of original comment:
This is in the core (specifically the ssh-cli-auth module), not the ssh plugin.
AFAICT it does no parsing whatsoever of what you enter. It just splits it by newline, and then when authenticating, generates an expected public key string and does a String.equals against each line in turn.
jenkins-infra-bot commentedon Apr 11, 2017
Raw content of original comment:
Code changed in jenkins
User: Jesse Glick
Path:
src/main/java/org/jenkinsci/main/modules/cli/auth/ssh/UserPropertyImpl.java
src/test/java/org/jenkinsci/main/modules/cli/auth/ssh/TheTest.java
http://jenkins-ci.org/commit/ssh-cli-auth-module/da9030294137c89b5f213a87c4ce081e9c80fac5
Log:
[FIXED JENKINS-16337] Provide basic syntactic validation of public keys.
Does not try to actually decode them.
jenkins-infra-bot commentedon Apr 12, 2017
Raw content of original comment:
Code changed in jenkins
User: Jesse Glick
Path:
war/pom.xml
http://jenkins-ci.org/commit/jenkins/24df43fa448efae530da9ed8d816a1ba3541bbcb
Log:
Merge pull request #2840 from jglick/ssh-cli-auth-
JENKINS-16337JENKINS-16337ssh-cli-auth 1.4Compare: 1c67022...24df43f
jenkins-infra-bot commentedon Apr 15, 2017
Raw content of original comment:
Integrated towards 2.55