On 22.09.23 10:44, James Hilliard wrote:
> On Fri, Sep 22, 2023 at 2:41 AM Stefano Babic
> <
stefan...@swupdate.org> wrote:
>>
>> On 22.09.23 10:31, Piotr Łobacz wrote:
>>> As in the subject is this even possible? From my persperctive this is a
>>> backdoor
>>
>> It is not: you have running firmware in field that allows to be upgraded
>> with not signed firmware. You already allow to update with any firmware
>> because the verification is turned off. There is no backdoor, you have
>> just security to low level.
>>
>>> but unfortunately we can so many devices on the field that
>>> getting them back would be problematic...
>>
>> It works, why shouldn't ? Your fw in field does not verify - that means
>> a signed SWU won't be verified and will be installed, exactly as any not
>> signed SWU.
>>
>> If the new firmware has activated Signed Images, from that point the
>> device will just accept signed images. That means this is a one way
>> update, and downgrading won't be possible anymore.
>
> Technically downgrading would be possible, if you have the private key
> needed to sign firmware as you could sign a firmware update that doesn't
> enforce signatures.
Yes, you can resign the old software. I think it is just a theoretical