Skip to content

p11-glue/p11-kit

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

The build fails when compiling for 32-bit platforms with
-Werror=incompatible-pointer-types:

  CFLAGS="-m32 -march=i686 -Werror=incompatible-pointer-types -Werror=implicit -Werror=int-conversion" setarch i686 -- meson setup _build
  setarch i686 -- meson compile -C _build -v
  ...

  ../p11-kit/import-object.c: In function ‘add_attrs_pubkey_rsa’:
  ../p11-kit/import-object.c:223:62: error: passing argument 3 of ‘p11_asn1_read’ from incompatible pointer type [-Werror=incompatible-pointer-types]
    223 |         attr_modulus.pValue = p11_asn1_read (asn, "modulus", &attr_modulus.ulValueLen);
        |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~
        |                                                              |
        |                                                              long unsigned int *

Reported by Sam James in:
#608

Signed-off-by: Daiki Ueno <ueno@gnu.org>
d49c92c

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
October 5, 2023 12:58
November 17, 2023 00:20
November 15, 2023 13:36
November 15, 2023 13:36
November 15, 2023 13:36

p11-kit

GitHub Build Status Coverage Status CII Best Practices

p11-kit aims to solve problems with coordinating the use of PKCS #11 by different components or libraries living in the same process, by providing a way to load and enumerate PKCS #11 modules, as well as a standard configuration setup for installing PKCS #11 modules in such a way that they're discoverable.

Documentation

Building

To build and install p11-kit, you can use the following commands:

$ meson setup _build
$ meson compile -C _build
$ meson test -C _build
# meson install -C _build

If you install it locally for testing purposes, you may want to specify -Dsystemd=disabled -Dbash_completion=disabled at the invocation of meson _build, to avoid installing files to the system locations.

Releases

Releases are made available via the primary github site. They are signed with OpenPGP key of one of the maintainers: Daiki Ueno, Zoltan Fridrich.