1. 01 Jan, 2021 1 commit
  2. 31 Dec, 2020 12 commits
  3. 27 Dec, 2020 1 commit
  4. 26 Dec, 2020 3 commits
  5. 23 Dec, 2020 5 commits
  6. 20 Dec, 2020 1 commit
  7. 18 Dec, 2020 3 commits
  8. 15 Dec, 2020 6 commits
  9. 28 Nov, 2020 4 commits
  10. 25 Nov, 2020 1 commit
    • Stefano Babic's avatar
      Allow to encrypt sw-description · 66ccc4c9
      Stefano Babic authored
      In some use cases, even sw-description is required to be encrypted. This
      is useful in case sw-description contains Lua code and it is not
      desirable to expose this code.
      
      A new CONFIG_ENCRYPTED_SW_DESCRIPTION is added - this is
      at compile time because it is a security option.
      Signed-off-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
      66ccc4c9
  11. 24 Nov, 2020 1 commit
    • Michael Adler's avatar
      libconfig parser: fix incorrect type cast · 489605db
      Michael Adler authored
      The function `get_value_libconfig` contains an incorrect type cast
      when parsing booleans which results in overriding other memory.
      
      The bug can be triggered by having an sw-description like this:
      
      ```
      bootloader_transaction_marker = false;
      
      [...]
      
      foo = {
          bar: {
              [...]
          }
      };
      ```
      
      and using SWUpdate's selection mechanism (`-e foo,bar`).
      
      The selection mechanism will *not* work when sw-description contains
      `bootloader_transaction_marker`.
      
      The reason is that the value of `bootloader_transaction_marker` is
      stored in the struct `swupdate_cfg` which contains the fields:
      
      ```
          bool bootloader_transaction_marker;
          char software_set[SWUPDATE_GENERAL_STRING_SIZE];
      ```
      
      The incorrect type cast (`int` instead of `bool`) results in overriding
      the value stored in the `software_set` and consequently breaks the
      software selection mechanism.
      Signed-off-by: default avatarMichael Adler <michael.adler@siemens.com>
      Signed-off-by: default avatarChristian Storm <christian.storm@siemens.com>
      Reviewed-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
      489605db
  12. 22 Nov, 2020 2 commits