Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-11981

password cipher to encrypted and save in job config.xml and job config page shuldnt show the password

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • rtc-plugin
    • None

    Description

      Hi,

      Few other plug-ins (SCM Synergy plugin for example) uses password cipher to encrypted the password before storing it in job config.xml. Also the password is not displayed on build configuration page. Can we consider this for RTC plugin?

      Attached image shows how it appears for Synergy plugin.

      Job config.xml stores the password
      <username>builduser</username>
      <password>bkhhXkF/UXfe6CAX8p9iB1o5TRPocxbNaboQiImaN9k=</password>

      Regards,
      Baskar.V

      Attachments

        Activity

          Code changed in jenkins
          User: Deluan
          Path:
          src/main/java/com/deluan/jenkins/plugins/rtc/JazzSCM.java
          src/main/resources/com/deluan/jenkins/plugins/rtc/JazzSCM/config.jelly
          http://jenkins-ci.org/commit/rtc-plugin/a6a42f1f4ab4c32958eafec29171a3a321be7dfe
          Log:
          JENKINS-11981 hiding password

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Deluan Path: src/main/java/com/deluan/jenkins/plugins/rtc/JazzSCM.java src/main/resources/com/deluan/jenkins/plugins/rtc/JazzSCM/config.jelly http://jenkins-ci.org/commit/rtc-plugin/a6a42f1f4ab4c32958eafec29171a3a321be7dfe Log: JENKINS-11981 hiding password
          dogfood dogfood added a comment -

          Integrated in plugins_rtc #22
          JENKINS-11981 hiding password

          deluan :
          Files :

          • src/main/java/com/deluan/jenkins/plugins/rtc/JazzSCM.java
          • src/main/resources/com/deluan/jenkins/plugins/rtc/JazzSCM/config.jelly
          dogfood dogfood added a comment - Integrated in plugins_rtc #22 JENKINS-11981 hiding password deluan : Files : src/main/java/com/deluan/jenkins/plugins/rtc/JazzSCM.java src/main/resources/com/deluan/jenkins/plugins/rtc/JazzSCM/config.jelly

          Thanks Deluan, That is quick!!
          I took the latest version of rtc plugin and it is working as expected.

          vbaskar Baskar Veeramani added a comment - Thanks Deluan, That is quick!! I took the latest version of rtc plugin and it is working as expected.

          People

            deluan Deluan Quintão
            vbaskar Baskar Veeramani
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: