GithubHelp home page GithubHelp logo

apduplay's People

Contributors

arcidev avatar marekvan avatar petrs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apduplay's Issues

Remove legacy winscard.dll functions - unresolved in Win10

Hello!

Trying to use APDUPlay at WIN10. There are some errors.

Could not find SCardUIDlgSelectCardW procedure address
Could not find GetOpenCardNameA procedure address
Could not find GetOpenCardNameW procedure address
Could not find SCardDlgExtendedError procedure address

problem with use APDUplay Win10

Hello,
I have problem with last version APDUplay 32b & 64b.
When target aplication started, to log save only "[begin]" and target aplication close without any error messages.
using ver. Win10Pro 64 (ver.1909, build 18363.693) , original WinScard.dll ver (10.0.18362.1)

Thanks Lada

Build after modifing winscard.cpp on windows 10

How do we build the project and generate the required dll after modifing the winscard.cpp file for extra logging functionalities?
We can't seem to find a solution.
Tried to build with cmake, which didn't work (generates another solution)
Tried to build with vs2019: missing dependencies (afxdtctl.h)

Binaries

Hi, Its not clear where the binaries are. WIKI mentions something about them but no link
Download binaries here : [ APDUPlay_bin.zip][10].

Only single or no slot returned

I've been trying to use the Winscard.dll in conjunction with a PKCS#11 module (Nexus Personal). When listing slots with the PKCS#11 module, the PKCS#11 module only reports a single slot (the first one), although there are multiple slots, e.g., when not using your Winscard.dll. Specifically, slot #3, which is normally returned, does not exist.

Here are the contents of winscard_rules_log.txt_Sun-Sep-13-10_14_26-2020.txt:

Could not find SCardUIDlgSelectCardW procedure address
Could not find GetOpenCardNameA procedure address
Could not find GetOpenCardNameW procedure address
Could not find SCardDlgExtendedError procedure address
SCardEstablishContext() called
-> hContext:0x0
SCardListReaders called
-> Found readers: 
Number of readers found: 0
SCardListReaders called
-> Found readers: 
Number of readers found: 0
SCardGetStatusChangeA called
-> rgReaderStates.szReader: \\?PnP?\Notification
-> return status: 0x0
SCardListReaders called
-> Found readers: 
Number of readers found: 0
SCardListReaders called
-> Found readers: 
Number of readers found: 0
SCardGetStatusChangeA called
-> rgReaderStates.szReader: \\?PnP?\Notification
SCardCancel called
SCardCancel called
-> return status: 0x80100002
SCardReleaseContext(hContext:0x0) called
SCardEstablishContext() called
-> hContext:0x0
SCardReleaseContext(hContext:0x0) called

Here are the first four slots listed when your Winscard.dll is NOT used. With your Winscard.dll, only the first slot is listed.

Slot 0
  Manufacturer:       Technology Nexus AB
  Description:        Crypto Token Reader
  Token present:      True
Token
  Manufacturer:       Technology Nexus AB
  Model:              Crypto Token
  Serial number:      0
  Label:              Crypto Token

Slot 1
  Manufacturer:       Windows Hello for Business 1
  Description:        Windows Hello for Business 1
  Token present:      True
Token
  Manufacturer:
  Model:              Setec SetCos 3.1
  Serial number:
  Label:

Slot 2
  Manufacturer:       Windows Hello for Business 1
  Description:        Windows Hello for Business 1
  Token present:      True
Token
  Manufacturer:
  Model:              Setec SetCos 3.1
  Serial number:
  Label:

Slot 3
  Manufacturer:       REINER SCT cyberJack RFID komfor
  Description:        REINER SCT cyberJack RFID komfort USB 1
  Token present:      True
Token
  Manufacturer:       D-TRUST GmbH (C)
  Model:              CardOS V5.0
  Serial number:      [some serial number]
  Label:              D-TRUST Card V3.1 standard 2ce

I would have hoped to log the exchanges between the PKCS#11 module and the Winscard.dll. However, since the relevant slot is not visible anymore as soon as your Winscard.dll is in the loop, that is unfortunately not possible.

Build after modifing winscard.cpp on windows 10

After using the modified Winscard.dll the program doesn't see the smartcard reader, how can that be?
We only modified this part:

Modified:
afbeelding

Original:
afbeelding

Here are the generated logs with both the vanilla and the modded version.
We didn't modify any functionality so it seems weird that it can't find a reader.
Is there perhaps another difference between our own build and the Winscard_32b_v2.1.2 Winscard.dll?
MSTSC_VANILLA_winscard_rules_log.txt_Mon-Mar--8-08_58_24-2021.txt
MSTSC_VANILLA_winscard_log.txt_Mon-Mar--8-08_58_24-2021.txt
MSTSC_MODDED_winscard_rules_log.txt_Mon-Mar--8-08_59_59-2021.txt
MSTSC_MODDED_winscard_log.txt_Mon-Mar--8-08_59_59-2021.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.