diff options
author | George McCollister <george.mccollister@gmail.com> | 2011-05-12 15:48:35 -0500 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-05-28 10:38:32 +0200 |
commit | 1ba16b048959815aac80ae3dce1b3a76211309dc (patch) | |
tree | 00247f4414ff5de009f8f9d57aa497e51f37c57b /scripts | |
parent | 14e672f348f40ff9ab90c655388e03f1444f13cb (diff) | |
download | ptxdist-1ba16b048959815aac80ae3dce1b3a76211309dc.tar.gz ptxdist-1ba16b048959815aac80ae3dce1b3a76211309dc.tar.xz |
Added option to sign ipkg-repository
ipkg-repository can now be signed using openssl. A signature for the
Packages file is created and stored in Packages.sig. On the target, opkg
can be configured to enforce verification of the Packages file (which in
turn contains hashes of each ipk file) by using an /etc/opkg/opkg.conf similar
to the following:
src myrepo http://server/ipkg-repository/mydistro/dists/mydistro-3
option check_signature
option signature_ca_path /var/keys
option signature_ca_file /var/keys/selfsigned.crt
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/ptxd_make_image_prepare_work_dir.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_make_image_prepare_work_dir.sh b/scripts/lib/ptxd_make_image_prepare_work_dir.sh index d8f7b1d31..eb2292723 100644 --- a/scripts/lib/ptxd_make_image_prepare_work_dir.sh +++ b/scripts/lib/ptxd_make_image_prepare_work_dir.sh @@ -57,6 +57,9 @@ ${list[*]} ARCH="${PTXDIST_IPKG_ARCH_STRING}" \ SRC="" \ + CHECKSIG="" \ + CAPATH="" \ + CAFILE="" \ ptxd_replace_magic "${ptxd_reply}" >> "${xpkg_conf}" && DESTDIR="${image_work_dir}" \ |