Skip to main content

Questions tagged [smartcard]

A smart card, or chip card, is a fingernail-sized integrated circuit that is often embedded in a credit-card-sized plastic sheet. Smart cards are used as identification badges, banking cards, SIM in mobile phones, for key storage, and more.

Filter by
Sorted by
Tagged with
1 vote
0 answers
27 views

Key Usage and Extended Key Usage for X.509 Certificares on Yubikey

I want to deploy X.509 certificates onto a Yubikey into the certificate slots 9a: PIV Authentication 9c: Digital Signature 9d: Key Management 9e: Card Authentication (see Yubico: PIV Introduction - ...
1 vote
0 answers
25 views

SmartCard rollout for Windows RDP clients

We want to deploy a thin client architecture, where the users can sign-in into their session from every client by inserting their SmartCard into an attached reader but we have a hard time finding ...
5 votes
2 answers
851 views

Can SIM card be locked to the specific equipment?

I'm curious if SIM card can be "personalized" to operate only in the specified mobile equipment in addition to usual PIN security. So the SIM extracted from "legitimate" phone and placed into ...
0 votes
1 answer
781 views

Mifare Desfire authentication process / cloning protection

I am trying to write a small explanation for a customer, who wants to understand why his Mifare Desfire transponders are safe from being cloned. I was trying to search for an easy scheme or text that ...
3 votes
2 answers
3k views

Getting Certificate KeyContainerName to initialize CspParameters

How can I get the name of a Key Container that's in a smart card required for initialization of CspParameters? CspParameters^ cspa = gcnew CspParameters(ProviderType, ProviderName, keyContainerName, ...
5 votes
0 answers
320 views

Desktop browser that supports Fido U2F over CCID [closed]

Is there any browser that supports Fido U2F over CCID for smart cards? As far as I can see Firefox and Chrome only support U2F over HID, and only Chrome for Android (with Google Authenticator2) ...
1 vote
0 answers
96 views

Certify using Yubikey

I just started using a Yubikey 5. I've set up GPG according to this excellent guide, and now I have 3 working ECC key pairs on my Yubikey: Sign/S :: ed25519, Encrypt/E :: cv25519, Authentication/A :: ...
0 votes
1 answer
149 views

How to mitigate spoofing, keylogging password, stealing public key with smart card with external/internal smart card reader?

Here is my thought process: I want to use smartcards without passwords for my setup. We don't want to use Iris or fingerprint or voice. I only want to put in the card whenever something needs to ...
7 votes
4 answers
4k views

Reading magnetic stripe on a credit/debit card with an EMV chip

Is there any way of knowing is a credit/debit card has an EMV Chip, by reading the magnetic stripe. This way I could deny the payment via magnetic stripe and ask to the customer to insert the card via ...
0 votes
0 answers
79 views

compatability of Desfire EV1/2 readers and cards with a Doorking access control system

I am getting the idea that Doorking's ProxPlus cards and reader have a pre-defined encryption key in their reader. As these readers are wiegand devices and the software for the Doorking Access systems ...
0 votes
0 answers
120 views

Can I Use an OpenPGP Smart Card to Sign a TLS Certificate?

I've been looking around for smart cards with support for Ed25519. More specifically, I'd like to have a TLS CA with the private key on a YubiKey. The latest YubiKey 5 supports secp256k1, secp384r1, ...
0 votes
0 answers
159 views

How smart cards store their secrets? [duplicate]

How smart cards technically store their secrets? I know smart card is whole computer on chip and it respond only to challenges. I know their software/firmware doesn't allow (it doesn't have the ...
1 vote
0 answers
132 views

Deriving EC keypairs pairs via PKCS11?

I'm a bit confused with PKCS11 (v3) standard... In particular, it's blurry to me if one can invoke C_DeriveKey, passing, say, CKM_SHA512_KEY_DERIVATION (or some HKDF) to it as the mechanism and also ...
1 vote
1 answer
638 views

Are wedge attacks on EMV cards still viable?

I was looking around to see if wedge attacks on EMV cards are still viable or a solution has been implemented, and if so, have attackers found another way around the solution? The latest literature or ...
0 votes
1 answer
175 views

GnuPG: gpa.exe hangs when I click on "smartcards" AND scdaemon cannot recognise SC-HSM 4K

https://dev.gnupg.org/T6097 I am trying to get GnuPG to work with my SmartCard-HSM 4K on Windows, using the GP4Win bundle. Kleopatra doesn't recognise the SC-HSM 4K at all, even though, it does ...
0 votes
1 answer
121 views

What mechanism stops smartcards and YubiKeys from exporting private keys?

How are the above devices built and what is the mechanism that seals them off from giving out private keys? Are the sign/decrypt operations somehow soddered into their hardware, is it a tiny piece of ...
3 votes
1 answer
510 views

ePassport Chip Authentication - how to verify?

I want to implement Chip Authentication for ePassport documents, and wish to validate my understanding of it. I've managed to get it up and running by using the JMRTD library, specifically the ...
0 votes
1 answer
686 views

Certificate Propagation Service CertPropSvc immediately stops

Trying to use my smartcards, suddenly the certificates do not propagate. I try starting and restarting the Certificate Propagation Service, but it immediately stops. An event is created in the Event ...
1 vote
2 answers
822 views

SIM card used with smart card user certificate

Is it possible to put a smart card user certificate (Windows) on a SIM card? (SIM card already has telecom info on it). I'm using Win 2012 and have tried, but I am getting this error "smart card ...
1 vote
0 answers
285 views

Self signing keystore certificates using smart card

Forgive my Naivety on the topic, I was only recently (this month) pushed into the application & data security rabbit hole and am still learning. I have a smart card issued by my organization, it ...
2 votes
1 answer
855 views

SafeNet eToken 5110CC w/ IDPrime 940MD: Generating ECC384/521 Errors + ICC/CVC Authentication

I am trying to utilize the SafeNet eToken 5110CC, which basically has the IDPrime 940MD with the applet 4.4.2.A., to generate ECC keys with lengths 384bits and 521bits to no avail. The product brief ...
1 vote
0 answers
123 views

Login with self-signed PGP/GPG cert. without security key

Is there a way I can use a PGP certificate to login on my computer, but without a smartcard? I have multiple self made certificates for document encryption and also a state issued one for legal ...
2 votes
1 answer
252 views

Determine if the client certificate comes from a smarcard in mTLS [closed]

I am designing a web access gateway that authenticates users through certificates using the mTLS mechanism. I would like to be able to identify the users that access the system using a Smartcard and ...
1 vote
1 answer
164 views

Is there a way to store a verification-hash of a secret on a 'consumer HSM' like Yubikey or another WebAuthn device?

Context: I'm trying to design an SRS solution for your personal secrets - "Anki for passwords." (This is mostly a learning-exercise, to help me develop my intuition for writing secure(-ish?) ...
1 vote
1 answer
188 views

How safe is a certificate on a smart card in terms of microscopy?

I wonder if it is possible for an attacker to dump the certificate of a smart card using microscopy. For example an electron microscope. Please do not blame me if there is nothing to see because the ...
0 votes
1 answer
191 views

How do RSA smartcards prevent key exfiltration?

Extracting private keys directly from the card is nearly impossible. With some acid package destruction and electron microscope work, a skilled team, and enough time, money, and luck you can in theory ...
5 votes
2 answers
2k views

SSH Keybased authentication using Nitrokey

So I'm fairly new to more secure forms of key management, I've been used to storing my keys inside key files on my computer. Recently I wanted to try and see if I could setup SSH authentication to my ...
0 votes
1 answer
434 views

Make certificate and private key available only to a single app

I want to make a smart card reader app, that sends read data to a server. In order to be certain in the integrity of the data, I want to use a client certificate to communicate with the server and I ...
10 votes
1 answer
2k views

How do GPG smart card devices handle large GPG operations?

How do GPG smart card devices (such as a Yubikey) handle large GPG operations? Such as signing binary programs. My first 2 pet theories are: There's some way to chunk up GPG operations or use some ...
37 votes
3 answers
24k views

How does storing GPG/SSH private keys on smart cards compare to plain USB drives?

I have a basic understanding of private/public key cryptography and have been using it for SSH logins and GPG encryption/signing for a while now. However, I have always kept the private key/keyrings ...
2 votes
3 answers
9k views

How do I know if a EMV is SDA, DDA or CDA?

For chip cards (emv), how do I know, based on either BIN (first six digits of card numbers) or on the entire card number, if a card is SDA, DDA or CDA? I know what it means, but without using a POS or ...
1 vote
1 answer
366 views

How do I get my server HSM working while connected via RDP? (Win 2019)

The error I get from pkcs11-tool.exe is "No slots." My server has a hardware security module (Nitrokey HSM 2) that becomes inaccessible once I connect to my server via Windows Remote Desktop....
3 votes
4 answers
1k views

How do hardware OTPs work?

I've recently stumbled across a number of one-time-password (OTP) smartcards in some of the internet shops specialized on cryptographic equipment. Now I know / think to know how OTP works with ...
0 votes
2 answers
229 views

How/What to prompt user for fingerprint login using smartcard?

We are using a PIV smartcard that has biometric information (fingerprint) of the user encoded on the card to login into our application. We have the capability to read the fingerprint from a reader ...
3 votes
0 answers
333 views

Move signing subkey to authentication slot on YubiKey (OpenPGP card)?

My PGP primary key is only used for certification—I use a separate subkey for signing. Like this: sec rsa4096/0x891781D0EDC66456 ...
0 votes
0 answers
267 views

Using smart card for gnupg

I want to buy a smart card to store a gpg private key (I have never used any before). However all options seem quite expensive. If you look for ISO 7816 in AliExpress there are much more affordable ...
1 vote
0 answers
111 views

GPG - use cached key before prompting for other cards when multiple receivers?

When using gpg 2.2.28 & gpg-agent to decrypt a ciphertext that has been encrypted for (any one of) multiple 'receivers', the default behaviour is that it tries to find and use private keys in some ...
19 votes
3 answers
5k views

GPG encryption subkey on multiple smart cards issue

Is there a way to tell GPG, that if it needs to decrypt something, that it can find the private encryption key on one of two smart cards? My (simplified) setup is as follows: Generated a master key ...
2 votes
0 answers
238 views

Does the USB connection have to be trusted when using Yubikey CCID/PIV?

I use a Yubikey in PIV/CCID mode. The PIN is sent from the host computer via automated script and unlocks the Yubikey PIV smartcard. In this mode, is it essential that the USB connection is trusted? ...
0 votes
2 answers
208 views

how to trust a PGP smartcard

I understand the interest of using a PGP solution that is based on a OpenPGP smartcard, such as the Nitrokey Pro or similar. But then, how can I decide that I trust an OpenPGP smartcard?
0 votes
1 answer
861 views

Can one use a gpg smartcard to implement FIDO2?

From what I understand, the idea of FIDO2 is to use symmetric cryptography, with secret key on the token, and public key on the server. When requesting to connect, the server uses the public key to ...
0 votes
2 answers
272 views

Can ISO 7816 (EMV) based smart card handle interrupts?

ISO 7816 smartcards are typically used in EMV transactions. I know that the card can perform arbitrary actions before sending a response to the terminal in a typical EMV transaction (e.g. signing ...
2 votes
1 answer
1k views

What does a TPM have in common with smart cards?

The title really says it all. I'm starting to dig a little bit into computer security and from what I've watched or from what I have read in books or articles there's always a mention of basic smart ...
0 votes
1 answer
275 views

MFA using PKI certificates [closed]

I'm trying to set up a multi factor authentication using PKIs certificates. A PKI infrastructure is ready to use and i'm planning to put these certificates on smart cards. I was looking for a smart ...
2 votes
1 answer
1k views

Is it possible to export an expired GPG subkey's public key without signatures?

Based on Is it possible to export a GPG subkey's public component? I got familiar with: gpg --keyid-format long --with-fingerprint --list-key {e-mail} gpg --export --armor --output public-key.asc ...
1 vote
0 answers
564 views

How smart cards are blocked?

I have a Yubikey NFC 5, when I enter a wrong PIN or PUK three times the smart card is blocked. Can someone please explain to me how it is blocked ? Does the PIN/PUK functionality is disabled somehow ? ...
12 votes
1 answer
627 views

Pin required for accessing (smartcard) Card Authentication Slot

So let me set the stage: I have created an Intermediate Signing Certificate by way of the Yubico walkthrough: https://developers.yubico.com/PIV/Guides/Certificate_authority.html I made a couple ...
18 votes
5 answers
16k views

Smart card + GnuPG: what is stored in my keyring/how to adopt smart card?

I recently bought a Yubikey Neo which can act as a OpenPGP smart card. I'd like to use this to store my private GnuPG key. I've gone through the initial setup and I am able to use the smart card to ...
0 votes
1 answer
195 views

How can hackers steal from a savings account that has no client card? [closed]

Someone I know was stolen a few hundreds dollars from a savings account. Looking at the history, she saw transactions like Uber rides and video games purchases she did not do. This account is used ...
3 votes
1 answer
1k views

Which type of smart card supports certificates?

For an IT security demonstration I want to set up a small demo PKI including smart card authentication based on certificates generated by a Certificate Authority, using a class 3 pin pad reader. For ...

1
2 3 4 5