PCSC

pcsc-lite: PC/SC implementation

OTHER License

Stars
233
Committers
29

Bot releases are hidden (Show)

PCSC - 2.1.0 Latest Release

Published by LudovicRousseau 6 months ago

2.1.0: Ludovic Rousseau
12 April 2024

  • LIBPCSCLITE_DELEGATE is used to redirect to another libpcsclite library
  • setup_spy.sh displays the LIBPCSCLITE_DELEGATE value to use for spying
  • provides libfake.c as a sample source code
  • Some other minor improvements

Full Changelog: https://github.com/LudovicRousseau/PCSC/compare/2.0.3...2.1.0

PCSC - 2.0.3

Published by LudovicRousseau 6 months ago

2.0.3: Ludovic Rousseau
3 March 2024

  • add SCARD_E_UNKNOWN_RES_MNG back

Full Changelog: https://github.com/LudovicRousseau/PCSC/compare/2.0.2...2.0.3

PCSC - 2.0.2

Published by LudovicRousseau 6 months ago

2.0.2: Ludovic Rousseau
3 March 2024

  • SCardConnect() & SCardReconnect(): restrict the protocol used
  • negotiate PTS also for the backup protocol
  • pcscd.8:
    . document --disable-polkit
    . add "CONFIGURATION FILE" section
  • Some other minor improvements

What's Changed

New Contributors

Full Changelog: https://github.com/LudovicRousseau/PCSC/compare/2.0.1...2.0.2

PCSC - 2.0.1

Published by LudovicRousseau 6 months ago

2.0.1: Ludovic Rousseau
24 November 2023

  • SCardConnect(): return SCARD_W_SECURITY_VIOLATION when needed (polkit)
  • SCardCancel(): return SCARD_S_SUCCESS even if the client already finished
  • polkit is enabled by default
  • libpcscspy: fix a crash with NULL pointers
  • Doxygen: fix SCardBeginTransaction() documentation
  • fix pcscd internal thread safety issues (clang -fsanitize=thread)
  • Some other minor improvements

Full Changelog: https://github.com/LudovicRousseau/PCSC/compare/2.0.0...2.0.1

PCSC - pcsc-2.0.0

Published by LudovicRousseau over 1 year ago

2.0.0: Ludovic Rousseau
9 June 2023

  • Adjust USB drivers path at run-time via environment variable PCSCLITE_HP_DROPDIR
  • Add --disable-polkit option
  • Reset eventCounter when a reader is removed
  • Add "polkit" in "pcscd -v" output if enabled
  • Doxygen: document SCARD_E_INVALID_VALUE for some functions
  • use secure_getenv(3) if available
  • Some other minor improvements

Full Changelog: https://github.com/LudovicRousseau/PCSC/compare/1.9.9...2.0.0

PCSC - pcsc-1.9.9

Published by LudovicRousseau about 2 years ago

1.9.9: Ludovic Rousseau
11 September 2022

  • SCardEstablishContext() may return SCARD_W_SECURITY_VIOLATION if refused by Polkit
  • Fix SCardReleaseContext() failure on orphan handles
  • Fix SCardDisconnect() on orphan handle
  • pcsc-spy: log the pioSendPci & pioRecvPci SCardTransmit() parameters
  • Improve the log from pcscd: log the return code in text instead of hex
  • Some other minor improvements

Full Changelog: https://github.com/LudovicRousseau/PCSC/compare/1.9.8...1.9.9

PCSC - pcsc-1.9.8

Published by LudovicRousseau over 2 years ago

1.9.8: Ludovic Rousseau
11 June 2022

  • Install install_spy.sh & uninstall_spy.sh scripts in docdir
  • SCardTransmit(): do not fail if receive buffer is "too large"
  • SCardControl(): do not fail if receive buffer is "too large"
  • fix some memory leaks on shutdown
  • use a better random number generator
  • Some other minor improvements
PCSC - pcsc-1.9.7

Published by LudovicRousseau over 2 years ago

1.9.7: Ludovic Rousseau
13 May 2022

  • disable strict compilation by default
  • fix 3 warnings
PCSC - pcsc-1.9.6

Published by LudovicRousseau over 2 years ago

1.9.6: Ludovic Rousseau
11 May 2022

  • do not fail reader removal in some specific cases (USB/Thunderbolt port)
  • improve documentation regarding /etc/reader.conf.d/
  • SCardGetStatusChange: speedup the case DISABLE_AUTO_POWER_ON
  • configure:
    . add --disable-strict option
    By default the compiler arguments are now:
    -Wall -Wextra -Wno-unused-parameter -Werror ${CFLAGS}
    . fail if flex is not found
  • fix different data races
  • pcscdaemon: -v displays internal constants values:
    MAX_READERNAME & PCSCLITE_MAX_READERS_CONTEXTS
  • Some other minor improvements
PCSC - pcsc-1.9.5

Published by LudovicRousseau almost 3 years ago

1.9.5: Ludovic Rousseau
4 December 2021

  • pcscd: autoexit even if no client connects
  • Fix variable substitution in systemd units
  • fix potential race conditions with powerState handling
  • Add and use tag TAG_IFD_DEVICE_REMOVED
  • UnitaryTests: port code to Python 3
