Questions tagged [yubihsm]

7 questions
4
votes
0 answers

yubihsm2 signatures are invalid when signing ETH transactions

I am trying to figure out how to get this yubihsm2 to work with signing eth transactions. I have been using the python lib and so far i have had some basic setup. Below is an abbreviation of what i have web3_endpoint = '' web3 =…
user3554230
  • 283
  • 2
  • 11
1
vote
0 answers

Yubico YubiHSM2 connector with HTTPS access

I use Win10 for my experiments. I want to create HTTPS access between yubihsm-shell and yubihsm-connector. Official guidelines are not very detailed but after a while I found some relevant information in…
Ivan Angelov
  • 313
  • 1
  • 7
1
vote
1 answer

What are the Object Attributes needed to generate KeyPairs from YubiKey with PKCS11?

My application wants to sign documents using YubiKey with PIV (PKCS11). I was able to Login to my YubiKey but When I try to generate KeyPairs, it throws this error. "Method C_GenerateKeyPair returned CKR_ATTRIBUTE_VALUE_INVALID" This is the code I…
0
votes
1 answer

Which keyserver to use for Verifying signatures with GnuPG for YubiHSM SDK signature verification

from the following URL I have downloaded the YubiHSM SDK https://developers.yubico.com/YubiHSM2/Releases/. However the other URL says we need to validate the package by downloading the keys which is specified from the following…
Sudheer
  • 1
  • 2
0
votes
1 answer

YubiHSM2: Working command sequence in yubihsm-shell won't work non-interactively on command line

I got a working sequence of commands within yubihsm-shell, but cannot get the same result when calling the shell non-interactively from the command line. In the shell I got: yubihsm> connect yubihsm> session open 2 MyPassword yubihsm> set informat…
Seven
  • 4,353
  • 2
  • 27
  • 30
0
votes
1 answer

YubiHSM Code-signing exporting certificate

I followed the tutorial for generating a code-signing certificate using the YubiHSM Key Storage provider available here. After creating the Certificate Signing Request (CSR) with certreq -new sign.inf sign.req a new asymmetric key is created in the…
Jan Koci
  • 315
  • 3
  • 11
0
votes
0 answers

How to sign a PDF with PIV using a Yubikey in UWP C# app?

I'm trying to implement YubiKey HSM using PIV for my windows app (UWP Xamarin C# .NET). I found a couple of ways to communicate with my YubiKey FIPS but it didn't worked out well. As suggested in the Yubico site, I tried with PKCS11 with…