Fedict / eid-test-cards

Software needed to create virtual card data
Other
4 stars 4 forks source link

Can't view Virtual cards in E-ID Viewer #5

Open WeyensLuk opened 6 years ago

WeyensLuk commented 6 years ago

Hi,

I've followed the start_windows instructions. I've created a virtual card which you can find attached to the issue and set it as active in the PCSCControl. I downloaded the latest version of the e-ID Middleware and the e-ID Viewer. When I tried copying the WinSCard.dll to my local java folder (I'm on version 1.8.0_161), the e-ID Viewer does not pick up any virtual card.

In fact, it does not even seem to see any virtual card adapters:

eidviewer

The adapter listed is the built-in card adapter. Is the procedure still up to date or am I missing something?

bredero.zip

Frederikus commented 6 years ago

Hello Luk,

The Latest eID Viewer is no longer java based, so you should place the Winscard.dll for virtual cards next to the eID Viewer.exe (in the same folder).

Wkr, Frederik

On Fri, Jan 26, 2018 at 3:39 PM, Luk Weyens notifications@github.com wrote:

Hi,

I've followed the start_windows instructions. I've created a virtual card which you can find attached to the issue and set it as active in the PCSCControl. I downloaded the latest version of the e-ID Middleware and the e-ID Viewer. When I tried copying the WinSCard.dll to my local java folder (I'm on version 1.8.0_161), the e-ID Viewer does not pick up any virtual card.

In fact, it does not even seem to see any virtual card adapters:

[image: eidviewer] https://user-images.githubusercontent.com/22571350/35444447-e3d9ba74-02ae-11e8-88bf-914582219904.png

The adapter listed is the built-in card adapter. Is the procedure still up to date or am I missing something?

bredero.zip https://github.com/Fedict/eid-test-cards/files/1668041/bredero.zip

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Fedict/eid-test-cards/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/ADhcJEHsjixNh3PbMVwEt4rR2D6seNkKks5tOeOEgaJpZM4RuYpq .

WeyensLuk commented 6 years ago

This did make the Virtual card adapter active, but still no card shows up...

eidviewer_virtualcardadapter

Frederikus commented 6 years ago

Do you see in the viewer log (with log level set to detail) any card insertion events? or any warnings/errors?

On Fri, Jan 26, 2018 at 3:59 PM, Luk Weyens notifications@github.com wrote:

This did make the Virtual card adapter active, but still no card shows up...

[image: eidviewer_virtualcardadapter] https://user-images.githubusercontent.com/22571350/35445426-e43bd03a-02b1-11e8-9032-d9dde26f4eca.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Fedict/eid-test-cards/issues/5#issuecomment-360807046, or mute the thread https://github.com/notifications/unsubscribe-auth/ADhcJMBBwOyagHHBXBngEC47PMm84DLCks5tOehTgaJpZM4RuYpq .

WeyensLuk commented 6 years ago

Sorry for the late reply, this is what I see in the log:

eidviewer_log

WeyensLuk commented 6 years ago

Is there anything I can try to resolve this?

Frederikus commented 6 years ago

Hello Luk,

Sorry for the late reply, I've been on Holidays.

The physical card you are inserting during test is the one you attached the testcard to, right? (when creating the testcard)

We've tried to reproduce your issue, but did not succeed so far

On Thu, Feb 15, 2018 at 3:09 PM, Luk Weyens notifications@github.com wrote:

Is there anything I can try to resolve this?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Fedict/eid-test-cards/issues/5#issuecomment-365937613, or mute the thread https://github.com/notifications/unsubscribe-auth/ADhcJKPgM91h9Rso-yq7ztJg7GQ8Ldg_ks5tVDqhgaJpZM4RuYpq .

WeyensLuk commented 6 years ago

I'm not sure what you mean by that. But basically these are the steps I follow:

  1. Insert my physical ID card, save it as an XML file with .eid extension
  2. Changed the required fields in base.txt
  3. Called the generate.bat file with the required parameters, succesfully generating a virtual card.
  4. Used the PSCControl tool to add my virtual card directory and to mark the virtual card as active (the virtual card is visible there)
  5. Copied the winscard.dll to the directory in which the eID viewer is in, as per your suggestion above
  6. Open eID viewer (by this time my physical card is no longer inserted) and nothing is visible...

When inserting my physical card and choosing the physical card reader, I do see my physical card, but the virtual card is never visible.

Frederikus commented 6 years ago

Hello Luk,

I was referring to step 6. : You will never see your virtual card when no physical card is inserted. (card insertion events are still comming from inserting the real card).

So normally step 6. should be: select your virtual card reader and insert your physical card, then the virtual card content should be displayed in the eID Viewer.

On Thu, Feb 22, 2018 at 1:23 PM, Luk Weyens notifications@github.com wrote:

I'm not sure what you mean by that. But basically these are the steps I follow:

  1. Insert my physical ID card, save it as an XML file with .eid extension
  2. Changed the required fields in base.txt
  3. Called the generate.bat file with the required parameters, succesfully generating a virtual card.
  4. Used the PSCControl tool to add my virtual card directory and to mark the virtual card as active (the virtual card is visible there)
  5. Copied the winscard.dll to the directory in which the eID viewer is in, as per your suggestion above
  6. Open eID viewer (by this time my physical card is no longer inserted) and nothing is visible...

When inserting my physical card and choosing the physical card reader, I do see my physical card, but the virtual card is never visible.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Fedict/eid-test-cards/issues/5#issuecomment-367664515, or mute the thread https://github.com/notifications/unsubscribe-auth/ADhcJN3QbNLFjcwZkASeKTxZ2IPqFZUwks5tXVw1gaJpZM4RuYpq .

WeyensLuk commented 6 years ago

OK, that makes sense. Now I do get some errors, but I can't seem to understand them.

image