PCSC - pcsc-1.9.4

Published by LudovicRousseau about 3 years ago

1.9.4: Ludovic Rousseau
1 October 2021

  • fix a memory leak when libusb is used for hotplug (i.e. non-Linux systems)
PCSC - pcsc-1.9.3

Published by LudovicRousseau about 3 years ago

1.9.3: Ludovic Rousseau
6 August 2021

  • fix a stupid regression with systemd introduced in the previous version
PCSC - pcsc-1.9.2

Published by LudovicRousseau about 3 years ago

1.9.2: Ludovic Rousseau
3 August 2021

  • improve NetBSD support
  • pcsc-spy: version 1.1
    • add option -t|--thread
    • x10 speed increase
    • correctly exit at end-of-file
    • remove, now useless, support of macOS
  • systemd:
    • use /etc/default/pcscd as EnvironmentFile
    • use $PCSCD_ARGS to specify more arguments
  • SetProtocol: Handle IFD_NOT_SUPPORTED from the driver
  • hotplug_libudev.c: sanitize interface name
  • pcsc_demo: change licence from GPLv3 to BSD
  • use Python 3 for Python scripts (psc-spy, UnitaryTests)
  • Some other minor improvements
PCSC - pcsc-1.9.1

Published by LudovicRousseau over 3 years ago

1.9.1: Ludovic Rousseau
16 February 2021

  • Do not (possibly) lock a reader if allocating hCard fails
  • Fix a hang in SCardTransmit()
  • Do not report an error if the wrong interface is used by the driver
  • Update reader state when a card is removed during an exchange
  • readerfactory: Make sure a freed Reader Context is not accessed
  • PHSetProtocol(): supports T=0&1 cards on T=0 reader
  • hotplug-libusb:
    • support CCIDCLASSDRIVER
    • add interface name to reader name
    • remove obsolete libhal scheme
  • Some other minor improvements
PCSC - pcsc-1.9.0

Published by LudovicRousseau over 4 years ago

1.9.0: Ludovic Rousseau
14 June 2020

  • SCardEndTransaction(): greatly improve performances (x300)
  • tokenparser: accept any Unicode character in a reader name
  • Use /run instead of /var/run by default
  • Fix a memory leak from a polkit call
  • Some other minor improvements
PCSC - pcsc-1.8.26

Published by LudovicRousseau almost 5 years ago

1.8.26: Ludovic Rousseau
3 January 2020

  • Use poll() instead of select() to allow file descriptor higher than FD_SETSIZE
  • Enable reader filtering by default
  • pcsc-spy:
    • Do not read output buffer after error
    • Adjust code to handle autoallocated buffers
    • fix year-2038 issue by using long instead of int
  • Android: fix compilation
  • if client/server protocol mismatch:
    • log an explicit message
    • SCardEstablishContext() returns SCARD_E_SERVICE_STOPPED
  • polkit: log the error message if polkit_authority_get_sync() fails
  • Exit with EXIT_SUCCESS on shutdown to please systemd
  • Doxygen: fix minor issues in the documentation
  • Add --disable-documentation option
  • Fix a minor memory leak
PCSC - pcsc-1.8.25

Published by LudovicRousseau over 5 years ago

1.8.25: Ludovic Rousseau
25 March 2019

  • Fix a socket issue when pcscd is used inside LXC container
  • pcsc-spy: always provide a total time of execution
  • Fix resource leak if SCardEstablishContext() fails
  • Fix realloc(3) error handling (possible memory leak)
  • Remove usage of function chmod(2) to use fchmod(2) (fix race condition)
PCSC -

Published by LudovicRousseau about 6 years ago

1.8.24: Ludovic Rousseau
12 October 2018

  • the project moved to https://pcsclite.apdu.fr/
  • SCardGetStatusChange(): Fix a rare race condition
  • SCardReleaseContext(): do not release a lock owned by another context
  • SCardReconnect(): suspend card auto power off
  • Allow "=" in serial driver filenames
  • Add the thread id in the pcscd log lines
  • pcsc-spy: correctly handle incomplete log file
  • Simclist: avoid to divide by zero in list_findpos()
  • Some other minor improvements
PCSC -

Published by LudovicRousseau over 6 years ago

1.8.20: Ludovic Rousseau
30 December 2016

  • Fix a crash and potential security issue in pcscd
PCSC -

Published by LudovicRousseau over 6 years ago

1.8.21: Ludovic Rousseau
20 May 2017

  • SCardCancel():
    . fix a race condition bug
    . fix a possible use after free
    . improve Doxygen documentation
  • SCardGetStatusChange(): fix a race condition when a reader is removed
  • SCardDisconnect(): fix status update for SCARD_UNPOWER_CARD
  • pcsc_stringify_error(): use Thread-local storage
  • pcsc_stringify_error() now returns a const char *
  • SCardControl() may return SCARD_E_INSUFFICIENT_BUFFER when
    pbRecvBuffer is not big enough to receive the card response.
  • Fix compilation error with GCC 4.9
  • UnitaryTests: add support of Python 3
  • pcsc-spy: add support of Python 3
  • Some other minor improvements