1. 17 Jun, 2021 1 commit
  2. 14 Jun, 2021 1 commit
    • Stefano Babic's avatar
      util: Extend get_root to find LUKS devices · 3914d2b7
      Stefano Babic authored
      This helps in case of encrypted filesystem or device mapper.
      The returned device read from partitions is usually a dm-X device and
      this does not show which is the block device that contains it. Look in
      sysfs and check if the device has "slaves" entries, indicating the
      presence of an underlying device. If found, return this instead of the
      device returned parsing /proc/partitions.
      Signed-off-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
      3914d2b7
  3. 10 Jun, 2021 3 commits
  4. 01 Jun, 2021 1 commit
  5. 26 May, 2021 1 commit
    • Mulbrook, Andrew's avatar
      Add optional CMS single signer verification · 8e4c3263
      Mulbrook, Andrew authored
      This change introduces a Kconfig parameter allowing CMS verification
      when additional unrecognized signatures are included in the CMS stream.
      Content verification is required against all signatures, but swupdate
      only requires a single signature in the set to be verified against the
      public key specified to swupdate. This operation requires manual
      checking of signatures outside of the CMS_verify operation as OpenSSL
      requires all signatures within the CMS envelop to verify.
      Signed-off-by: default avatarAndrew Mulbrook <andrew.mulbrook@garmin.com>
      8e4c3263
  6. 19 May, 2021 3 commits
  7. 17 May, 2021 2 commits
  8. 13 May, 2021 3 commits
  9. 04 May, 2021 1 commit
  10. 03 May, 2021 4 commits
  11. 02 May, 2021 3 commits
    • Mark Jonas's avatar
      configs: Add HASH_VERIFY to no_ssl_defconfig · b7908c79
      Mark Jonas authored
      The no_ssl_defconfig failed the ValidImageTest of the acceptance-tests.
      
      make V=1 shows that hash verification is missing:
      
      TRACE] : SWUPDATE running :  [get_common_fields] : Version 0.2.2
      [TRACE] : SWUPDATE running :  [parse_hw_compatibility] : Accepted Hw
      Revision : 1
      [TRACE] : SWUPDATE running :  [_parse_files] : Found File: hello.txt -->
      /home/hello.txt (ROOTFS)
      [ERROR] : SWUPDATE failed [0] ERROR core/parser.c : check_hash_absent :
      52 : hash verification not enabled but hash supplied for hello.txt
      [ERROR] : SWUPDATE failed [0] ERROR core/stream_interface.c :
      extract_files : 165 : Compatible SW not found
      [ERROR] : SWUPDATE failed [1] Image invalid or corrupted. Not installing ...
      
      This is fixed by adding HASH_VERIFY to the no_ssl_defconfig.
      Signed-off-by: default avatarMark Jonas <toertel@gmail.com>
      b7908c79
    • Mark Jonas's avatar
      ci: Run all tests · 2643d783
      Mark Jonas authored
      Makefile target 'tests' buils and runs 'acceptance-tests' and 'test'.
      
      The acceptance-tests additionally require cpio and wget.
      Signed-off-by: default avatarMark Jonas <toertel@gmail.com>
      2643d783
    • Bastian Germann's avatar
      14393513
  12. 01 May, 2021 1 commit
  13. 30 Apr, 2021 7 commits
  14. 29 Apr, 2021 9 commits