I am using the scarthgap branch of meta-swupdate. I have successfully implemented swu for a signed image. I am now trying to add encryption, and I am getting a little confused by either documentation or my understanding about how it should work. I am not seeing a ext4.gz.enc show up in my deploy dir.
LICENSE = "CLOSED"
inherit swupdate
SRC_URI = "\
file://emmcsetup.lua \
file://sw-description \
"
inherit swupdate-enc
IMAGES_FSTYPES += ".ext4.gz.enc enc"
# images to build before building swupdate image
IMAGE_DEPENDS = "cjc-image"
# images that will be included in the .swu image
SWUPDATE_IMAGES = "cjc-image"
SWUPDATE_IMAGES_FSTYPES[cjc-image] = ".rootfs.ext4.gz"
SWUPDATE_SIGNING = "RSA"
SWUPDATE_PRIVATE_KEY = "${SECRETS_DIR}/swupdate-sig-priv.pem"
SWUPDATE_PASSWORD_FILE = "${SECRETS_DIR}/swupdate-sig-passwd"
SWUPDATE_IMAGES_ENCRYPTED[cjc-image.rootfs.ext4.gz] = "1"
SWUPDATE_AES_FILE = "${SECRETS_DIR}/swupdate-enc-build-aes-file"
********************************************************************
My deploy dir has the following files (nitrogen93 is the machine), but I don't see an .enc being built.
cjc-image-nitrogen93.rootfs.ext4.gz
cjc-image-swu-nitrogen93.rootfs.swu