Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11133

Should trim the content of keystore password file for JavaKeyStoreProvider

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • security
    • None
    • Reviewed

    Description

      In linux, when we edit file using vi/vim, or echo something to a file, LF char will be added at the end when saving file. The keystore is load failed in JavaKeyStoreProvider:

      java.io.IOException: Keystore was tampered with, or password was incorrect

      We should trim the content of keystore password file.

      Attachments

        Activity

          People

            hitliuyi Yi Liu
            zb161 zhubin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: