Commit Graph

22 Commits

Author SHA1 Message Date
Denis OSTERLAND-HEIM
0d88de194a
libp11: version bump 0.4.13 -> 0.4.16
This version comes with a pkcs11 provider called 'pkcs11prov'.
Configure modules directory for native build for the provider.
Install provider to target.

Signed-off-by: Denis OSTERLAND-HEIM <denis.osterland@diehl.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 10:46:23 -07:00
Denis OSTERLAND-HEIM
1255e4d731
libp11-native: fix engine install
openssl-native is compiled with a engine path /not/builtin
and the config file provides the actual path.
The configure script looks up this not working path.
To make it work, provide the runtime path via configure argument.

Signed-off-by: Denis OSTERLAND-HEIM <denis.osterland@diehl.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-02 09:48:26 -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
fc532e0db1
libp11: update 0.4.12 -> 0.4.13
0001-detect-correct-openssl-3.x.patch
removed since it's included in 0.4.13

Changelog:
=========
- Increased maximum PIN length
- Fixed several memory leaks
- Don't include libp11.rc VERSIONINFO into pkcs11
- Reimplement CI with GitHub Actions
- Improved tests
- Added static ENGINE (libpkcas11.a) build
- Added a workaround broken foreign key handling in OpenSSL
  3.0.12-3.0.13, 3.1.4-3.1.5, 3.2.0-3.2.1
- Added a workaround for conflicting atexit() callbacks
- Always login with PIN If FORCE_LOGIN is specified in openssl config
- Added OAEP support to RSA_private_decrypt
- Added PKCS11_enumerate_*_ext functions
- Fixed non-null-terminated label padding
- Fixed several object management issues
- Deferred libp11 initialization until needed

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-19 09:41:28 -08:00
Sana Kazi
c3e4879c5c
libp11: Treat all openssl-3.x releases the same
OpenSSL's soversion will not change for any 3.x minor release.

https://www.openssl.org/policies/general/versioning-policy.html

Signed-off-by: Sana Kazi <sanakazi720@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-21 20:54:47 -07:00
wangmy
6f342fe241 libp11: upgrade 0.4.11 -> 0.4.12
Changelog:
==========
    Fixed using an explicitly provided PIN regardless of the secure login flag
    Fixed RSA_PKCS1_PADDING handling
    Fixed a crash on LLP64, including 64-bit Windows
    Fixed searching objects when both ID and label are specified
    Fixed the OAEP "source" parameter
    Fixed object searching by label
    Fixed thread safety in slot enumeration
    Fixed storing certificates on tokens
    Fixed several memory leaks
    Fixed OpenSSL 3.0 compatibility
    Fixed LibreSSL compatibility
    Major concurrency improvements and refactoring
    Added re-numeration of slots as an engine control command
    Added the PKCS11_update_slots() API function
    Added support for the SHA3 hash function
    Added a self-test for engine RSA operations

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-19 18:38:44 -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
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
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
zangrc
1aedc046e1 libp11: upgrade 0.4.10 -> 0.4.11
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-23 10:20:24 -07:00
Pierre-Jean Texier
ec1e92937f libp11: add UPSTREAM_CHECK_GITTAGREGEX
Fixes:

INFO: libp11                    0.4.10          11              None e1210903291b1de9eabcad26e740a4b2fbcca692

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-01 09:20:09 -07:00
Ricardo Salveti
b09d0bd4d7 libp11: revert version back to the 0.4.10 release
The latest upstream release is still 0.4.10 (2019-04-03), as
available at https://github.com/OpenSC/libp11/releases.

This reverts commit 4990f80ddb as it was
incorrect, since there is no 11 release, and SRCREV used was actually
from the 0.4.9 release.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-27 12:50:23 -08:00
Wang Mingyu
4990f80ddb libp11: upgrade 0.4.10 -> 11
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-15 08:05:07 -08:00
Jan Luebbe
8d90acd59d libp11: add support for native builds
This is needed as a dependency when using SoftHSM from the PKCS#11
OpenSSL engine for code singing.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-22 09:22:52 -08:00
Nicola Lunghi
e3875cdcf0 libp11: No need to delete *.la anymore
This is redundant in latest update

Signed-off-by: Nicola Lunghi <nick83ola@gmail.com><Paste>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-16 22:52:36 -07:00
Oleksandr Kravchuk
e9ffb7c6c0 libp11: update to 0.4.10
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-29 02:21:42 -07:00
Khem Raj
4f1a290b8b libp11: Fix build with openssl 1.1+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05 08:04:22 -07:00
Kai Kang
532401f4d3 libp11: 0.4.0 -> 0.4.7
Upgrade libp11 from 0.4.0 to 0.4.7.

* the parallel make issue has been fix in upstream, so remove
  restriction of parallel make
* update FILES

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-18 10:18:12 +02:00
Derek Straka
30ef6ad7d9 libp11: update to version 0.4.0
Signed-off-by: Derek Straka <derek@asterius.io>
2016-08-22 15:49:24 +02:00
Armin Kuster
890092578b libp11: fix fetch error.
ERROR: libp11-0.3.0-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://github.com/OpenSC/libp11.git;protocol=http'. Unable to fetch URL from any source.

removed "protocol=http:

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:46:44 +02:00
Li xin
9b2cb2ffe4 libp11: 0.2.8 -> 0.3.0
Upgrade libp11 from 0.2.8 to 0.3.0.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-06 13:25:53 +01:00
Qian Lei
1e9d3afe66 libp11: Add new recipe
libp11 is a library implementing a small layer on top of PKCS
make using PKCS

Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 12:55:40 +01:00