1. 14 Jun, 2020 1 commit
  2. 12 Jun, 2020 1 commit
  3. 08 Jun, 2020 5 commits
  4. 01 Jun, 2020 1 commit
  5. 31 May, 2020 1 commit
  6. 21 May, 2020 1 commit
    • Karel Koci's avatar
      configure.ac: fix check for busybox when cross compiling · 1048eccd
      Karel Koci authored
      AC_CHECK_FILE works only if cross compilation is not performed. The
      reason is that it tries to check for existence of file on native system.
      We want check if argument is file so implement check doing exactly that
      with plain test.
  7. 30 Apr, 2020 1 commit
    • Karel Koci's avatar
      Remove usign from codebase · cb46c19f
      Karel Koci authored
      This removes all mentions and usage from codebase.
      Usign usage was replaced with openssl in updater now so we no longer
      need usign itself as well as we no longer need to build it or have it in
  8. 26 Apr, 2020 2 commits
  9. 20 Apr, 2020 6 commits
    • Karel Koci's avatar
      gitignore: ignore binaries only in top level · 159375ff
      Karel Koci authored
      This rules was ignoring also src/* directories.
    • Karel Koci's avatar
      tests/lua/updater: Test package verification · fef5a7e6
      Karel Koci authored
    • Karel Koci's avatar
      lib/lua/updater: Split verification to separate function · 2e4362d7
      Karel Koci authored
      This is so we can better test it.
      This also reverts old behavior of checking for SHA256Sum on top of new
    • Karel Koci's avatar
      lib/updater: print warning for packages that were not verified · 89a1bad1
      Karel Koci authored
      This servers two purposes. It warns repository creators that their
      repository is not potentially correctly setup and it also warns
      updater's developers about faults in verification. It is not required
      that all packages should be essentially verified but it is best advised
      to be.
    • Karel Koci's avatar
      lib/updater: fix invalid hash check for SHA256 · cf860b7b
      Karel Koci authored
      This is major problem as packages were not verified thanks to this
    • Karel Koci's avatar
      lib/download: remove download retries · c863f6fd
      Karel Koci authored
      Download retries are flawed because if some data is downloaded and later
      download is started again the new data is appended to old data. This
      means that result is invalid even if new download was successful.
      One option would be to truncate output for retry but output can be not
      only file but effectively any buffer. I am not aware of easy way to
      truncate FILE. We can truncate real file but it seems that there is no
      way to truncate memory objects such as created using fopencookie.
      It is also questionable if retries were even usable for anything. Curl
      on its own tries to reestablish connection and letting it on Curl is in
      general even cleaner than doing some hacks.
  10. 17 Apr, 2020 1 commit
    • Karel Koci's avatar
      lib: fix invalid error for uri_content · 63154566
      Karel Koci authored
      It is not possible to universally call :path() on URIs as not all of
      them are of file scheme. Instead :uri() should have been called here to
      get URI representation.
      This also not essentially downloading URI. It just receives it no matter
      what kind of URI it is so message about download is miss leading
      (although in most cases valid).
  11. 08 Apr, 2020 20 commits