Age | Commit message (Collapse) | Author | Files | Lines |
|
This adds the ability to automatically sign the
widgets that are packaged.
This is done by defining in the environment of
the packaging process the variables
WGTPKG_AUTOSIGN_X=key-filepath[:cert-filepath]...
Where X is a number.
If such variable exist, signatures are generated
in the directory of the packaged or signed widget,
one for each variable, replacing any existing one.
Obviously, nothing is done if no such variable exist.
The generated signature file depends on X.
- 0 is for file author-signature.xml
- X is for file signature-X.xml
The program wgtpkg-pack automatically include that
behaviour by default. An option allows to remove it.
Bug-AGL: SPEC-2840
Change-Id: I00bc4a4d094f71b307e467f984f20d3d4cc3c7bd
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Fix a tiny bug and minor improvements
Bug-AGL: SPEC-2840
Change-Id: I9b74a8fd604980615d5669219cb5de801de61163
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I1d68e07563d9f0f139d1bc8128e09a5da0a648af
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ie2ff321f78c59913373e2ffb2820297fd423d6f4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This flag allows with a single function to check the signature
and the case that a not signed widget is to be refused in the same
way that the signature is wrong.
The CMAKE boolean ALLOW_NO_SIGNATURE can be used to control
the default behavior at compile time. By default its value
is OFF meaning that install will refuse widgets without
signature.
Relates to Bug-AGL: SPEC-1590
Change-Id: I403109272759454696a1e5d9913879aaea7676e6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The compute of the return code was wrong: it always
returned 0 even in case of error.
Installation of a widget with an error in its signature
was possible due to this error.
Bug-AGL: SPEC-1590
Change-Id: Ibefd74aafd6a00dea32e52d471460cbe08a380ab
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ia4ef2a6e3c07616ccd756933a82f0806844c4faf
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I3fcd64a038c6c5bca3d70186e2e68604aa392ed4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ie82326a91ff61f079421239ffa83428f552194ab
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Add detection of problem of cast.
The problems are corrected in the patch.
Change-Id: I8dc1e987531790860e390dea53ddf49d52339cb2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I8ac6a16c936b73c6ce74ee41ae9c5a2ad9d042ee
|
|
Change-Id: I431915ac83727ab2cd27de37ace5015effcc7746
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ifa4371f99968a56e980396f7009ab5030b831ebb
|
|
Change-Id: I197678515772982ab6dd2fd949fa2a54ca4f268f
|
|
Change-Id: I7eac968a21766be44068463bcab8aaaa3d12941f
|
|
Change-Id: I65416563a8dc54e877df03a304fe4cbd42ebb3da
|
|
Change-Id: I9f5906d3e053b3fa0f3000d07c4af3f666fe079a
|
|
Change-Id: I6f91b15e87308cf01db4ddafa3c2715c251f5fe5
|
|
Change-Id: Id6d52eee86b706958972e9b345ec0d4d1e488146
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|