Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-16281

Encr class doesn't catch exceptions and won't terminate if an exception happens

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: High
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 GA, Master
    • Fix Version/s: 8.0.0 GA
    • Component/s: None
    • Story Points:
      0
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Sprint Team:
      Tatooine (Maint)
    • Steps to Reproduce:
      Hide
      1. Create /Users/username/.kettle/keyphrase.txt with the following content: !@BadKey#123
      2. Set kettle.properties variables as:
      • KETTLE_PASSWORD_ENCODER_PLUGIN=AES
      • KETTLE_AES_KEY_FILE=/Users/username/.kettle/keyphrase.txt
      1. Run the command line: encr.bat -kettle password
      Show
      Create /Users/username/.kettle/keyphrase.txt with the following content: !@BadKey#123 Set kettle.properties variables as: KETTLE_PASSWORD_ENCODER_PLUGIN=AES KETTLE_AES_KEY_FILE=/Users/username/.kettle/keyphrase.txt Run the command line: encr.bat -kettle password

      Description

      If you specify an illegal key length for AES, the encoder will throw an exception which isn't caught in the main of Encr.java. Then, the process just keeps running.

        Attachments

          Activity

            People

            Assignee:
            dkrauchanka Dzmitry Krauchanka (Inactive)
            Reporter:
            mbatchelor Marc Batchelor (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: