CardContact Systems GmbH
CardContact Systems GmbH
There is no command in OpenSC to import a PKCS#12 container into a SmartCard-HSM directly. You have to use the import_P12.js script from the SDK to do that (https://devnet.cardcontact.de/attachments/download/45/sc-hsm-workspace-20151114.zip). As...
Just because other cards support importing private keys in plain doesn't mean that this is the right way of doing it. For the SmartCard-HSM we are not supporting plain import...
For existing CA keys you might need to use the import_P12.js in a dedicated key management procedure, but for user cards you should have the keys generated on the card...
The SmartCard-HSM Workspace for the [Smart Card Shell](https://www.openscdp.org/scsh3/index.html) is part of the [Starterkit](https://www.cardcontact.de/download/sc-hsm-starterkit.zip). The above link in the CDN is outdated. You can also find the latest P12 import in...
Can you try the same in the Smart Card Shell ? What does "OPENSC_DEBUG=9 sc-hsm-tool ..." report ?
Do you have a SmartCard-HSM inserted ? What does sc-hsm-tool with parameter report ? Can you create a log with "OPENSC_DEBUG=9 sc-hsm-tool" ?
Just tried that with a recent code base and it works as expected.
Interesting observation. We see a similar issues with sbsigntool, openssl, engine-pkcs11, p11-kit and opensc on Debian Bookworm (12). It just gets stuck somewhere in engine-pkcs11 for no apparent reason. Did...
This is not an OpenSC endorsed download, but probably a try to spread malware. The post has been reported.
We would need the specification (profile) and sample cards to do that. We have no contract relationship with DGN. The initial implementation was done as part of a project we...