# Generate automatically. Do not edit.

commit a8cce8bd8065bbf80bd47219f85f0cd9cf27dd0c
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-06-28

    Release 0.25.0
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 NEWS         | 22 ++++++++++++++++++++++
 configure.ac |  2 +-
 meson.build  |  2 +-
 3 files changed, 24 insertions(+), 2 deletions(-)

commit f992846c467f272c67dceb566bf13258a9bce054
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-06-28

    Suppress memory test warning
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 common/test-tests.c | 6 ++++++
 1 file changed, 6 insertions(+)

commit 74e7f8278c44d37a085d53b7ef09edff897212a3
Author: Daiki Ueno <ueno@gnu.org>
Date:   2023-04-09

    client: Support PKCS#11 3.0
    
    This exports C_GetInterfaceList and C_GetInterface from the client
    module.
    
    Signed-off-by: Daiki Ueno <ueno@gnu.org>

 p11-kit/client.c | 192 +++++++++++++++++++++++++++++++++++++++++++++----------
 1 file changed, 160 insertions(+), 32 deletions(-)

commit 8d9049b284690cae18c029ee7f7dbc3c3f3b2fe6
Author: Daiki Ueno <ueno@gnu.org>
Date:   2023-04-09

    proxy: Refactor get_interface_inlock
    
    This adds a minor refactoring to get_interface_inlock:
    - CK_RV for the return value instead of int
    - Use "goto cleanup" instead of a chain of "if (rv == CKR_OK)"
    
    Signed-off-by: Daiki Ueno <ueno@gnu.org>

 p11-kit/proxy.c | 101 +++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 59 insertions(+), 42 deletions(-)

commit ccbe143d523fdbdabe4b163df0ca0a75ef9f3b72
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-06-22

    Handle both XSI and GNU versions of strerror_r
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 common/compat.c  | 61 ++++++++++++++++++++++++++++----------------------------
 common/compat.h  | 12 ++++-------
 common/debug.c   |  2 +-
 common/message.c |  2 +-
 configure.ac     | 20 ++++++++++++++++++-
 meson.build      | 20 ++++++++++++++++++-
 6 files changed, 74 insertions(+), 43 deletions(-)

commit 5b7977a37442782e09a7d51adb7f8b0eb8c80ec3
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-06-26

    Fix memory leak inside p11_kit_remote_serve_tokens
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 p11-kit/rpc-server.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

commit ff485b883c753651eb34a7811e2c26ba308733cf
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-06-27

    Allow overwriting files in CI Macos testcase
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 .github/workflows/test.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 4d93a4363fdb2f54a84b5405a924b1e2726f07ca
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-06-27

    Suppress ASAN error when running p11tool in test-server.sh
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 p11-kit/test-server.sh | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

commit 7dbc2687364805ee6c2478fa69ecdfeb89648d61
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-06-20

    Remove travis configuration
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 .travis.yml                         | 35 -----------------------------
 .travis/autotools/after_failure.sh  |  3 ---
 .travis/autotools/after_success.sh  | 13 -----------
 .travis/autotools/before_install.sh |  9 --------
 .travis/autotools/install.sh        | 14 ------------
 .travis/autotools/script.sh         | 44 -------------------------------------
 .travis/cppcheck/after_failure.sh   |  3 ---
 .travis/cppcheck/before_install.sh  |  9 --------
 .travis/cppcheck/install.sh         | 14 ------------
 .travis/cppcheck/script.sh          |  3 ---
 .travis/freebsd/after_failure.sh    |  3 ---
 .travis/freebsd/before_install.sh   |  5 -----
 .travis/freebsd/script.sh           |  6 -----
 .travis/linux/after_failure.sh      |  3 ---
 .travis/linux/after_success.sh      | 11 ----------
 .travis/linux/before_install.sh     | 11 ----------
 .travis/linux/install.sh            | 14 ------------
 .travis/linux/script.sh             | 25 ---------------------
 .travis/osx/after_failure.sh        |  3 ---
 .travis/osx/before_install.sh       |  5 -----
 .travis/osx/script.sh               |  6 -----
 21 files changed, 239 deletions(-)

commit 8fbd5da6da944a2f2f7d5c08e7625c3c35dfbfe8
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-06-20

    Install gnutls-utils in CI
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 ci/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a4cfb7be53e2dec082693609aecb48fe0af8bb20
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-06-20

    Add test for p11-kit-client.so
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 p11-kit/test-server.sh | 34 +++++++++++++++++++++++++++-------
 1 file changed, 27 insertions(+), 7 deletions(-)

commit d7c318845405fa7ea33154082b437e4a87ee3699
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-06-16

    Fix bug in base_C_MessageSignFinal
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 p11-kit/virtual.c | 2 ++
 1 file changed, 2 insertions(+)

commit cb531a61afc0e3c0f2174fa1bf026e993c76ea89
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-06-09

    Make the proxy_module extension in pkg-config .pc file adaptable
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 configure.ac            | 3 +++
 p11-kit/meson.build     | 2 +-
 p11-kit/p11-kit-1.pc.in | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

commit 51ea28418c0bf2a11e2a6f226b77d17b2ba25573
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-06-08

    Tests: add space padding to label in InitToken
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 common/mock.c         | 2 +-
 p11-kit/test-filter.c | 8 ++++----
 p11-kit/test-mock.c   | 8 ++++----
 3 files changed, 9 insertions(+), 9 deletions(-)

commit b1eebfd6aa63fb98f362bd94b9d07dcefb2b3104
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-06-08

    log_C_InitToken: add support to print space padded strings
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 p11-kit/log.c | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

commit b2dd8d5c73dab8e0f074b32d7bb393817964fb1d
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-06-01

    RPC: add C_InitToken2 that uses space padded label
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 configure.ac          |  2 +-
 meson_options.txt     |  2 +-
 p11-kit/rpc-client.c  | 47 +++++++++++++++++++++++++++++++++++------
 p11-kit/rpc-message.h |  4 ++++
 p11-kit/rpc-server.c  | 58 +++++++++++++++++++++++++++++++++++++++++++++++++--
 5 files changed, 103 insertions(+), 10 deletions(-)

commit 84869381c80ecb258ffdabf214faac71eb584577
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-06-01

    Fix hard-coded TRUST_SO path in trust/frob-multi-init.c
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 trust/frob-multi-init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 98a114703e665520bb439919faaac4cdb0b39d03
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-06-01

    Set stdin and stdout to binary mode on Windows
    
    Co-authored-by: bhuztez <bhuztez@gmail.com>
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 p11-kit/remote.c | 6 ++++++
 1 file changed, 6 insertions(+)

commit 1d248b48648aca649fb33c877fa0623b75ce459f
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-06-01

    Small format fix in p11-kit/modules.c
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 p11-kit/modules.c | 31 ++++++++++---------------------
 1 file changed, 10 insertions(+), 21 deletions(-)

commit 71dcd6735c4154ca9dfb18c52405e5f611276e0e
Author: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
Date:   2022-11-07

    Add in the ability to dynamically adjust module and configuration paths at run-time via system environmental exports
    
    Background: While trying to integrate PKCS11+HSM into a build system (Yocto Project), we wanted the build system to be able to use the HSM directly.  However, The Yocto Project creates a sandboxed environment for each package which uses p11-kit during compilation.  This means that the p11-kit modules and configurations cannot be found from within these sandboxed directories, as their paths are non-determinable at compile time.  OpenSSL appears to use OPENSSL_CONF for this sort of dynamic configuration, so I've followed their lead and incorporated a similar p11_kit_getenv() method.

 configure.ac      |  9 +++++++++
 meson.build       |  5 +++++
 meson_options.txt |  4 ++++
 p11-kit/modules.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++--
 4 files changed, 64 insertions(+), 2 deletions(-)

