Adding signature checking 02/27902/2 accepted/tizen/common/20140924.112708 accepted/tizen/ivi/20140927.095037 submit/tizen_common/20140923.154519 submit/tizen_common/20140924.073135 submit/tizen_ivi/20140926.000000
authorJosé Bollo <jose.bollo@open.eurogiciel.org>
Thu, 18 Sep 2014 14:41:16 +0000 (16:41 +0200)
committerJosé Bollo <jose.bollo@open.eurogiciel.org>
Tue, 23 Sep 2014 07:46:04 +0000 (09:46 +0200)
commitc085c25c97cf7e13a9ca539495e457cb33f217aa
tree00bccc0df6332d104727006cc6851a218aad2b47
parent97fb47f029638b12ed044b761edc644f8725d388
Adding signature checking

The couple tizen-platform-wrapper/tizen-platform-config is
intended to be a foundation of what is the tizen configuration.

As such, each change of the set of keys SHOULD implies a full
rebuild of tizen. It is what normally happens via the set
of build dependencies. But some developper encountered problems
because they were taking part of the system, having different
versions of configuration. Especially, it happened was installing
a fresh rpm built with GBS on an old image. This problem is reported
in the following file:

Bug-Tizen: TC-1626

This commit modify the behaviour of the generated library but
doesn't modify its API. The new principle is to add a signup that
it linked to the client and checked by the shared library. If the
client's signup misfits library's one, a critical error is printed
to using syslog and the program is aborted.

Also, the modularity of the source is improved.

Change-Id: I5c2e5a990ebf17f893b669c272fda99d0d0b2de1
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
32 files changed:
configure.ac
packaging/tizen-platform-wrapper.spec
src/Makefile.am
src/buffer.c
src/buffer.h
src/build.sh [new file with mode: 0755]
src/context.c [new file with mode: 0644]
src/context.h [new file with mode: 0644]
src/foreign.c
src/foreign.h
src/hashing.c [new file with mode: 0644]
src/hashing.h [new file with mode: 0644]
src/heap.c
src/heap.h
src/init.c [moved from src/tzplatform_config.c with 50% similarity]
src/init.h [new file with mode: 0644]
src/parser.c
src/parser.h
src/passwd.c
src/passwd.h
src/scratch.c
src/scratch.h
src/sha256sum.c [new file with mode: 0644]
src/sha256sum.h [new file with mode: 0644]
src/shared-api.c [new file with mode: 0644]
src/shared-api.h [new file with mode: 0644]
src/static-api.c [new file with mode: 0644]
src/toolbox.c
src/tzplatform_config.h
src/tzplatform_config.sym [new file with mode: 0644]
src/tzplatform_get.c
tizen-platform-wrapper.pc.in