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 }}
Repository navigation
[JENKINS-5420] Password parameters are stored as plain text in jobs' config and builds' history (patch provided) #19283
Password parameters are stored as plain text in jobs' config and builds' history. They are accessible in:
/config.xml
/builds//build.xml
Cf. attached patches to fix that:
PasswordParameterDefinition now inherits from SimpleParameterDefinition rather than StringParameterDefinition and uses a Secret to store the default password rather than a string.
PasswordParameterValue now inherits from ParameterValue rather than StringParameterValue and uses Secret to store the password rather than a string.
Password parameters are stored as plain text in jobs' config and builds' history. They are accessible in:
<job>/config.xml
<job>/builds/<date>/build.xml
Cf. attached patches to fix that:
PasswordParameterDefinition now inherits from SimpleParameterDefinition rather than StringParameterDefinition and uses a Secret to store the default password rather than a string.
PasswordParameterValue now inherits from ParameterValue rather than StringParameterValue and uses Secret to store the password rather than a string.
Code changed in hudson
User: : kohsuke
Path:
trunk/hudson/main/core/src/main/java/hudson/model/PasswordParameterDefinition.java
trunk/hudson/main/core/src/main/java/hudson/model/PasswordParameterValue.java
trunk/www/changelog.html
http://jenkins-ci.org/commit/26736
Log:
[FIXED JENKINS-5420] in 1.344 Password parameter on the disk should be encrypted.
Code changed in hudson
User: : kohsuke
Path:
trunk/hudson/main/core/src/main/java/hudson/model/PasswordParameterDefinition.java
trunk/hudson/main/core/src/main/java/hudson/model/PasswordParameterValue.java
trunk/www/changelog.html http://jenkins-ci.org/commit/26736
Log: [FIXED JENKINS-5420] in 1.344 Password parameter on the disk should be encrypted.
Activity
jenkins-infra-bot commentedon Jan 29, 2010
Raw content of original comment:
Code changed in hudson
User: : kohsuke
Path:
trunk/hudson/main/core/src/main/java/hudson/model/PasswordParameterDefinition.java
trunk/hudson/main/core/src/main/java/hudson/model/PasswordParameterValue.java
trunk/www/changelog.html
http://jenkins-ci.org/commit/26736
Log:
[FIXED JENKINS-5420] in 1.344 Password parameter on the disk should be encrypted.