Skip to content

Commit 003994d

Browse files
author
Paolo Calao
authored
Specify that generic device is less secure (#87)
device create is for provisioning of crypto-chip devices -> most secure create-generic is for devices that use authentication with id and password -> less secure
1 parent 24b4410 commit 003994d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cli/device/create.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ var createFlags struct {
3737
func initCreateCommand() *cobra.Command {
3838
createCommand := &cobra.Command{
3939
Use: "create",
40-
Short: "Create a device",
41-
Long: "Create a device for Arduino IoT Cloud",
40+
Short: "Create a device provisioning the onboard secure element with a valid certificate",
41+
Long: "Create a device for Arduino IoT Cloud provisioning the onboard secure element with a valid certificate",
4242
Run: runCreateCommand,
4343
}
4444
createCommand.Flags().StringVarP(&createFlags.port, "port", "p", "", "Device port")

cli/device/creategeneric.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ var createGenericFlags struct {
3636
func initCreateGenericCommand() *cobra.Command {
3737
createGenericCommand := &cobra.Command{
3838
Use: "create-generic",
39-
Short: "Create a generic device",
40-
Long: "Create a generic device for Arduino IoT Cloud",
39+
Short: "Create a generic device with password authentication - without secure element - WARNING: less secure",
40+
Long: "Create a generic device with password authentication for Arduino IoT Cloud - without secure element - WARNING: less secure",
4141
Run: runCreateGenericCommand,
4242
}
4343
createGenericCommand.Flags().StringVarP(&createGenericFlags.name, "name", "n", "", "Device name")

0 commit comments

Comments
 (0)