Azure-Samples / Azure-Samples/iotedge_config_cli

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

Open
#23 0 comments 0 reactions 1 assignee Claimed by @jlian View on GitHub
Dominant language
Rust
Stars
8
Forks
15
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/2320572/187823509-845e50f8-4041-42db-a99c-edb5c4b7d3d7.png)
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](https://user-images.githubusercontent.com/2320572/187824173-9217fdd4-11a0-4610-88e1-1a6b99e4188d.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.