libcacard issueshttps://gitlab.freedesktop.org/spice/libcacard/-/issues2021-01-04T16:39:08Zhttps://gitlab.freedesktop.org/spice/libcacard/-/issues/5RFE: Do not depend on NSS library2021-01-04T16:39:08ZTomasz KłoczkoRFE: Do not depend on NSS libraryOn my system libcacard is one of only few packages which is not possible to build against other than nss encryption library.
Do you have any plans to port that part of the code to openssl?On my system libcacard is one of only few packages which is not possible to build against other than nss encryption library.
Do you have any plans to port that part of the code to openssl?https://gitlab.freedesktop.org/spice/libcacard/-/issues/6RFE: Emulate different and more common card type2021-01-04T16:39:08ZJakub JelenRFE: Emulate different and more common card typelibcacard historically implemented CACv1 smart cards interface, which was very simple. It was recently changed to CACv2, which is more complicated but it is a bit better supported by other middleware, but still quite restricted to the Do...libcacard historically implemented CACv1 smart cards interface, which was very simple. It was recently changed to CACv2, which is more complicated but it is a bit better supported by other middleware, but still quite restricted to the DoD domain.
Implementing PIV smart card interface, should give us better compatibility with even more middleware applications as the PIV is no longer "only" US Government standard, but also implemented by many token manufacturers. The question is, whether the library should be still called libCACard after implementing this feature and whether there should be possibility to chose between these two or it should completely replace the CAC implementation.https://gitlab.freedesktop.org/spice/libcacard/-/issues/10x86_64 Testsuite ERROR libcacard 2.7.02021-01-04T16:39:08Zsanmanx86_64 Testsuite ERROR libcacard 2.7.0Hi Team,
I get an error in libcacard 2.7.0 when make check, the details are as follows:
```
[ 447s] make check-TESTS
[ 447s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/libcacard-2.7.0'
[ 447s] make[4]: Entering direct...Hi Team,
I get an error in libcacard 2.7.0 when make check, the details are as follows:
```
[ 447s] make check-TESTS
[ 447s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/libcacard-2.7.0'
[ 447s] make[4]: Entering directory '/home/abuild/rpmbuild/BUILD/libcacard-2.7.0'
[ 447s] PASS: tests/libcacard 1 /libcacard/hexdump
[ 447s] PASS: tests/libcacard 2 /libcacard/list
[ 447s] PASS: tests/libcacard 3 /libcacard/card-remove-insert
[ 447s] PASS: tests/libcacard 4 /libcacard/xfer
[ 447s] PASS: tests/libcacard 5 /libcacard/select-coid
[ 447s] PASS: tests/libcacard 6 /libcacard/cac-pki
[ 447s] PASS: tests/libcacard 7 /libcacard/cac-ccc
[ 447s] PASS: tests/libcacard 8 /libcacard/cac-aca
[ 447s] PASS: tests/libcacard 9 /libcacard/get-response
[ 447s] PASS: tests/libcacard 10 /libcacard/check-login-count
[ 447s] PASS: tests/libcacard 11 /libcacard/login
[ 447s] PASS: tests/libcacard 12 /libcacard/sign
[ 447s] PASS: tests/libcacard 13 /libcacard/empty-applets
[ 447s] PASS: tests/libcacard 14 /libcacard/gp-applet
[ 447s] PASS: tests/libcacard 15 /libcacard/msft-applet
[ 447s] PASS: tests/libcacard 16 /libcacard/invalid-properties-apdu
[ 447s] PASS: tests/libcacard 17 /libcacard/invalid-select-apdu
[ 447s] PASS: tests/libcacard 18 /libcacard/invalid-instruction
[ 447s] PASS: tests/libcacard 19 /libcacard/invalid-read-buffer
[ 447s] PASS: tests/libcacard 20 /libcacard/invalid-acr
[ 447s] PASS: tests/libcacard 21 /libcacard/get-atr
[ 447s] PASS: tests/libcacard 22 /libcacard/passthrough-applet
[ 447s] PASS: tests/libcacard 23 /libcacard/remove
[ 447s] PASS: tests/simpletlv 1 /simpletlv/length/simple
[ 447s] PASS: tests/simpletlv 2 /simpletlv/length/nested
[ 447s] PASS: tests/simpletlv 3 /simpletlv/length/skipped
[ 447s] PASS: tests/simpletlv 4 /simpletlv/encode/simple
[ 447s] PASS: tests/simpletlv 5 /simpletlv/encode/nested
[ 447s] PASS: tests/simpletlv 6 /simpletlv/encode/skipped
[ 447s] PASS: tests/simpletlv 7 /simpletlv/parse/simple
[ 447s] PASS: tests/simpletlv 8 /simpletlv/parse/last_bad
[ 447s] PASS: tests/simpletlv 9 /simpletlv/clone/simple
[ 447s] PASS: tests/hwtests 1 /hw-tests/list
[ 447s] PASS: tests/hwtests 2 /hw-tests/passthrough-applet
[ 447s] PASS: tests/hwtests 3 /hw-tests/check-login-count
[ 447s] PASS: tests/hwtests 4 /hw-tests/msft-applet
[ 447s] PASS: tests/hwtests 5 /hw-tests/gp-applet
[ 447s] PASS: tests/hwtests 6 /hw-tests/login
[ 447s] PASS: tests/hwtests 7 /hw-tests/sign
[ 447s] PASS: tests/hwtests 8 /hw-tests/sign-bad-data
[ 447s] PASS: tests/hwtests 9 /hw-tests/empty-applets
[ 447s] PASS: tests/hwtests 10 /hw-tests/get-response
[ 447s] PASS: tests/hwtests 11 /hw-tests/sign-logout-sign
[ 447s] ERROR: tests/hwtests - exited with status 139 (terminated by signal 11?)
[ 447s] ============================================================================
[ 447s] Testsuite summary for libcacard 2.7.0
[ 447s] ============================================================================
[ 447s] # TOTAL: 44
[ 447s] # PASS: 43
[ 447s] # SKIP: 0
[ 447s] # XFAIL: 0
[ 447s] # FAIL: 0
[ 447s] # XPASS: 0
[ 447s] # ERROR: 1
[ 447s] ============================================================================
[ 447s] See ./test-suite.log
[ 447s] Please report to spice-devel@lists.freedesktop.org
[ 447s] ============================================================================
[ 447s] make[4]: *** [Makefile:1498: test-suite.log] Error 1
[ 447s] make[4]: Leaving directory '/home/abuild/rpmbuild/BUILD/libcacard-2.7.0'
[ 447s] make[3]: *** [Makefile:1606: check-TESTS] Error 2
[ 447s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/libcacard-2.7.0'
[ 447s] make[2]: *** [Makefile:1854: check-am] Error 2
[ 447s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/libcacard-2.7.0'
[ 447s] make[1]: *** [Makefile:1383: check-recursive] Error 1
[ 447s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/libcacard-2.7.0'
[ 447s] make: *** [Makefile:1857: check] Error 2
[ 447s] error: Bad exit status from /var/tmp/rpm-tmp.FndeHx (%check)
[ 447s]
[ 447s]
[ 447s] RPM build errors:
[ 447s] Bad exit status from /var/tmp/rpm-tmp.FndeHx (%check)
[ 447s]
[ 447s] ecs-obsworker-206 failed "build libcacard.spec" at Wed Aug 19 12:03:52 UTC 2020.
[ 447s]
```
details of ./test-suite.log are as follows:
![testsuit-log](/uploads/261a1457c3a8100f5c02ddcf0d5208f0/testsuit-log.PNG)
details ./build_aux/tap-test are as follows:
![build-aux_tap-test](/uploads/2a7c073cc8db562aa801bf625231f37b/build-aux_tap-test.PNG)
I get a very similar error when google that as follows:
https://bugs.gentoo.org/show_bug.cgi?id=CVE-2017-6414#c16
I can't deal with this problem so far, Please help me. (o:https://gitlab.freedesktop.org/spice/libcacard/-/issues/12Native TLS/SSL TCP connection instead of ssh/port forwarding2022-06-22T17:38:13ZVincent JARDINNative TLS/SSL TCP connection instead of ssh/port forwardingHi,
instead of ssh/port forwarding, I plan to add the support for some secured TCP sockets for vscclient. I do not have any background about this project. Would you accept a pull request of such feature once it'll become available ? Whi...Hi,
instead of ssh/port forwarding, I plan to add the support for some secured TCP sockets for vscclient. I do not have any background about this project. Would you accept a pull request of such feature once it'll become available ? Which CI framework should be extended in order to include some tests with a secured TCP socket ?
thank you,https://gitlab.freedesktop.org/spice/libcacard/-/issues/15Failure in CI2023-06-12T11:21:58ZFrediano ZiglioFailure in CISometimes the `Fedora memcheck` job is failing. When this happens the job timeout. I saw the issue twice (first time I just restarted thinking it was a system issue)
In one report I found (not sure if it's related)
```
==6256== Thread 3...Sometimes the `Fedora memcheck` job is failing. When this happens the job timeout. I saw the issue twice (first time I just restarted thinking it was a system issue)
In one report I found (not sure if it's related)
```
==6256== Thread 3:
==6256== Conditional jump or move depends on uninitialised value(s)
==6256== at 0x4AB5B28: ??? (in /usr/lib64/libnss3.so)
==6256== by 0x4AB5E65: SECMOD_WaitForAnyTokenEvent (in /usr/lib64/libnss3.so)
==6256== by 0x4862D34: vcard_emul_event_thread (vcard_emul_nss.c:830)
==6256== by 0x4BF6412: ??? (in /usr/lib64/libnspr4.so)
==6256== by 0x4C9912C: start_thread (in /usr/lib64/libc.so.6)
==6256== by 0x4D19D73: clone (in /usr/lib64/libc.so.6)
==6256==
```