Package Details: opencryptoki 3.17.0-1

Git Clone URL: https://aur.archlinux.org/opencryptoki.git (read-only, click to copy)
Package Base: opencryptoki
Description: PKCS11 implementation for Linux
Upstream URL: https://github.com/opencryptoki/opencryptoki
Licenses: CPL
Submitter: mutantmonkey
Maintainer: mutantmonkey
Last Packager: mutantmonkey
Votes: 17
Popularity: 0.000000
First Submitted: 2015-08-17 05:50 (UTC)
Last Updated: 2022-01-15 03:21 (UTC)

Latest Comments

1 2 Next › Last »

mutantmonkey commented on 2022-01-15 03:22 (UTC) (edited on 2022-01-15 03:22 (UTC) by mutantmonkey)

Is there a reason that this package remains outdated for months?

Yes, the reason is that I missed the out-of-date notification email. The package is updated now; I apologize for the delay.

grawity commented on 2022-01-14 14:52 (UTC)

It would also be nice to mark this package as conflicting with the git version:

It's the job of alternate versions to mark themselves as conflicting with the main version. It's not reasonable to expect that the main version would list every possible alternate as conflict.

arch-dev commented on 2022-01-14 13:19 (UTC) (edited on 2022-01-14 13:22 (UTC) by arch-dev)

Is there a reason that this package remains outdated for months? Especially when the fix involves just two lines:

pkgver=3.17.0

sha256sums=('785596925738855b33b29bdff2399f613b892e7c6000d9ffbf79fe32c2aeaeee'

It would also be nice to mark this package as conflicting with the git version:

conflicts=('opencryptoki-git')

mikezila commented on 2020-06-04 03:26 (UTC)

I had a similar issue. Using the git version worked.

2b5b77428ea1e9ae commented on 2020-06-03 20:00 (UTC) (edited on 2020-06-03 20:00 (UTC) by 2b5b77428ea1e9ae)

Tests didn't build for me, I had to set --enable-testcases=no.

Error message:

libtool: link: gcc -I./usr/include -I./usr/lib/common -I./testcases/include -I./testcases/common -I./testcases/login -I./testcases/crypto -I./testcases/misc_tests -I./testcases/pkcs11 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fgnu-tm -DPKCS64 -D_XOPEN_SOURCE=600 -Wall -Wextra -DCONFIG_PATH=\"/var/lib/opencryptoki\" -DSBIN_PATH=\"/usr/bin\" -DLIB_PATH=\"/usr/lib\" -DLOCKDIR_PATH=\"/var/lock/opencryptoki\" -DOCK_CONFDIR=\"/etc/opencryptoki\" -DOCK_LOGDIR=\"/var/log/opencryptoki\" -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o testcases/login/login_flags_test usr/lib/common/testcases_login_login_flags_test-p11util.o testcases/login/login_flags_test-login_flags.o  testcases/common/.libs/libcommon.a -lc -ldl -lpthread -llber -lldap
/usr/bin/ld: testcases/common/.libs/libcommon.a(libcommon_la-common.o):(.bss+0x40): multiple definition of `funcs'; testcases/login/login_flags_test-login_flags.o:(.bss+0x140): first defined here
/usr/bin/ld: testcases/common/.libs/libcommon.a(libcommon_la-common.o):(.bss+0x33): multiple definition of `skip_token_obj'; testcases/login/login_flags_test-login_flags.o:(.bss+0x133): first defined here
/usr/bin/ld: testcases/common/.libs/libcommon.a(libcommon_la-common.o):(.bss+0x32): multiple definition of `no_stop'; testcases/login/login_flags_test-login_flags.o:(.bss+0x132): first defined here
/usr/bin/ld: testcases/common/.libs/libcommon.a(libcommon_la-common.o):(.bss+0x31): multiple definition of `no_init'; testcases/login/login_flags_test-login_flags.o:(.bss+0x131): first defined here
/usr/bin/ld: testcases/common/.libs/libcommon.a(libcommon_la-common.o):(.bss+0x30): multiple definition of `securekey'; testcases/login/login_flags_test-login_flags.o:(.bss+0x130): first defined here
/usr/bin/ld: testcases/common/.libs/libcommon.a(libcommon_la-common.o):(.bss+0x38): multiple definition of `SLOT_ID'; testcases/login/login_flags_test-login_flags.o:(.bss+0x138): first defined here
collect2: error: ld returned 1 exit status

Kadzi commented on 2019-11-25 18:36 (UTC)

MAKEDEPENDS is also missing byacc.

grawity commented on 2019-10-28 16:10 (UTC)

IIRC flex is in the base-devel group, which is assumed to be present so its contents don't need to be explicitly listed as a makedep.

architector4 commented on 2019-10-28 15:55 (UTC)

In build() stage, got this:

configure: error: 'flex' is missing on your system. Please install 'flex'.
==> ERROR: A failure occurred in build().
    Aborting...

Lines 65 and 66 in opencryptoki-3.11.1.tar.gz/src/configure.ac reflect this, and installing flex package fixes this. I guess a dependency has been forgotten?

grawity commented on 2019-02-25 15:50 (UTC) (edited on 2019-02-25 18:25 (UTC) by grawity)

I'm having filesystem permission problems when trying to use tpmtoken_init or pkcsconf as a non-root user (:pkcs11 member). <del>Shouldn't the subdirectories of /var/lib/opencryptoki be owned by root:pkcs11 instead of root:root?</del> <del>On second thought, it feels like opencryptoki is fine and the tpmtoken_* tools are supposed to be setuid or something?</del> No, that doesn't work either.