22 Commits

Author SHA1 Message Date
Ankur Tyagi 0ef03e2f75 libjcat: upgrade 0.2.3 -> 0.2.6
Update packageconfig option to use "gnutls" prefix[1]
Also include tag in the SRC_URI

[1]https://github.com/hughsie/libjcat/commit/d873545c23064620eb884b7e67ff1cda94b891fa

PTEST passed:

root@qemuarm64:~# ptest-runner libjcat
START: ptest-runner
2026-05-21T21:45
BEGIN: /usr/lib/libjcat/ptest
Running test: libjcat/libjcat.test
...
...
# End of jcat tests
PASS: libjcat/libjcat.test
SUMMARY: total=1; passed=1; skipped=0; failed=0; user=5.1s; system=0.1s; maxrss=9688
DURATION: 6
END: /usr/lib/libjcat/ptest
2026-05-21T21:45
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-05-21 17:20:21 -07:00
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Wang Mingyu def4309280 libjcat: upgrade 0.2.2 -> 0.2.3
Bugfixes:
==========
 - Do not close the base stream when using jcat_file_import_stream()
 - Skip ed25519 part of a test with -Ded25519=false

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-10 08:45:36 -08:00
Wang Mingyu 97dcc71885 libjcat: upgrade 0.2.1 -> 0.2.2
Changelog:
 - Add bt-logindex blob kind

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 22:45:17 -08:00
Mikko Rapeli e02e220634 libjcat: skip buildpaths check
Test binary has embedded build time paths. Ignore
for now.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-26 09:51:39 -07:00
Wang Mingyu 364841f4eb libjcat: upgrade 0.2.0 -> 0.2.1
Changelog:
============
 - Do not dedupe sig and sig-of-checksum when loading
 - Fix the installed tests
 - Show the sig-of-checksum results clearer on the CLI

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-09 09:52:08 -08:00
Wang Mingyu 557ab12591 libjcat: upgrade 0.1.14 -> 0.2.0
Changelog
========
- Add support for verifying firmware transparency checkpoints
- Add various bitcounting functions for future use
- Allow creating and validating SHA512 checksums
- Allow verifying the checksum of a payload
- Sprinkle __attribute__((nonnull)) to give a little more compile-time safety

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-08 19:54:42 -08:00
Wang Mingyu d0ee155ce0 libjcat: upgrade 0.1.13 -> 0.1.14
Bugfixes:
 - Fix header includes
 - Fix prefix of LIBJCAT_CHECK_VERSION
 - Use project_source_root to fix building as a subproject

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-14 09:41:35 -07:00
Wang Mingyu eec1496166 libjcat: upgrade 0.1.12 -> 0.1.13
New Features:
 - Add support for SHA512 checksums
 - Add the ability to add and remove support for blob types (#72)

Bugfixes:
 - Fix header includes for clang-tidy
 - Show the expected SHA checksum in the error

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-09 09:10:52 -08:00
wangmy 414fa782be libjcat: upgrade 0.1.11 -> 0.1.12
Changelog:
==========
Bugfixes:
 - Correctly export the AliasIds in all cases
 - Install installed-test firmware.bin.ed25519
 - Predate test cert activation date by 1 day

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-20 18:55:26 -07:00
Wang Mingyu 82fa05b36a libjcat: upgrade 0.1.10 -> 0.1.11
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-29 08:28:38 -07:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Wang Mingyu da18587531 libjcat: upgrade 0.1.9 -> 0.1.10
Changelog:
=========
New Features:
- Add ED25519 support
- Define three more types used for the firmware transparency log

Bugfixes:
- Include the pkgconfig variables in the subproject dependency
- Drop the use of setuptools in the test script for regenerating ld version file
- Use the correct lookup method for the python3 script interpreter

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-22 08:30:51 -08:00
Richard Hughes 1caa1988af libjcat: Update to 0.1.9
New Features:
 - Set which backends are supported in the pkgconfig file
 - Use -Dcli=false to reduce the install size

Bugfixes:
 - Return an error if we try to self-sign no bytes of data
 - Show a more accurate output when not all engines are enabled

Also, inherit lib_package so the binary isn't installed by default.

Signed-off-by: Richard Hughes <richard@hughsie.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-14 08:13:53 -08:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
zhengruoqin a24f558954 libjcat: upgrade 0.1.7 -> 0.1.8
Version 0.1.8
~~~~~~~~~~~~~
Released: 2021-05-24

Bugfixes:
 - Fix a warning when used in a subproject (Richard Hughes)
 - Fix compilation on FreeBSD (Richard Hughes)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-09 09:34:13 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
zhengruoqin 357f1992e3 libjcat: upgrade 0.1.6 -> 0.1.7
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-14 07:26:46 -07:00
zhengruoqin fe6187fed9 libjcat: upgrade 0.1.4 -> 0.1.6
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-21 23:44:22 -08:00
zangrc 93a6667e28 libjcat: upgrade 0.1.3 -> 0.1.4
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-27 11:54:04 -08:00
Oleksandr Kravchuk 65ff7b49f1 libjcat: update to 0.1.3
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-28 12:23:16 -07:00
Alex Kiernan 2964b564f5 libjcat: Add recipe
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-13 21:34:21 -07:00