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

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.

mutantmonkey commented on 2017-06-10 22:38 (UTC)

Thanks djgera!

djgera commented on 2017-05-27 22:51 (UTC)

I made some changes to this package, please apply it. Thanks. * Remove install file and use sysusers. * Remove libtool dependence (this is part of base-devel group) * Fix indentation https://gist.github.com/djgera/db5581afbd91851771429228d43ee711

mutantmonkey commented on 2017-04-28 16:45 (UTC) (edited on 2017-04-29 02:33 (UTC) by mutantmonkey)

Confirmed; I suspect this is due to an openssl change. I'll look into a possible workaround but ideally this would be fixed upstream. Edit: This is fixed upstream and opencryptoki 3.7.0 builds fine.

mephinet commented on 2017-04-27 20:42 (UTC)

For me, building fails with: ../common/sw_crypt.c: In function ‘sw_des3_cbc’: ../common/sw_crypt.c:312:2: error: unknown type name ‘des_key_schedule’ des_key_schedule des_key1;

mutantmonkey commented on 2016-09-30 00:57 (UTC)

Both autoconf and bison are in base-devel. Packages in base-devel are an implicit dependency to build any package and are not supposed to be included in makedepends. Please refer to https://wiki.archlinux.org/index.php/PKGBUILD#makedepends

Flisk commented on 2016-09-29 22:57 (UTC)

I think MAKEDEPENDS is missing the packages 'autoconf' and 'bison', I was unable to build without installing them.

mblumenstingl commented on 2016-03-26 09:59 (UTC)

is "expect" really a dependency? it seems that this dependency is only used by the testcases - so moving it to optdepends or even makedepends should be enough.

mutantmonkey commented on 2015-09-01 02:25 (UTC)

Yes, it appears this package has been missing the groupadd in the install file for quite some time. I'm not sure why it was missing before, but I've added it now.

jdarch commented on 2015-08-31 22:22 (UTC)

Is there some issue with a non-existent group 'pkcs11' in a standard install?