Comments (1)
I had the same problem on CentOS 8 and Rocky Linux 8. Running Smart Card Shell 3. Once trying to access CardContact HSD token, I used to get only:
load("keymanager/keymanager.js");
GPError: Card (CARD_CONNECT_FAILED/0) - "No card in reader or mute card." in /home/vesso/CardContact/scsh3/keymanager/keymanager.js#2456
at /home/vesso/CardContact/scsh3/keymanager/keymanager.js#2456
The token was neither locked or muted. I was able to use it in NSS (Mozilla, Brave). pcks11-tool was also able to access the card:
[vesso@localhost ~]$ pkcs11-tool -L
Available slots:
Slot 0 (0x0): Identiv uTrust 3512 SAM slot Token [CCID Interface] (55511822...
token label : SmartCard-HSM (UserPIN)
token manufacturer : www.CardContact.de
token model : PKCS#15 emulated
token flags : login required, rng, token initialized, PIN initialized
hardware version : 24.13
firmware version : 3.5
serial num : DECC09000XX
pin min/max : 6/15
I tried that on several fresh installations to be sure I don't encounter some local problem.
Seems like it is a Java OpenJDK version problem. The only way to solve that problem is to upgrade your Java OpenJDK to as higher version is possible. Then set that version default by means of alternatives:
Selection Command
*+ 1 java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-2.el8_5.x86_64/jre/bin/java)
2 java-17-openjdk.x86_64 (/usr/lib/jvm/java-17-openjdk-17.0.1.0.12-2.el8_5.x86_64/bin/java)
Enter to keep the current selection[+], or type selection number: 2
After that, the HSM token can be read.
Note, that pair of problem and fix applies to Nitrokey HSM tokens too!
from scsh-scripts.
Related Issues (8)
- Importing private keys with scsh HOT 8
- [RFE] Document wrapped format/Import EC keys HOT 2
- Cannot import PKCS#12-formatted file into Nitrokey HSM HOT 2
- importing 4096 bit rsa keys from pkcs12 into Nitrokey HSM 2 HOT 10
- Cannot import EC-256 key pair in P12 format HOT 2
- Importing 4096 bit RSA keys from P12 into SmartCard-HSM 4K Mini-SIM Card (3.3) failed with SCSH v3.15.388 HOT 26
- Smart Card shell fails to communicate with Identive SCT3522CC token [CCID Interface]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scsh-scripts.