File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -183,9 +183,9 @@ pub enum IdentityConfig {
183183 /// path to wic image file (optionally compressed with xz, bzip2 or gzip)
184184 #[ arg( short = 'i' , long = "image" ) ]
185185 image : PathBuf ,
186- /// subject name for the edge ca
187- #[ arg( short = 's ' , long = "subject " ) ]
188- subject : String ,
186+ /// device id
187+ #[ arg( short = 'd ' , long = "device-id " ) ]
188+ device_id : String ,
189189 /// period of validity in days
190190 #[ arg( short = 'D' , long = "days" ) ]
191191 days : u32 ,
Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ pub fn run() -> Result<()> {
277277 intermediate_full_chain_cert,
278278 intermediate_key,
279279 image,
280- subject ,
280+ device_id ,
281281 days,
282282 generate_bmap,
283283 compress_image,
@@ -289,7 +289,7 @@ pub fn run() -> Result<()> {
289289 intermediate_key : & intermediate_key,
290290 target_cert : "edge_ca_cert_path.pem" ,
291291 target_key : "edge_ca_path.key.pem" ,
292- subject : & subject ,
292+ subject : & device_id ,
293293 validity_days : days,
294294 } ,
295295 )
Original file line number Diff line number Diff line change @@ -542,7 +542,7 @@ fn check_set_edge_ca_cert() {
542542 . arg ( & intermediate_full_chain_crt_key_path)
543543 . arg ( "-i" )
544544 . arg ( & image_path)
545- . arg ( "-s " )
545+ . arg ( "-d " )
546546 . arg ( "edge-ca" )
547547 . arg ( "-D" )
548548 . arg ( "1" )
You can’t perform that action at this time.
0 commit comments