commit 8a305a06a2fee8ab4f04c97ed56031d196b45e35
Author: Daiki Ueno <dueno@redhat.com>
Date:   2023-05-31

    print: New interface p11_list_printer
    
    This introduces a new type p11_list_printer, which abstracts a
    pretty-printer for nested key value pairs.  It maintains the context
    of the current printing operation, including indentation and header
    colors, so we don't need to spell out the actual presentation
    in the call sites.
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 common/print.c  | 109 ++++++++++++++++++++++++++++++++++++++++++++++++--------
 common/print.h  |  47 +++++++++++++++---------
 p11-kit/lists.c |  53 ++++++++++++++++-----------
 trust/list.c    |  19 +++++-----
 4 files changed, 170 insertions(+), 58 deletions(-)

commit 1b14bfa49c1da1f6c6037e6c60f92a76d92a2464
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-05-24

    Add colors to p11-kit command-line tools
    
    - adds URL highlighting to trust list command
    - adds colors to trust list command
    - adds colors to p11-kit list-modules command
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 common/Makefile.am   |   1 +
 common/meson.build   |   1 +
 common/print.c       | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++
 common/print.h       |  77 ++++++++++++++++++++++++++++++++++++
 p11-kit/lists.c      |  41 +++++++++----------
 trust/check-format.c |  16 +++-----
 trust/list.c         |  18 +++++----
 7 files changed, 222 insertions(+), 41 deletions(-)

commit 2fbe188c53737715fbda9d0e595141b67338cc24
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-05-07

    Add command to add profiles to a token
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 bash-completion/p11-kit |   2 +-
 doc/manual/p11-kit.xml  |  16 +++
 p11-kit/Makefile.am     |   2 +
 p11-kit/add-profile.c   | 259 ++++++++++++++++++++++++++++++++++++++++++++++++
 p11-kit/meson.build     |   1 +
 p11-kit/p11-kit.c       |   4 +
 po/POTFILES.in          |   1 +
 7 files changed, 284 insertions(+), 1 deletion(-)

commit 6be43acfeb4a1dffdbb134e1a1c869437c4189d5
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-05-23

    Fix profile argument parsing in delete-profile
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 p11-kit/delete-profile.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

commit 51399b7e80223a9f3921d713fd1c6626f34adbbc
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-05-23

    Test p11_constant_profiles
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 common/test-constants.c | 1 +
 1 file changed, 1 insertion(+)

commit 6f6c04d6607d4cd5dd0eb0677a36a55ff6131b4e
Author: Daiki Ueno <ueno@gnu.org>
Date:   2023-05-07

    libffi: Fix handling of pulCount parameter of C_GetInterfaceList
    
    When C_GetInterfaceList is called with NULL pInterfaceList, It doesn't
    make any sense to check the content of pulCount.
    
    Signed-off-by: Daiki Ueno <ueno@gnu.org>

 p11-kit/virtual.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

commit e5a62d894647a21a9a93fc82c2daa64f5b22e4a4
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-05-04

    Add command to delete profiles from a token
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 bash-completion/p11-kit  |   2 +-
 doc/manual/p11-kit.xml   |  17 ++++
 p11-kit/Makefile.am      |   2 +
 p11-kit/delete-profile.c | 211 +++++++++++++++++++++++++++++++++++++++++++++++
 p11-kit/meson.build      |   1 +
 p11-kit/p11-kit.c        |   4 +
 po/POTFILES.in           |   1 +
 7 files changed, 237 insertions(+), 1 deletion(-)

commit 60a917f2192bcbdac7786a9db1845ec579e71df0
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-04-27

    Test the p11-kit list-profiles command
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 .gitignore                                     |  1 +
 p11-kit/Makefile.am                            | 31 ++++++++++++-
 p11-kit/fixtures/package-modules/eleven.module |  4 ++
 p11-kit/meson.build                            | 15 +++++-
 p11-kit/mock-module-ep9.c                      | 63 ++++++++++++++++++++++++++
 p11-kit/test-profiles.sh                       | 30 ++++++++++++
 6 files changed, 141 insertions(+), 3 deletions(-)

commit 038b4d8a529863cd48e579b96e4f8a9de1113521
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-04-26

    Add command to list token profiles
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 bash-completion/p11-kit |   2 +-
 common/constants.c      |  10 +++
 common/constants.h      |   2 +
 doc/manual/p11-kit.xml  |  17 +++++
 p11-kit/Makefile.am     |   1 +
 p11-kit/list-profiles.c | 176 ++++++++++++++++++++++++++++++++++++++++++++++++
 p11-kit/meson.build     |   1 +
 p11-kit/p11-kit.c       |   4 ++
 po/POTFILES.in          |   1 +
 9 files changed, 213 insertions(+), 1 deletion(-)

commit 3f2c94f872fea556c1f33904d818bfa87acaa61b
Author: Daiki Ueno <ueno@gnu.org>
Date:   2023-04-30

    meson: Add missing libintl check
    
    On certain non-glibc systems, gettext functions are defined in a
    separate library (libintl, typically from GNU gettext).  Our autotools
    infrastructure has this check, though it was omitted during the
    porting to Meson.
    
    Signed-off-by: Daiki Ueno <ueno@gnu.org>

 common/meson.build  | 4 ++--
 meson.build         | 7 +++++++
 p11-kit/meson.build | 4 ++--
 trust/meson.build   | 2 +-
 4 files changed, 12 insertions(+), 5 deletions(-)

commit e2bf7767075c83d948f9585cff4f2fe70d195e30
Author: Daiki Ueno <ueno@gnu.org>
Date:   2023-04-30

    .github/workflows: Use meson for macOS build
    
    Signed-off-by: Daiki Ueno <ueno@gnu.org>

 .github/workflows/test.yaml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 2eb8bb85e2b1cc50064b0a388df3108805b3f424
Author: Daiki Ueno <ueno@gnu.org>
Date:   2023-04-29

    .github/actions: Use wrapper script for build environment setup
    
    Signed-off-by: Daiki Ueno <ueno@gnu.org>

 .github/actions/basic-autotools/action.yaml | 42 +++++------------------------
 .github/actions/basic-meson/action.yaml     | 32 +++++++++-------------
 .github/workflows/test.yaml                 |  3 +++
 build/run-wrapper.sh                        | 17 ++++++++++++
 build/setup-wrapper.sh                      | 23 ++++++++++++++++
 5 files changed, 62 insertions(+), 55 deletions(-)

commit 9474b469311683188e80d3f05ddcb00d413f4283
Author: Clemens Lang <cllang@redhat.com>
Date:   2023-04-17

    conf: Remove unused variable
    
    This fixes a warning printed by clang on macOS:
    
    | ../p11-kit/conf.c:411:6: warning: variable 'count' set but not used [-Wunused-but-set-variable]
    |         int count = 0;
    |             ^
    
    Signed-off-by: Clemens Lang <cllang@redhat.com>

 p11-kit/conf.c | 2 --
 1 file changed, 2 deletions(-)

commit 8a4348e8468d08d992cb7d22a4d887d0191383f6
Author: Clemens Lang <cllang@redhat.com>
Date:   2023-04-17

    build: Use .so as module suffix on macOS
    
    macOS uses .so as filename extension for loadable modules. For some
    reason, meson does not use this by default, but uses .dylib. This
    inconsistency between the autoconf build system (which uses .so) and the
    meson build system caused the tests to fail, because the mock modules
    would not be found by the tests.
    
    This is a bug in meson, as loadable modules (filetype BUNDLE in otool
    -hv output) should have an .so extension on macOS. See [1,2] for
    discussion in meson.
    
    Port the same fix that was used by the GNOME developers in gtk [3,4] and
    glib-networking [5]. See also a similar fix in glib [6].
    
    [1]: https://github.com/mesonbuild/meson/issues/1160
    [2]: https://github.com/mesonbuild/meson/issues/3053
    [3]: https://gitlab.gnome.org/GNOME/gtk/-/issues/3645
    [4]: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3162
    [5]: https://gitlab.gnome.org/GNOME/glib-networking/-/merge_requests/1
    [6]: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/280
    
    Signed-off-by: Clemens Lang <cllang@redhat.com>

 p11-kit/meson.build | 10 ++++++++++
 1 file changed, 10 insertions(+)

