-
Notifications
You must be signed in to change notification settings - Fork 803
Closed
Labels
Description
Problem Description
After upgrading from opensc-0.21.0-4.fc34.x86_64 to opensc-0.22.0-1.fc34 on Fedora 34, I am unable to initialize a Feitian ePass2003 Auto USB device using pkcs15-init. The error that I'm newly seeing is:
Failed to create PKCS #15 meta structure: EF offset too large
This used to work fine with opensc-0.21.0-4.fc34.x86_64, and reverting back to the older package version makes it work again. There were no other package changes on the machine.
Proposed Resolution
None from my side (I'm just an end user). The pkcs15-init command should not error.
Steps to reproduce
The commands used to initialize are:
# Erase the smartcard
pkcs15-init -E
# Initialize the smartcard (this prints an error now in opensc-0.22.0-1.fc34)
pkcs15-init --create-pkcs15 --profile pkcs15+onepin --use-default-transport-key --pin 1234 --puk 12345678 --label "Token Label"
The device is:
Bus 004 Device 015: ID 096e:080a Feitian Technologies, Inc. ePass2003Auto
I currently do not have an unused device to capture more information right now - we issued the devices we had. I should be receiving more devices tomorrow if any additional information is desired.
Thank you.