Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart card keyfile implementation for VeraCrypt-DCS #29

Open
thomasnet-mc opened this issue Jun 26, 2021 · 2 comments
Open

Smart card keyfile implementation for VeraCrypt-DCS #29

thomasnet-mc opened this issue Jun 26, 2021 · 2 comments

Comments

@thomasnet-mc
Copy link

Hello,

I seen DCS has support for sending APDUs over to a smart card reader, and I'd be interested in adding more support for smart cards, hopefully up to being able to fetch a keyfile registered by VeraCrypt.

It's my first project with smart cards, so please feel free to correct me if I say anything wrong.
The way I'm thinking of doing it is by bypassing the need for a PKCS#11 interface and directly using ISO 7816-4 APDUs to login with a PIN entered by the user, and then fetching the keyfile from the card.

Maybe the VeraCrypt app could set the file ID corresponding to the keyfile it registered in the DCS config?

I'll try more things when I actually get a keycard, though!

@MADXhh
Copy link

MADXhh commented Nov 20, 2021

+1

That sounds good! I would be very happy about this feature!

@kavsrf
Copy link
Collaborator

kavsrf commented Nov 20, 2021

  1. There is possibility to save master key to flash => data and keys are separate.
  2. Master key is protected by password, pim and key from TPM + serials of target platform.
    Smart card can add small improvement – the key form SC is not possible to retrieve. It is not very important – imho.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants