Both encrypted and signed files needed

Hello,

I have an application with mcuboot that works and I can generate all the files needed following the manuals.

Looking for the production, we want the signed file to flash the microcontroller, and the encrypted file for the updates.

But, when i compile the project to create the encrypted file, the signed file is not there.

There is any way to get both?

I was looking for the script that generates this files but in the BLD file i just can see the script to create the signed file like this:

<images>
    <image path="${BuildArtifactFileBaseName}.bin.signed">python ${workspace_loc:Bootloader}/ra/fsp/src/rm_mcuboot_port/rm_mcuboot_port_sign.py sign --header-size 0x200 --align 128 ....  ${BuildArtifactFileName} ${BuildArtifactFileBaseName}.bin.signed</image>
    <image path="${BuildArtifactFileBaseName}.bin.signed" security="n">python ${workspace_loc:Bootloader}/ra/fsp/src/rm_mcuboot_port/rm_mcuboot_port_sign.py sign --header-size 0x200 --align 128 ...  ${BuildArtifactFileName} ${BuildArtifactFileBaseName}.bin.signed</image>
</images>

Who inserts the encrypted tag?

Thanks.