-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: device.id is derived from device certificate if certificate exists
* device.id always uses a value from device certificate. If no certificate exists, returns a value from tedge.toml file. Both don't exist, finally it returns an error. * tedge connect doesn't validate if device certficate's CN matches the value from tedge.toml file. It just consume the value from device.id. * The CN of `tedge cert create` is determined by this order: 1) the value of --device-id option 2) the value of tedge config get <device_id_key> Signed-off-by: Rina Fujino <rina.fujino.23@gmail.com>
- Loading branch information
Showing
10 changed files
with
272 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.