Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
339 commits
Select commit Hold shift + click to select a range
c4e7f6f
Release 2.0.3
LudovicRousseau Mar 3, 2024
9a6f396
Use SYS_GetEnv() instead of getenv() for security
LudovicRousseau Mar 20, 2024
1faab67
Use a library redirection
LudovicRousseau Feb 21, 2024
cedad92
libpcscspy: load "libpcsclite_real.so.1"
LudovicRousseau Feb 25, 2024
1cc192d
Create a setup_spy.sh script
LudovicRousseau Feb 25, 2024
81ab65b
Declare g_rgSCardTxPci only in libredirect.c
LudovicRousseau Feb 26, 2024
61b2b53
Define pcsc_stringify_error() in libredirect.c only
LudovicRousseau Feb 26, 2024
1f2b575
Add libfake.c as an example of another libpcsclite library
LudovicRousseau Feb 26, 2024
733a58c
Argument of DYN_LoadLibrary() is "const"
LudovicRousseau Mar 3, 2024
ec558ab
libpcscspy: use LIBPCSCLITE_SPY_DELEGATE env variable
LudovicRousseau Mar 5, 2024
7412385
Ignore LIBPCSCLITE_DELEGATE value for root processes
LudovicRousseau Mar 10, 2024
aaa6070
spy: ignore LIBPCSCLITE_SPY_DELEGATE value for root processes
LudovicRousseau Mar 10, 2024
1f12286
Use SYS_GetEnv() instead of getenv() for security
LudovicRousseau Mar 20, 2024
586b778
Fix compilation error in mode --enable-strict
LudovicRousseau Mar 20, 2024
7ae951e
Makefile.am: not need to explicitly add $(CFLAGS)
LudovicRousseau Mar 20, 2024
cb52da6
configure.ac: use "foreign" flag for AM_INIT_AUTOMAKE()
LudovicRousseau Apr 10, 2024
bb899dd
Remove obsolete TODO file
LudovicRousseau Apr 10, 2024
838e96c
configure.ac: add "subdir-objects" option
LudovicRousseau Mar 23, 2024
371e0f9
setup_spy.sh: add /usr/sbin in PATH
LudovicRousseau Apr 12, 2024
949b1b4
setup_spy.sh: use the .so.0 library name
LudovicRousseau Apr 12, 2024
d992eca
sys_unix.c: use Log2() for pcscd side only
LudovicRousseau Apr 12, 2024
2077739
Makefile.am: no need to define LIBREDIRECT anymore
LudovicRousseau Apr 12, 2024
e50c01e
Release 2.1.0
LudovicRousseau Apr 10, 2024
2384e4c
libpcscspy.c: do not use pcsc_stringify_error()
LudovicRousseau Apr 12, 2024
7366513
pcsc-spy: adapt to the new trace format
LudovicRousseau Apr 12, 2024
27fc7ac
Update pcsc-spy manpage
LudovicRousseau Apr 12, 2024
a53d65a
pcsc-spy: update version and copyright date
LudovicRousseau Apr 12, 2024
bfcb434
hotplug_libusb: fix cleanup for IFD_GENERATE_HOTPLUG
LudovicRousseau Apr 13, 2024
2b297eb
Ensure cleanup on hotplug_libusb shutdown
emaxx-google Apr 12, 2024
88ea3fc
Fix shutdown race with hotplug_libusb rescan pipe
emaxx-google Apr 12, 2024
d93d8b5
Remove dead code
LudovicRousseau Apr 14, 2024
bc21511
Deterministically wait on hotplug_libusb shutdown
emaxx-google Apr 12, 2024
10723c0
debuglog.c: always use syslog(3)
LudovicRousseau Apr 10, 2024
2c489c2
dyn_unix.c: used everywhere except on macOS
LudovicRousseau Apr 10, 2024
2e546b5
pcscdaemon.c: always include getopt.h
LudovicRousseau Apr 14, 2024
2258a40
pcscdaemon: change '--version' output formatting
LudovicRousseau Apr 21, 2024
88007cf
Reuse ipcdir in src/pcscd.h.in
LudovicRousseau Apr 21, 2024
e2a640b
Remove unused formaticc.1 manpage
LudovicRousseau Apr 23, 2024
c01a7ad
Update copyright dates
LudovicRousseau Apr 27, 2024
ef4236e
pcsc-spy.pod: remove extra space character
LudovicRousseau Apr 27, 2024
79162f5
libredirect.c: symplify code
LudovicRousseau Apr 27, 2024
3e2c5c8
libpcscspy.c: symplify code
LudovicRousseau Apr 26, 2024
e51d16a
Initial meson build files
LudovicRousseau Apr 7, 2024
f17c80a
github action: add build_meson
LudovicRousseau Apr 10, 2024
fed7b8d
Update c.sh for meson(1)
LudovicRousseau Apr 27, 2024
6cec18a
auth.c: fix compiler warning in embedded mode
LudovicRousseau Apr 28, 2024
da69dda
Release 2.2.0
LudovicRousseau May 3, 2024
960e367
meson: include prefix in sbindir
LudovicRousseau May 4, 2024
dd6b888
c.sh: do not specify sbindir
LudovicRousseau May 4, 2024
b276f95
fix libsystemd not included even if explicitly enabled (#181)
freswa May 5, 2024
773be65
meson: use uname(1) to get the "architecture"
LudovicRousseau May 5, 2024
b84cee1
meson: add otion 'filter_names' (true by default)
LudovicRousseau May 5, 2024
ce24c63
Do not use HAVE_ALLOCA_H
LudovicRousseau May 5, 2024
dc318d6
Do not #include <sys/filio.h>
LudovicRousseau May 5, 2024
f29361e
Do not use HAVE_issetugid
LudovicRousseau May 5, 2024
ee57dcc
testpcsc.c: remove code for pre 1.2.0 pcsc-lite
LudovicRousseau May 5, 2024
61a96b2
Remove unused src/strlcpy files
LudovicRousseau May 5, 2024
31a545a
Do not use HAVE_STRUCT_DIRENT_D_TYPE
LudovicRousseau May 5, 2024
6e264f3
Remove dyn_hpux.c
LudovicRousseau May 5, 2024
5be4f45
Do not use HAVE_PTHREAD_CANCEL
LudovicRousseau May 5, 2024
468d3b5
meson: sort by filename
LudovicRousseau May 5, 2024
692c0e5
readerfactory.c: do not #include <alloca.h>
LudovicRousseau May 6, 2024
16369c8
Fix compiler warning
LudovicRousseau May 6, 2024
259cfcf
Fix compiler warning
LudovicRousseau May 6, 2024
6e5e2eb
Fix compiler warning
LudovicRousseau May 6, 2024
70c11a6
Fix compiler warning
LudovicRousseau May 6, 2024
68186f1
Fix compiler warnings
LudovicRousseau May 6, 2024
fd2a450
Fix compiler warning
LudovicRousseau May 6, 2024
ce07cfc
Fix compiler warnings
LudovicRousseau May 6, 2024
f41fdaa
Fix compiler warnings
LudovicRousseau May 6, 2024
582830f
Fix compiler warning
LudovicRousseau May 6, 2024
061d59a
Fix potential memory leak
LudovicRousseau May 6, 2024
a36fe79
Fix potential memory leak
LudovicRousseau May 6, 2024
30fa4de
Fix potential memory leak
LudovicRousseau May 6, 2024
3e45f9a
Fix potential memory leak
LudovicRousseau May 6, 2024
7af67de
Fix potential Null pointer
LudovicRousseau May 6, 2024
11a48a0
Fix potential memory leak
LudovicRousseau May 6, 2024
dfa0690
Fix potential memory leak
LudovicRousseau May 6, 2024
f3a428b
Doxygen: do not exclude winscard_scf.c
LudovicRousseau May 7, 2024
a217c5c
meson: generate Doxygen documentation
LudovicRousseau May 7, 2024
2f65a5f
Update doxygen.conf.in file from 1.9.7 to 1.10.0
LudovicRousseau May 7, 2024
f8864e8
meson: add compilation of doc/example/pcsc_demo.c
LudovicRousseau May 7, 2024
dbabd09
Release 2.2.1
LudovicRousseau May 8, 2024
02081cf
Use meson to generate Doxygen documentation
LudovicRousseau May 8, 2024
dfd2e47
Serial support is ENABLED by default
LudovicRousseau May 10, 2024
0c07a1c
Release 2.2.2
LudovicRousseau May 20, 2024
763e4fe
c.sh: Do not define TMPDIR as it confuses clang
LudovicRousseau May 19, 2024
f9e84d0
meson: fail if both libusb and libudev are used
LudovicRousseau May 20, 2024
0284081
meson: a boolean option is true by default
LudovicRousseau May 20, 2024
400f0cd
Fix build on Slackware 15
LudovicRousseau May 21, 2024
63a9371
Avoid memory leaks
Jakuje May 21, 2024
6d9b717
Fix memory leak on exit
LudovicRousseau May 22, 2024
1b16d14
Fix build on Slackware 15
LudovicRousseau May 22, 2024
c24806f
Remove dead code
LudovicRousseau May 22, 2024
62ca7e8
IFDCloseIFD: Fix a locking issue
LudovicRousseau May 22, 2024
6243772
libpcscspy: dump an output buffer only if the call succeeded
LudovicRousseau May 22, 2024
c5c89b0
pcsc_demo: add tests for SCardGetAttrib() and SCardControl()
LudovicRousseau May 22, 2024
33a028a
Release 2.2.3
LudovicRousseau May 26, 2024
f6519bd
make building work again when flex is not installed
eli-schwartz Jun 11, 2024
294aee1
meson: specify minimum meson version to use
LudovicRousseau Jun 23, 2024
b81bc9b
meson: update minium version to 0.58.0
LudovicRousseau Jun 23, 2024
c9d0caa
meson: use true instead of 'true' and fix warning
LudovicRousseau Jun 23, 2024
9b9aabd
github action: generate doxygen documentation
LudovicRousseau Jun 23, 2024
5f4b3f8
remove unused #define
LudovicRousseau Jun 12, 2024
9adc7c8
testpcsc: do not ignore a SCardListReaders() error
LudovicRousseau Jun 13, 2024
16ae2be
Use symbol SCARD_S_SUCCESS instead of 0
LudovicRousseau Jun 23, 2024
2c82451
pcsc-lite: fix formats under musl
neheb Jun 30, 2024
f0e444e
SCardGetStatusChange(): trace the ATR length
LudovicRousseau Jun 29, 2024
5305272
Use meson's includedir instead of hard-coding 'include'
heirecka Jul 23, 2024
409b1ea
Add Appstream metainfo announcing HW support
LudovicRousseau Jul 24, 2024
4658abd
profile: fix compilation issue when DO_PROFILE is defined
LudovicRousseau Jul 14, 2024
a60c29b
profile: always display the returned value
LudovicRousseau Jul 14, 2024
42e8a6d
Store the number of reader events
LudovicRousseau Jul 14, 2024
53f57ed
Add a new server command: CMD_GET_READER_EVENTS
LudovicRousseau Jul 14, 2024
659611f
Add getReaderEvents() to get reader events from pcscd
LudovicRousseau Jul 14, 2024
4d98371
SCardGetStatusChange(): add the number of reader events
LudovicRousseau Jul 14, 2024
3521c09
Add unit test for SCardGetStatusChange() PnP events
LudovicRousseau Jun 26, 2024
525db63
clang-analyze.sh: update to meson
LudovicRousseau Jul 25, 2024
17d66da
Send libpcsclite.so logs to stderr instead of stdout
LudovicRousseau Jul 28, 2024
a2c25c5
Release 2.3.0
LudovicRousseau Aug 3, 2024
78c0832
Doxygen: document dwCurrentState use for "\\?PnP?\Notification"
LudovicRousseau Aug 4, 2024
daf1d93
meson: add "filter_names" in features when needed
LudovicRousseau Aug 12, 2024
d688f7e
meson: add options to disable polkit and libsystemd
brad0 Aug 14, 2024
a2a7e07
auth.c: fail the build if we don't have an IsClientAuthorized()
kevans91 Sep 5, 2024
19d0b26
auth.c: implement polkit support for FreeBSD
kevans91 Sep 5, 2024
c546974
Install a default /etc/default/pcscd file
LudovicRousseau Sep 13, 2024
b165b15
Fix warnings: variable 'kret' set but not use
LudovicRousseau Oct 9, 2024
8a45e77
Remove unused #include
LudovicRousseau Oct 9, 2024
d4c268a
Remove unused #include
LudovicRousseau Oct 16, 2024
55431b5
Move g_rgSCard* in its own file
LudovicRousseau Dec 23, 2024
6eb4d1c
meson: also build static version of libpcsclite
LudovicRousseau Dec 24, 2024
b9d6a7a
Fix compiler warning when compiled statically
LudovicRousseau Dec 23, 2024
f3400f3
Fix compiler warning when compiled statically
LudovicRousseau Dec 23, 2024
c59caf8
Fix compiler warning when compiled statically
LudovicRousseau Dec 23, 2024
c78c791
Makefile.am: fix build error
LudovicRousseau Dec 23, 2024
fa5e742
github actions: remove -D_FORTIFY_SOURCE declaration
LudovicRousseau Dec 23, 2024
049703f
Fix compiler warning
LudovicRousseau Dec 24, 2024
95f2dbc
meson: do not hardcode /etc directory name
LudovicRousseau Dec 23, 2024
fef91fd
Fix etc/pcscd syntax
LudovicRousseau Dec 24, 2024
be1c2a6
Release 2.3.1
LudovicRousseau Dec 24, 2024
8068bf1
pcsc-spy: add missing PCSCv2_PART10_PROPERTY_*
LudovicRousseau Dec 25, 2024
5b2dfb1
Fix compiler warnings with PCSCLITE_STATIC_DRIVER
LudovicRousseau Dec 26, 2024
02c7e1c
Fix compiler warnings with PCSCLITE_STATIC_DRIVER
LudovicRousseau Dec 26, 2024
881c287
Fix compiler warning
LudovicRousseau Dec 28, 2024
4e5bb43
Add comments about polkit support
LudovicRousseau Dec 28, 2024
a4184a0
Support udev PCSCLITE_IGNORE property to filter readers
vuori Jan 24, 2025
0e0f7d1
The udev file needs to use the extention ".rules"
LudovicRousseau Jan 25, 2025
4c3d812
Fix compiler warning
LudovicRousseau Feb 4, 2025
efe2458
libpcscspy: make init thread safe
LudovicRousseau Feb 4, 2025
f0f4fa1
libredirect: make init thread safe
LudovicRousseau Feb 4, 2025
5157cea
debuglog.c: use stdbool
LudovicRousseau Feb 20, 2025
2770701
debuglog: force use of colors when --color is used
LudovicRousseau Feb 20, 2025
00c21fb
Hardening systemd pcscd.service file
LudovicRousseau Jan 18, 2025
ba9ca37
README.md: add Contributors
LudovicRousseau Mar 13, 2025
b2ba655
pcscd.service: add missing Requires=polkit.service
LudovicRousseau Mar 19, 2025
3f02259
SCardGetAttrib.py: modernize code
LudovicRousseau Mar 23, 2025
a5f2761
Run black(1) on the UnitaryTests/*.py files
LudovicRousseau Mar 23, 2025
38b1240
Release 2.3.2
LudovicRousseau Mar 26, 2025
cd3c412
Update issue templates
LudovicRousseau Mar 28, 2025
d995430
Remove old issue template
LudovicRousseau Mar 28, 2025
8985835
Make polkit rules work again
LudovicRousseau Apr 2, 2025
3ef55e0
Release 2.3.3
LudovicRousseau Apr 2, 2025
0c7c2c4
Fix libpcsclite.pc file generated by Meson
arrowd Apr 13, 2025
adab5f9
Doxygen: document how the SCardListReaders() reader list is formatted
LudovicRousseau Apr 14, 2025
80a5f44
Doxygen; use doxygen-awesome-css
LudovicRousseau Apr 14, 2025
3134731
Doxygen: minor formatting improvement
LudovicRousseau Apr 14, 2025
6c2ddd2
meson: respect builtin meson default_library option
eli-schwartz May 6, 2025
b62b635
Merge pull request #234 from eli-schwartz/default_library
LudovicRousseau May 7, 2025
3e734d7
meson: build and install spy lib & tool only when needed
LudovicRousseau May 7, 2025
2a8defa
CheckAutoPowerOff: fix pylint warnings
LudovicRousseau Aug 8, 2025
db243aa
control_get_firmware: fix pylint warning
LudovicRousseau Aug 11, 2025
5b204d8
control_switch_interface: fix pylint warning
LudovicRousseau Aug 11, 2025
b5dfd44
FEATURE_CCID_ESC_COMMAND_Gemalto_features: fix pylint warnings
LudovicRousseau Aug 11, 2025
84e457d
getAttrib: fix pylint warning
LudovicRousseau Aug 11, 2025
1b7a3ef
MCT_ReaderDirect: fix pylint warnings
LudovicRousseau Aug 11, 2025
009a344
reset_card: fix pylint warning
LudovicRousseau Aug 11, 2025
93eb4c6
SCardBeginTransaction_deadlock: fix pylint warnings
LudovicRousseau Aug 11, 2025
c2de711
SCardBeginTransaction_Disconnect: fix pylint warnings
LudovicRousseau Aug 11, 2025
1262386
SCardBeginTransaction_ExclusiceMode: fix pylint warnings
LudovicRousseau Aug 11, 2025
0f51388
SCardBeginTransaction_Reset: fix pylint warnings
LudovicRousseau Aug 11, 2025
be77be3
control_switch_interface: fix pylint warning
LudovicRousseau Aug 11, 2025
e87b031
SCardBeginTransaction_SharedMode: fix pylint warning
LudovicRousseau Aug 11, 2025
96e43fb
SCardBlockingBehaviourTest: fix pylint warnings
LudovicRousseau Aug 11, 2025
9777b15
SCardCancel: fix pylint warnings
LudovicRousseau Aug 12, 2025
826275b
SCardCancel2: fix pylint warnings
LudovicRousseau Aug 12, 2025
f87d599
SCardCancel3: fix pylint warnings
LudovicRousseau Aug 12, 2025
9bcefd2
SCardConnect_DIRECT: fix pylint warnings
LudovicRousseau Aug 12, 2025
6f2cccb
SCardConnect_DIRECT2: fix pylint warnings
LudovicRousseau Aug 12, 2025
7f1d714
SCardEndTransaction_extra_call: fix pylint warnings
LudovicRousseau Aug 12, 2025
12f5035
SCardExclusiveBehaviour: fix pylint warnings
LudovicRousseau Aug 12, 2025
5aba625
SCard_fork: fix pylint warnings
LudovicRousseau Aug 12, 2025
a8b5e57
SCardGetAttrib: fix pylint warnings
LudovicRousseau Aug 12, 2025
adaabc1
SCardGetStatusChange: fix pylint warnings
LudovicRousseau Aug 12, 2025
406b68e
SCardGetStatusChange_loop: fix pylint warnings
LudovicRousseau Aug 12, 2025
b839cb9
SCardGetStatusChange_PnP: fix pylint warnings
LudovicRousseau Aug 12, 2025
2bc0b7f
SCardGetStatusChange_PnP_Events: fix pylint warnings
LudovicRousseau Aug 12, 2025
6ca82f6
SCardGetStatusChange: fix pylint warnings
LudovicRousseau Aug 12, 2025
5441adf
SCardGetStatusChange2: fix pylint warnings
LudovicRousseau Aug 12, 2025
c386bf6
SCardReconnect: fix pylint warnings
LudovicRousseau Aug 12, 2025
11c9f22
SCard_RemovedReader: fix pylint warnings
LudovicRousseau Aug 12, 2025
93fc7f3
SCardStatus: fix pylint warnings
LudovicRousseau Aug 12, 2025
feb8f98
stress_apdu: fix pylint warnings
LudovicRousseau Aug 12, 2025
89dad15
stress_get_firmware: fix pylint warnings
LudovicRousseau Aug 12, 2025
5eac9f6
ThreadSafe: fix pylint warnings
LudovicRousseau Aug 12, 2025
3640bbe
ThreadSafeConnect: fix pylint warnings
LudovicRousseau Aug 12, 2025
b84e278
transmit_card_removed: fix pylint warnings
LudovicRousseau Aug 12, 2025
d655078
transmit_loop: fix pylint warnings
LudovicRousseau Aug 12, 2025
110a78c
Add UnitaryTests/.pylintrc
LudovicRousseau Aug 12, 2025
fe6ca58
Protect contextMapList modifications using a mutex
LudovicRousseau Aug 20, 2025
5580fa4
control_get_firmware: import symbols from smartcard.scard
LudovicRousseau Aug 30, 2025
e8af982
control_switch_interface: import symbols from smartcard.scard
LudovicRousseau Aug 30, 2025
3847d09
FEATURE_CCID_ESC_COMMAND_Gemalto_features: import symbols from smartc…
LudovicRousseau Aug 30, 2025
62dffc3
FEATURE_CCID_ESC_COMMAND_Xiring: sort imports
LudovicRousseau Aug 30, 2025
9b7c07b
FEATURE_GET_TLV_PROPERTIES: sort imports
LudovicRousseau Aug 30, 2025
f5aa3fb
getAttrib: print the attribute names
LudovicRousseau Aug 30, 2025
c8ad5a4
MCT_ReaderDirect: reformat
LudovicRousseau Aug 30, 2025
851de24
transmit_card_removed: check the test applet is available
LudovicRousseau Aug 30, 2025
10e84f5
fix build when linking against glibc < 2.34
ndusart Sep 18, 2025
a98aadd
FEATURE_GET_TLV_PROPERTIES: fix pylint C0209 warning
LudovicRousseau Oct 19, 2025
f91d765
Run pcscd under a pcscd user instead of root when using systemd
bluetech Feb 16, 2025
6729642
Set PIDFile in systemd service file
bluetech Feb 19, 2025
0030d75
Factorize code
LudovicRousseau Oct 19, 2025
4c8fce0
Release 2.4.0
LudovicRousseau Oct 19, 2025
504e3ba
systemd Fails to parse boolean value.
stephan57160 Dec 5, 2025
1054dc4
Merge pull request #242 from stephan57160/master
LudovicRousseau Dec 5, 2025
ae0e2f8
UT: check for SCardGetStatusChange()
LudovicRousseau Oct 16, 2024
448dbe2
meson: install systemd files even if libsystemd is not used
LudovicRousseau Dec 10, 2025
80ec3b9
Merge pull request #243 from fossdd/systemd
LudovicRousseau Dec 10, 2025
2aeb128
etc/pcscd: update PCSCLITE_CSOCK_NAME documentation
LudovicRousseau Dec 20, 2025
77b01ba
etc/pcscd: update PCSCLITE_NO_BLOCKING documentation
LudovicRousseau Dec 20, 2025
4a507ac
hotplug_generic: log a message when used
LudovicRousseau Nov 9, 2025
db459f9
Add backward version support on the client side
LudovicRousseau Dec 22, 2025
4ca3102
Code reformat
LudovicRousseau Dec 23, 2025
e0117bf
rv2text: add SCARD_E_SERVICE_STOPPED
LudovicRousseau Dec 23, 2025
c4dbe7b
Doxygen: SCardEstablishContext() can return SCARD_E_SERVICE_STOPPED
LudovicRousseau Dec 23, 2025
18e16b3
Add backward version support on the server side
LudovicRousseau Dec 23, 2025
2ec87fb
hotplug libudev: rescan the USB bus with "pcscd --hotplug"
LudovicRousseau Dec 24, 2025
5a96d5b
Release 2.4.1
LudovicRousseau Jan 1, 2026
9f18642
Fix typo
LudovicRousseau Jan 7, 2026
ee90c80
UT stress_get_firmware: fix imports
LudovicRousseau Jan 14, 2026
67d91f5
pcsc_demo.c also uses the BSD-3-Clause licence
LudovicRousseau Feb 19, 2026
08b144b
setup_spy.sh: add GNU GPL v3+ license header text
LudovicRousseau Feb 19, 2026
8df3b82
setup_spy.sh: fail and exit on first error
LudovicRousseau Feb 19, 2026
284bae2
hotplug: no directory driver is not an error
LudovicRousseau Mar 4, 2026
408abd8
pcscd: always exit if HPRegisterForHotplugEvents() fails
LudovicRousseau Mar 4, 2026
7b12ffc
tokenparser: store file name for later use
LudovicRousseau Mar 4, 2026
c877fb8
tokenparser: avoid a crash with corrupted Info.plist files
LudovicRousseau Mar 4, 2026
6667870
Update copyright dates
LudovicRousseau Mar 4, 2026
0622538
Merge branch 'master' into joerger/sync-teleport
Joerger Mar 17, 2026
373ea8b
Remove remaining references to removed GNU GPL v3 code.
Joerger Mar 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 0 additions & 35 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

51 changes: 51 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: LudovicRousseau

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1.
2.
3.
4.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Versions:**
- smart card reader driver name and version
- pcsc-lite version
- the output of the command `/usr/sbin/pcscd --version`

**Platform:**
- Operating system or GNU/Linux distribution name and version
- Smart card middleware name and version
- Smart card reader manufacturer name and reader model name
- Smart card name

**Log:**
Then you shall generate a complete log (do not truncate it).

- If you need to enter the smart card PIN to reproduce the problem then
consider changing your PIN before generating the logs as the PIN value
will be included in the logs.
- Kill any running pcscd process
- (re)start pcscd exactly as described bellow:
```
sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground --debug --apdu --color | tee log.txt
```
- Stop pcscd (using Control-C) after the problem occurred and send me the
generated `log.txt` file

See also https://pcsclite.apdu.fr/#support

**Additional context**
Add any other context about the problem here.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job
# can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: setup prerequisites
shell: bash
Expand All @@ -46,11 +46,11 @@ jobs:
shell: bash
run: |
./bootstrap
export CFLAGS="-Wall -Wextra -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-enum -Wundef -Wuninitialized -Wunused -Wwrite-strings -Wmissing-noreturn -flto=auto -O2 -Wp,-D_FORTIFY_SOURCE=2"
./configure ${{ matrix.configure_args }}
export CFLAGS="-Wall -Wextra -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-enum -Wundef -Wuninitialized -Wunused -Wwrite-strings -Wmissing-noreturn -flto=auto -O2"
./configure --disable-polkit ${{ matrix.configure_args }}
make V=1

- name: distcheck
shell: bash
run: |
make distcheck
AM_DISTCHECK_CONFIGURE_FLAGS=--disable-polkit make distcheck
59 changes: 59 additions & 0 deletions .github/workflows/build_meson.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: build_meson

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on: [push, pull_request]

# A workflow run is made up of one or more jobs that can run
# sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job
# can access it
- uses: actions/checkout@v4

- name: setup prerequisites
shell: bash
run: |
sudo apt update
sudo apt install \
autoconf-archive \
debhelper-compat \
doxygen \
dpkg-dev \
flex \
libpolkit-gobject-1-dev \
libsystemd-dev \
libudev-dev \
libusb-1.0-0-dev \
meson \
pkg-config

- name: compile
shell: bash
run: |
export CFLAGS="-Wall -Wextra -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-enum -Wundef -Wuninitialized -Wunused -Wwrite-strings -Wmissing-noreturn -flto=auto -O2"
meson setup builddir --werror
cd builddir

DESTDIR=/tmp/pcsc meson install
find /tmp/pcsc

meson dist

# doxygen
meson compile doc

meson setup --reconfigure -Dlibsystemd=false -Dlibudev=false -Dpolkit=false
meson compile

meson setup --reconfigure -Dserial=true
meson compile

meson setup --reconfigure -Dembedded=true
meson compile
Loading
Loading