Azure-Samples/iotedge_config_cli

Buggy when provided root CA private key is protected by pass phrase

Opened this issue · 0 comments

jlian commented

To repro:

  1. Create test CA and private key using https://docs.microsoft.com/azure/iot-edge/how-to-create-test-certificates
    • Pass phrase is hardcoded "1234"
  2. Specify in YAML to use the generated files
    image
  3. Run the tool
  4. Observe that
    1. The tool prompts you to enter the pass phrase twice in a row
    2. Enter the pass phrase once and press enter, it goes to the next line and appears to hang
    3. You have to enter the pass phrase again, but this time it shows it in the terminal output
      image