commit 2bea671227e8ca1f643871ed5c986cadcd01f7b7
Author: Clemens Lang <cllang@redhat.com>
Date:   2023-04-17

    build: Fix linker errors on macOS
    
    This fixes a few linker errors on macOS due to an undefined
    p11_library_mutex symbol:
    
    | cc  -o p11-kit/p11-kit-server-testable p11-kit/p11-kit-server-testable.p/server.c.o -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -Wl,-rpath,/opt/local/lib p11-kit/libp11-kit-testable.a common/libp11-library.a common/libp11-common.a common/libp11-tool.a /opt/local/lib/libffi.dylib
    | Undefined symbols for architecture x86_64:
    |   "_p11_library_mutex", referenced from:
    |       _p11_kit_be_quiet in libp11-kit-testable.a(util.c.o)
    |       _p11_kit_be_loud in libp11-kit-testable.a(util.c.o)
    |       _p11_kit_set_progname in libp11-kit-testable.a(util.c.o)
    | ld: symbol(s) not found for architecture x86_64
    
    Fix these by using meson's link_whole feature where required. Note that
    instead of declaring a sepearate dependency with link_whole, we could
    have used .as_link_whole() on the existing dependency object, but that
    would have required bumping the minimum meson version to 0.56. We
    decided not to do this for not for compatibility reasons.
    
    Signed-off-by: Clemens Lang <cllang@redhat.com>

 common/meson.build  |  3 +++
 p11-kit/meson.build | 21 ++++++++++++++++++---
 trust/meson.build   | 24 ++++++++++++++++++++++--
 3 files changed, 43 insertions(+), 5 deletions(-)

commit 8c19b2a37569faea62890bd893969b6ae352be7d
Author: Daiki Ueno <dueno@redhat.com>
Date:   2023-04-13

    .github/workflows/test.yaml: Exercise libffi closure usage
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 .github/workflows/test.yaml | 11 +++++++++++
 1 file changed, 11 insertions(+)

commit f892ff6845a1150035f6c432c9b3b9f72c1ff663
Author: Daiki Ueno <dueno@redhat.com>
Date:   2023-04-13

    virtual: Fix libffi type signatures for PKCS#11 3.0 functions
    
    There were some mismatches between the type signatures of `binding_*`
    functions and the `BindingInfo` definitions, causing test failures
    when compiled without fixed closures.
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 p11-kit/virtual.c | 45 +++++++++++++++++++++++++--------------------
 1 file changed, 25 insertions(+), 20 deletions(-)

commit 2037e70b0a728f4b142906507877b5789368bc7f
Author: Daiki Ueno <dueno@redhat.com>
Date:   2023-04-13

    build: Allow disabling fixed closures
    
    This allows the user to disable pre-generated closures, by setting the
    number of closures to 0 (i.e., `-Dclosures=0` with Meson or
    `--with-closures=0` with Autotools).
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 configure.ac        | 4 ++--
 meson.build         | 4 ++--
 p11-kit/meson.build | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

commit 36709702edf92f9baa9c043f55b2566f8ca2dd01
Author: Daiki Ueno <dueno@redhat.com>
Date:   2023-04-12

    tests: Fix mingw test failures
    
    This updates the module configuration files in the Windows fixture
    directory with Unix version.
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 p11-kit/Makefile.am                                |  1 +
 .../fixtures/package-modules/win32/four-v3.module  |  5 +++++
 p11-kit/fixtures/package-modules/win32/four.module |  5 +++--
 p11-kit/fixtures/package-modules/win32/six.module  |  7 +++++++
 .../fixtures/system-modules/two-duplicate.module   |  2 +-
 p11-kit/fixtures/system-modules/win32/one.module   |  1 -
 .../system-modules/win32/two-duplicate.module      |  2 +-
 p11-kit/fixtures/user-modules/win32/one.module     |  4 +++-
 p11-kit/test-conf.c                                | 22 +++++++++++-----------
 9 files changed, 32 insertions(+), 17 deletions(-)

