Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would like the ability to configure DEFAULT_PKCS11_MODULE #36

Closed
mouse07410 opened this issue Jan 5, 2016 · 4 comments
Closed

Would like the ability to configure DEFAULT_PKCS11_MODULE #36

mouse07410 opened this issue Jan 5, 2016 · 4 comments

Comments

@mouse07410
Copy link
Contributor

Currently I have to manually edit config.h to make this:

/* p11-kit proxy */
#define DEFAULT_PKCS11_MODULE "/Library/OpenSC/lib/opensc-pkcs11.dylib"

It would be nice if either the config script could figure it out by itself, or I could point it at the correct library at the configuration time (rather than editing the config file).

@dwmw2
Copy link
Contributor

dwmw2 commented Jan 5, 2016

There is a strong argument to be made that p11-kit-proxy is the only thing that makes sense to be invoked automatically as a default module, and that if it's installed properly then it would do the right thing (and invoke OpenSC or whatever you have configured for the application in question).

That said, I'd tolerate a configure argument which allows you to specify it rather than only picking it up from p11-kit's pkgconfig.

@mouse07410
Copy link
Contributor Author

I have libp11and p11-kit installed:

$ port installed p11-kit
The following ports are currently installed:
  p11-kit @0.22.1_0 (active)

Nonetheless, it did not get the required proxy installed. Therefore I think that there must be a config argument that would override the faulty (at least on my Mac OS X system) automatic discovery.

@mtrojnar
Copy link
Member

Implemented in 0d0436e.

@nmav
Copy link
Contributor

nmav commented Jan 16, 2016

Nonetheless, it did not get the required proxy installed. Therefore I think that there must be a config
argument that would override the faulty (at least on my Mac OS X system) automatic discovery.

That's more like a bug in the installation of p11-kit in macosx rather than an issue of libp11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants