Lines Matching refs:image
8 with wrong key images are not swapped to, and image signed with correct key
20 Build and load good image in slot 0:
22 * `newt create-image k64f_blinky 1.0.1 key_<sign-algo>.pem`
28 *If testing RSA/PSS `newt create-image` needs to be passed in the extra*
31 `newt create-image k64f_blinky 1.0.1 key_rsa.pem --rsa-pss`
35 Build and load image in slot 1 with no signing, signed with
37 test image and check that swap only happens for image signed with
40 * `newt create-image k64f_blinky2 1.0.2 <one-of-the-sign-keys-or-none>`
41 * `newtmgr image upload k64f_blinky2`
42 * `newtmgr image list`
43 * `newtmgr image test <hash of slot 1>`
54 Build and load good image in slot 0:
56 * `newt create-image k64f_blinky 1.0.1 key_rsa.pem`
59 Build and load image in slot 1 with no signing, signed with
61 test image and check that swap only happens for image signed with
66 * `newt create-image k64f_blinky2 1.0.2`
70 * `newtmgr image upload k64f_blinky2`
71 * `newtmgr image list`
72 * `newtmgr image test <hash of slot 1>`
83 * `newt create-image k64f_blinky 1.0.1 key_rsa.pem`
89 * `newt create-image k64f_blinky2 1.0.2 <bad and good rsa keys>.pem`
90 * `newtmgr image upload k64f_blinky2`
91 * `newtmgr image list`
92 * `newtmgr image confirm <hash of slot 1>`
94 This should not swap and delete the image in slot 1 when signed with the wrong
95 key, otherwise the image in slot 1 should be *moved* to slot 0 and slot 1 should
105 Build non-signed image:
107 * `newt create-image k64f_blinky 1.0.1`
109 * Reset and no image should be run
111 Build signed image with invalid key:
113 * `newt create-image k64f_blinky 1.0.1 key_rsa_2.pem`
115 * Reset and no image should be run
117 Build signed image with *valid* key:
119 * `newt create-image k64f_blinky 1.0.1 key_rsa.pem`
121 * Reset and image *should* run
135 * `newt create-image k64f_slinky 1.0.1 key_rsa.pem`
140 * `newt create-image k64f_slinky2 1.0.2 key_rsa.pem`
141 * `newtmgr image upload k64f_slinky2`
144 image in slot 1 and check that it works.
146 * `newtmgr image list`
147 * `newtmgr image confirm <hash of slot 1>`
149 If everything works, now proceed with requests for permanent swap to the image
151 confirm that the swap was finished with the previous slot 1 image now in
160 * Flashing image in slot 1: