Skip to content

HSMs are only supported on Linux x86_64 and macOS #902

@RaineKos

Description

@RaineKos

I am testing out a build of Cosmian kms on a raspberry pi 5 with a zymkey 4i to create something like a micro KIMP server. I have the Zymkey working perfectly and have the PKCS11 fully connected and can see the hsm present on slot 0 in pkcs11-tool. Cosmian kms works great up until I try to add the HSM configuration and hit a brick wall with the following error.

Error: Unexpected server error: start KMS server: failed instantiating the server: Unexpected server error: Fatal: HSMs are only supported on Linux x86_64 and macOS.

I assume there is no bypass even for testing this. It just seems odd that everything else works up to this moment and all of a sudden using HSMs in ARM64 is just "forbidden"

I would appreciate some background into this.
For reference the system is using Debian Bookworm and running Cosmian kms 5.20.0. Appreciate any input or at least documenting this here so no one else wastes 6 hours to run into this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions