Yubico / yubihsm-connector

https://developers.yubico.com/yubihsm-connector/
Apache License 2.0
30 stars 13 forks source link

document how to build for arm/rpi #6

Closed klali closed 2 years ago

klali commented 5 years ago

/assign @klali

trebortech commented 5 years ago

I'm open to testing :)

jevonearth commented 4 years ago

Can yubico offer arm builds of the yubihsm SDK? (perhaps we can repurpose this issue to making packages, and have docs as a task within the issue?)

qpernil commented 3 years ago

I would just comment that building on 32-bit Raspbian and 64-bit Ubuntu on RPI works without a hitch. There have even been some 32-bit specific bug fixes along the way.

Closing this issues now since it is so old. Please feel free to reopen if needed.

KCS-Mack commented 3 years ago

anyway to reopen this? would really like an arm build...

qpernil commented 3 years ago

Could you clarify what it is you're missing at the moment ? Instructions, an actual pre-built binary or something else ? Thx /per

KCS-Mack commented 3 years ago

Hello,

I'm trying to run the connector on an ARM based Rockpi. Currently there aren't any builds for Yubico hsm sdk for ARM Ubuntu.

Thank you,

Mack

On Tue, Jun 1, 2021 at 6:15 PM Per Nilsson @.***> wrote:

Could you clarify what it is you're missing at the moment ? Instructions, an actual pre-built binary or something else ? Thx /per

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Yubico/yubihsm-connector/issues/6#issuecomment-851968709, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4F2OYZEPTLGMUR7SRCHALTQSQMLANCNFSM4HAETLBA .

qpernil commented 3 years ago

You're right. But it's quite easy to build the yubihsm-shell project on Ubuntu, arm or x86, 64 or 32 bit. I have it running on RPi with the default 32-bit Raspbian Buster, and on Debian 20.10 64 bit. I just built from source. Instructions are here: https://github.com/Yubico/yubihsm-shell. The only difference for the pi is possibly the names of dependencies.

KCS-Mack commented 3 years ago

Hi Per,

Having some issues with the build. I have gotten as far as

$ mkdir build && cd build $ cmake .. $ make

However the binaries don't seem to work. Not sure what commands to run after this. I thought from this point I could run the connector with

yubihsm-connector -l localhost:12345

but it looks like the binaries weren't installed yet.

Thanks,

Mack

On Tue, Jun 1, 2021 at 10:38 PM Per Nilsson @.***> wrote:

You're right. But it's quite easy to build the yubihsm-shell project on Ubuntu, arm or x86, 64 or 32 bit. I have it running on RPi with the default 32-bit Raspbian Buster, and on Debian 20.10 64 bit. I just built from source. Instructions are here: https://github.com/Yubico/yubihsm-shell. The only difference for the pi is possibly the names of dependencies.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Yubico/yubihsm-connector/issues/6#issuecomment-852131641, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4F2OYVXRAKVNXQCQK56ADTQTPEJANCNFSM4HAETLBA .

qpernil commented 3 years ago

I see there is a step missing after make - sudo make install. I will get the instructions fixed.

KCS-Mack commented 3 years ago

Per-fect ;)

On Wed, Jun 2, 2021 at 4:11 PM Per Nilsson @.***> wrote:

Reopened #6 https://github.com/Yubico/yubihsm-connector/issues/6.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Yubico/yubihsm-connector/issues/6#event-4829902055, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4F2O67XVVRTRJHQU4F4TTTQXKT5ANCNFSM4HAETLBA .

qpernil commented 2 years ago

Closing this again, as it is presumably fixed

KCS-Mack commented 2 years ago

Hey sorry i got every thing working. thank you so much!!!!