commit bffe7c2a1531973f649c045b6614b5f76c9259fb
Author: Daiki Ueno <dueno@redhat.com>
Date:   2023-04-12

    .github/actions/basic-meson: Skip test when built with scan-build
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 .github/actions/basic-meson/action.yaml | 1 +
 1 file changed, 1 insertion(+)

commit 563dcd1462a06a8604bd967058fe4b9bd994cf59
Author: Daiki Ueno <dueno@redhat.com>
Date:   2023-04-12

    .github/workflows/test.yaml: Fix typo in WINEPATH
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 .github/workflows/test.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 81ace6551b10f8a00e0e0a48b58109f117de0dba
Author: Daiki Ueno <dueno@redhat.com>
Date:   2023-04-11

    .github/actions: Don't swallow error exit code when printing logs
    
    This preserves the exit code of the test run, around the log file
    inspection.
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 .github/actions/basic-autotools/action.yaml | 5 +++++
 .github/actions/basic-meson/action.yaml     | 7 ++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)

commit 49c1ec46a78e6d7661415e80c182c15a0c8335a6
Author: Daiki Ueno <dueno@redhat.com>
Date:   2023-04-12

    build: Pacify clang-analyzer warnings
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 common/test-compat.c | 6 ++++--
 common/test-tests.c  | 9 ++++++++-
 p11-kit/proxy.c      | 2 +-
 p11-kit/test-conf.c  | 6 ++++--
 p11-kit/test-proxy.c | 1 +
 trust/digest.c       | 4 ++++
 trust/index.c        | 3 +++
 trust/module.c       | 4 +++-
 trust/test-jks.c     | 2 ++
 9 files changed, 30 insertions(+), 7 deletions(-)

commit ce32cfdb140275ddc189ee27da426603b89c5485
Author: Daiki Ueno <dueno@redhat.com>
Date:   2023-04-12

    mock: Fix cancel operation with NULL mechanism to C_Message*Init
    
    Previously, when the mechanism parameter was NULL and the
    corresponding operation was not active, the code didn't return
    immediately and went on with the regular operation, which in turn
    resulted in a NULL pointer dereference.  Spotted by clang-analyzer.
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 common/mock.c       | 74 +++++++++++++++++++++++++++++++----------------------
 common/pkcs11.h     |  1 +
 p11-kit/test-mock.c |  4 +--
 3 files changed, 46 insertions(+), 33 deletions(-)

commit 4af2309c265c81d0aee4f20ea9f4f47fd1e175a6
Author: Daiki Ueno <dueno@redhat.com>
Date:   2023-04-12

    virtual: Add missing return to binding_C_GetInterface*
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 p11-kit/virtual.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit cbfa5c8c5ac482aab8305fdc76de5d5a0b9969bc
Author: Daiki Ueno <dueno@redhat.com>
Date:   2023-04-12

    tests: Fix memleaks and use reallocarray if possible
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 p11-kit/test-mock.c    | 2 ++
 p11-kit/test-proxy3.c  | 3 ++-
 p11-kit/test-virtual.c | 3 ++-
 3 files changed, 6 insertions(+), 2 deletions(-)

commit b7b4a96ba23670e6e6b910aef0c1cbd9c26accdb
Author: Daiki Ueno <dueno@redhat.com>
Date:   2023-04-12

    tests: Skip tests using setuid'ed executable under ASan
    
    The test-compat and test-conf tests call out external executables with
    a setuid bit set, which doesn't work well under ASan.
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 common/test-compat.c | 12 ++++++++++++
 p11-kit/test-conf.c  | 12 ++++++++++++
 2 files changed, 24 insertions(+)

commit bcd02f71b536effd9116efe2bfe971e6cfb24c35
Author: Daiki Ueno <dueno@redhat.com>
Date:   2023-04-12

    trust: Fix memleak in the enumerate command when loading extensions
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 trust/enumerate.c | 1 +
 1 file changed, 1 insertion(+)

commit 707cc0325232c574ca1d9ed2eeec0f5e01fc5549
Author: Daiki Ueno <ueno@gnu.org>
Date:   2022-10-12

    pkcs11.h: Add ChaCha20/Salsa20 and Poly1305 mechanisms
    
    Signed-off-by: Daiki Ueno <ueno@gnu.org>

 common/pkcs11.h | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

commit 0668d65951407808c349fd9ded9e21a079459068
Author: Daiki Ueno <ueno@gnu.org>
Date:   2023-04-09

    trust: Lower Cryptoki version from 3.0 to 2.40
    
    The trust module currently stays at Cryptoki version 2.40, while 3.0
    was advertised through the version field in CK_FUNCTION_LIST and
    C_GetInfo.
    
    Signed-off-by: Daiki Ueno <ueno@gnu.org>

 trust/module.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 161444f36b81425501747e5533026e21b5834001
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-04-11

    Add bash-completion for check-format command
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 bash-completion/trust | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3680147da31e44900f578b49179bef9ddbf4537e
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-04-11

    Add bash-completion for print-config command
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 bash-completion/p11-kit | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 29c5a123038ff91ed1584de79741b35ed34f659a
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-04-11

    Add documentation for print-config command
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 doc/manual/p11-kit.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

commit eb6eeb68da6a48295cd4f68044e83d7111250eec
Author: Daiki Ueno <dueno@redhat.com>
Date:   2023-04-06

    compat: Provide stub isatty if it does not exist
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 common/compat.c      | 10 ++++++++++
 common/compat.h      | 10 ++++++++++
 configure.ac         |  1 +
 meson.build          |  1 +
 trust/check-format.c |  1 -
 5 files changed, 22 insertions(+), 1 deletion(-)

commit d86d022f805165b464d5809019ed4d4a24732c93
Author: Daiki Ueno <dueno@redhat.com>
Date:   2023-04-06

    lexer: Keep track of line numbers
    
    This adds the new field "line" to p11_lexer so any errors are printed
    with the line numbers where they happen.  Also make the header to use
    appropriate types for sizes and token types.
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 common/lexer.c  | 19 +++++++++++++++----
 common/lexer.h  | 15 ++++++++-------
 trust/persist.c |  4 ++++
 3 files changed, 27 insertions(+), 11 deletions(-)

commit 1da4600354f0c375cc8352b3ef01f1ad81ee71a0
Author: Daiki Ueno <dueno@redhat.com>
Date:   2023-04-06

    trust: Use the same parser code for parsing and checking
    
    The trust check-format command used a dedicated parsing code for the
    .p11-kit format, which behaves differently from the original parsing
    code: sometimes it is stricter (e.g., PEM block), while other times it
    is not (e.g., constant names and OIDs). This makes it use the same
    single parser to align with the original behavior.
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 trust/check-format.c | 386 +++++----------------------------------------------
 trust/persist.c      |  57 ++++++++
 trust/persist.h      |   7 +
 3 files changed, 95 insertions(+), 355 deletions(-)

commit 52f91915a7ec3cacb7921a6f66dfbe304a7f2404
Author: Daiki Ueno <ueno@gnu.org>
Date:   2023-04-02

    rpc: Do not use CRYPTOKI_GNU symbols in our code base
    
    These are only defined if CRYPTOKI_GNU is set by the applications.
    
    Signed-off-by: Daiki Ueno <ueno@gnu.org>

 p11-kit/rpc-message.c | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

commit 1b58663a2b35f16d3856a370cb4e3cd61f15e1c1
Author: Daiki Ueno <ueno@gnu.org>
Date:   2023-04-02

    Add AES-GCM mechanism parameters for message-based encryption
    
    When used with C_MessageEncrypt and C_MessageDecrypt, CKM_AES_GCM
    takes different parameters than CK_GCM_PARAMS.
    
    Signed-off-by: Daiki Ueno <ueno@gnu.org>

 common/pkcs11.h | 48 ++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 44 insertions(+), 4 deletions(-)

commit 3b0a772e8b99f5c52417c3e31ed0db5dd092ec22
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-03-15

    Add check-format command to trust tool
    
    The trust check-format command serves to quickly check the validity of .p11-kit files
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 doc/manual/trust.xml |  24 +++
 po/POTFILES.in       |   1 +
 trust/Makefile.am    |   1 +
 trust/check-format.c | 512 +++++++++++++++++++++++++++++++++++++++++++++++++++
 trust/check-format.h |  43 +++++
 trust/meson.build    |   1 +
 trust/trust.c        |   2 +
 7 files changed, 584 insertions(+)

commit 439c2e84899f7ab4d852ea409b6a39f313b94b0c
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-03-29

    Add test for profile objects
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 p11-kit/test-iter.c | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)

commit d574df11e2127b38f4527b548974f6ba25918d2c
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-03-29

    Add support for profile objects in mock
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 common/mock.c   | 23 +++++++++++++++++++++++
 common/mock.h   |  2 ++
 common/pkcs11.h | 13 ++++++++++++-
 3 files changed, 37 insertions(+), 1 deletion(-)

commit 8b98b0d524c633ba85f9ddcd4c2291c7050f9187
Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date:   2023-03-29

    server: Fix umask setting when --group is specified
    
    p11-kit server previously set umask(066) unconditionally before chown
    and that resulted in removing group read/write bits, even if --group
    is specified.  This fixes the logic to respect --group and also allows
    it to be specified without --user.
    
    Originally reported in:
    https://lists.freedesktop.org/archives/p11-glue/2023-January/000725.html
    
    Signed-off-by: Daiki Ueno <dueno@redhat.com>

 p11-kit/server.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

commit 66e8c9edcf57f84e27d302e127a59dfaa662fad5
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-03-21

    Add pkcs#11 3.0 tests to transport tests
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 p11-kit/Makefile.am           |   6 +
 p11-kit/meson.build           |   3 +-
 p11-kit/test-transport-base.c | 449 ++++++++++++++++++++++++++++++++++++++++++
 p11-kit/test-transport.c      | 419 +--------------------------------------
 p11-kit/test-transport3.c     |  45 +++++
 5 files changed, 507 insertions(+), 415 deletions(-)

commit 7470b5616130fccfe18271e7b48c7829ad1012d7
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-03-22

    Separate low-level message handling tests from test-rpc
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 p11-kit/Makefile.am        |   4 +
 p11-kit/meson.build        |   1 +
 p11-kit/test-rpc-message.c | 855 +++++++++++++++++++++++++++++++++++++++++++++
 p11-kit/test-rpc.c         | 656 ----------------------------------
 4 files changed, 860 insertions(+), 656 deletions(-)

commit 6fd1eca04dda7bc147d24eeb033b44edd508bacd
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-03-21

    Add pkcs#11 3.0 tests for rpc module
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 p11-kit/fixtures/package-modules/four-v3.module |   2 +-
 p11-kit/fixtures/package-modules/four.module    |   2 +-
 p11-kit/test-rpc.c                              | 133 ++++++++++++++----------
 3 files changed, 79 insertions(+), 58 deletions(-)

commit 577f04fcf0c52b06546aad440ff5c85f76ce6493
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-03-21

    Add pkcs#11 3.0 tests for log module
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 p11-kit/Makefile.am                             |   4 +
 p11-kit/fixtures/package-modules/four-v3.module |   2 +-
 p11-kit/fixtures/package-modules/four.module    |   2 +-
 p11-kit/meson.build                             |   1 +
 p11-kit/test-log3.c                             | 115 ++++++++++++++++++++++++
 5 files changed, 122 insertions(+), 2 deletions(-)

commit 993d66a4c05db11cab5e6e155953d453825f1143
Author: Zoltan Fridrich <zfridric@redhat.com>
Date:   2023-03-22

    Make version parameter of test_mock_add_tests const
    
    Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>

 p11-kit/test-mock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 47f2df8614ec5b036b9def78110f810081957c20
Author: Daiki Ueno <ueno@gnu.org>
Date:   2023-03-18

    tests: Make test-managed succeed without libffi
    
    The test_max_session_load test was assuming that the closure
