-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support for MacOS #25
Comments
Hey @braydenmerrifield - while we don't publish an official release for macOS, this project can be built/tested on Mac assuming you have Xcode tools installed, and our build tool (Bazel). The easiest way to get the right Bazel is with Bazelisk.
|
@braydenmerrifield How did you even get this to build on macos? I'm getting either
With a boringssl build, and
with openssl build |
It's a bit of a stretch to say that this works with MacOS, given that the build system is so fragile. It may be possible, under some undefined circumstances, to get a binary that works on some MacOS system, but in my experience it just produces broken builds which may not be linked to other processes due to unresolved symbols. |
To be more specific here, it is possible to get the software contained in this repository to produce a PKCS#11 module which is usable on MacOS, but only if you are persistent and don't mind doing part of the work manually. I've successfully produced a working PKCS#11 module from this code (as of 1f2649e), but to do so I had to manually perform the linking since some dependencies did not get specified in the linker line (resulting in undefined symbols). The result was a 56MiB Mach-O 64-bit arm64 dynamically linked shared library:
Without manual modifications, the resulting library cannot be loaded:
|
Hi there,
I've recently been attempting to use the
[kmsp11](https://github.com/GoogleCloudPlatform/kms-integrations/tree/master/kmsp11)
module on MacOS to self sign a test certificate using my HSM key with no luck. I've been following the guide here, successfully setting the engine, and setting the module as directed.However, the result I get is:
I assume this is because of the shared object file type.
Is there any chance of getting some guidance for MacOS (and compatible module?) as part of the kmsp11 user guide?
The text was updated successfully, but these errors were encountered: