Questions tagged [yubico]

This tag should be used for all products provided by the Yubico company, such as Yubikey, a two-factor authentication hardware key.

114 questions
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

Unable to load DLL 'Yubico.NativeShims' when trying to use Yubico SDK in .NET

I am trying to extract the X509 certificate off of my Yubikey's PIV programmatically. I am using .NET Standard 2.0 on Windows 10, and I am trying to install and use the Yubico SDK Nuget package (Yubico.Yubikey 1.3.1). After installing the package…
0
votes
2 answers

Howto verify a yubico otp response

I want to use yubico OTP as a second factor in my application. Yubico OTP documentation: https://developers.yubico.com/OTP/ The following is a c#(.net 6) example which reads the OTP via console (You need to press the button on the usbstick, then the…
Manuel
  • 1,985
  • 3
  • 31
  • 51
0
votes
1 answer

OTP validation response shows MISSING_PARAMETER

Issue I am trying to use a yubikey for second factor authentication via their OTP Validation Protocol Version 2.0. Despite following all the documentation meticulously (https://developers.yubico.com/OTP/OTP_Walk-Through.html and…
towkneed
  • 11
  • 2
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
1 answer

Wrapped private key with libfido2?

I am currently working my way into libfido2 and trying to figure out how to use wrapped private keys with it. Yubico says in the FAQs that with YubiKey 5 unlimited key pairs can be used for FIDO U2F; however, for FIDO2 only space for 25 resident…
Apollo13
  • 3
  • 2
0
votes
0 answers

problem in importing private key to the token

I am trying to inject an der formated private key to a PKC11 compatible token, with the below command: pkcs11-tool --module /path_tp/libparskey11.so --login --write-object private.der --type privkey --id 21 --label injected but I got the below…
0
votes
1 answer

How do I decrypt a text using yubikey SDK for .NET?

I'm trying to use a yubikey for encrypting/decrypting strings in my application. By now, I wrote some methods for testing purposes. My code was based on examples I found in the official repository: Yubico.YubiKey/examples/PivSampleCode/. However,…
pshore90
  • 1
  • 1
0
votes
1 answer

Yubikey converts lower case letter of password into capital in Qt applications on Ubuntu 20.04

We have a yubikey 5 NFC with a static OTP password where the first letter is a lowercase letter. When using this password in a Qt5 application running on an Ubuntu 20.04.2 LTS device, the first letter gets transformed to an uppercase letter. After…
Sam
  • 1
  • 1
0
votes
1 answer

Maven build breaks 'Could not find artifact com.fasterxml.jackson:jackson-base:pom:2.12.1.redhat-00001'

The maven build of our project fails with this error: [ERROR] Failed to execute goal on project our_project: Could not resolve dependencies for project our_package:our_project:war:our_version-SNAPSHOT: Failed to collect dependencies at…
Peppo
  • 28
  • 1
  • 3
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…
0
votes
1 answer

How does "Security Key by Yubico" identify each key?

According to the sentense below in this page, "Security Key by Yubico" does NOT have a serial number. Serial numbers are unique across all models of YubiKeys, with the exception of Security Keys, which do not have serial numbers. However, in…
task4233
  • 3
  • 1
0
votes
2 answers

Is assetlinks.json file hosting mandatory for FIDO?

I have a question regarding FIDO2. Little background: My company has decided to go with FIDO2 for user account management. So we've created a FIDO Server wrapper which mainly uses yubico webauthn library.   In Android side, we are using…
albeee
  • 1,452
  • 1
  • 12
  • 20
0
votes
1 answer

Yubikey Openssh sign certificate integration

Actually, I use my YUBIKEY for ssh authentication with PKCS11 PIV tool. I follow this step : https://developers.yubico.com/PIV/Guides/SSH_user_certificates.html at the end of this developer Guide there is this line : ssh-add -L >…
Benjamin
  • 3
  • 3
0
votes
2 answers

UWP Application PIV Example Needed

We are developing a C# UWP application using Visual Studio 2019. I have successfully setup monitoring of the YubiKey FIPS (4.4.5 firmware) being inserted/removed from the USB port. We setup the YubiKey to use PIV and have loaded a certificate into…
ByronH
  • 53
  • 6