aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/ucert
Commit message (Collapse)AuthorAgeFilesLines
* ucert: update to version 2019-12-19Petr Štetiar2020-01-141-3/+3
| | | | | | | | | | | | | | | 14a279411cff fix certificate blob parsing vulnerability by using blob_parse_untrusted 19a7225ac018 fix leaking memory in cert_dump_blob 9dba44ddd4f5 fix possibly garbage value returned in cert_process_revoker 4462ff9dedfa add cram based unit tests 5fe64b5606aa cmake: split usign bits into static library 5d7626a2b6d8 cmake: reindent the file e284ed941972 cmake: enable hardening compiler flags and fix the reported issues 7e5390666347 add initial GitLab CI support fa0bf4ef45b1 cmake: add proper include and library dependencies Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit 2544cb1ba377149a8663c7ac4a625d5399993e33)
* ucert: update to latest git HEADDaniel Golle2019-11-301-3/+3
| | | | | | | | | | | | | e4bd927 cast ucert_argv to proper type when passing to execv Fixes warnings: warning: passing argument 2 of 'execv' from incompatible pointer type [-Wincompatible-pointer-types] 254 | execv(usign_argv[0], usign_argv) Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 9c272dd3e42a51c1343ed4fad54ac38bb97349dd)
* build: include BUILD_VARIANT in PKG_BUILD_DIRJeffery To2019-09-041-2/+0
| | | | | | | | | | | | This changes the default PKG_BUILD_DIR to take BUILD_VARIANT into account (if set), so that packages do not need to manually override PKG_BUILD_DIR just to handle variants. This also updates most base packages with variants to use the updated default PKG_BUILD_DIR. Signed-off-by: Jeffery To <jeffery.to@gmail.com> (cherry picked from commit e545fac8d968864a965edb9e50c6f90940b0a6c9)
* ucert: add PROVIDES also for minimal 'ucert' packageDaniel Golle2019-03-081-0/+1
| | | | | | | Otherwise ucert-full gets selected instead of ucert when depending on ucert. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ucert: work around short readMike McCormack2018-09-181-3/+3
| | | | | | | | | usign occasionally writes 16 characters then exits without writing a LF, leaving ucert hanging waiting for more input. Accept 16 characters or more rather than 17 to work around the short read. Signed-off-by: Mike McCormack <mike@atratus.org> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ucert: update to lastest git HEADJo-Philipp Wich2018-08-081-3/+3
| | | | | | | | Update to latest HEAD in order to fix a stack memory corruption issue: 1056e73 Change the sigb buffer to be the same size as the fread Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ucert: update sourceDaniel Golle2018-08-071-4/+10
| | | | | | | | | | | | ad816fc set rpath to make bundle-libraries.sh happy 63ad591 blob_buf needs to be zero'd Now that libubox, libjson-c and libblobms_json are installed into STAGING_DIR_HOST we can properly bundle ucert in the ImageBuilder. Follow-up commits will make use of it to include a signature-chain in sysupgrade images using fwtool. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ucert: fix buildDaniel Golle2018-06-151-1/+7
| | | | | | | set PKG_BUILD_DIR before including package.mk to avoid problems as seen on buildbot. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ucert: add packageDaniel Golle2018-06-141-0/+60
ucert is a wrapper around usign to allow delegation and revocation of public keys for future use in sysupgrade. Signed-off-by: Daniel Golle <daniel@makrotopia.org> This work was sponsored by WIO (wiowireless.com)