Closed darkbasic closed 1 month ago
Buongiorno, Stesso errore. Distro: Ubuntu 22.04.4 LTS Lettore: ACR1581U-C1
Altri dettagli? commit usato? ad ogni modo non riproduco. sicuri di aver attivato il demone pcscd?
Il commit è il git master di 3 giorni fa, pacchetto da AUR. Il demone era attivo anche perché appena ripassavo al pacchetto binario da upstream funzionava e ripassando al fork smetteva di funzionare di nuovo.
Questa repo non ha avuto nessun commit 3 giorni fa e non usa il master ma main come branch. è gestito dal pacchetto cie-middleware-git su AUR. inoltre è consigliato riavviare il demone a reinstallazione della lib (soprattutto tra fork e upstream). Ad ogni modo gradirei non parlare dell'upstream, ma solo dei problemi relativi a questa repo. Sono graditi inoltre dettagli.
Era solo per dire "qualunque fosse l'ultimo commit nel main branch 3 giorni fa". Il demone l'ho riavviato, altri dettagli non saprei quali darti perché tutto quello che mi ha loggato su shell te l'ho postato. In che modo posso fornirti dei log più verbose?
Spero possa essere utile. Grazie!
cie-middleware-1.5.2 ########## $ ps -e | grep pcsc 2771 ? 00:00:00 pcscd ########## $ java -version openjdk version "17.0.11" 2024-04-16 OpenJDK Runtime Environment (build 17.0.11+9-Ubuntu-122.04.1) OpenJDK 64-Bit Server VM (build 17.0.11+9-Ubuntu-122.04.1, mixed mode, sharing)
$ javac -version javac 17.0.11 ########## $ pcsc_scan Using reader plug'n play mechanism Scanning present readers... 0: ACS ACR1581 1S Dual Reader [ACR1581 1S Dual Reader PICC] 00 00 1: ACS ACR1581 1S Dual Reader [ACR1581 1S Dual Reader ICC] 01 00 2: ACS ACR1581 1S Dual Reader [ACR1581 1S Dual Reader SAM] 02 00
Fri Jul 19 10:09:32 2024 Reader 0: ACS ACR1581 1S Dual Reader [ACR1581 1S Dual Reader PICC] 00 00 Event number: 5 Card state: Card inserted, Shared Mode, ATR: 3B 8F 80 01 80 31 80 65 49 54 4A 34 44 12 0F FF 82 90 00 8D
ATR: 3B 8F 80 01 80 31 80 65 49 54 4A 34 44 12 0F FF 82 90 00 8D
TS = 3B --> Direct Convention
T0 = 8F, Y(1): 1000, K: 15 (historical bytes) TD(1) = 80 --> Y(i+1) = 1000, Protocol T = 0
TD(2) = 01 --> Y(i+1) = 0000, Protocol T = 1
Historical bytes: 80 31 80 65 49 54 4A 34 44 12 0F FF 82 90 00 Category indicator byte: 80 (compact TLV data object) Tag: 3, len: 1 (card service data byte) Card service data byte: 80
TCK = 8D (correct checksum)
Possibly identified card (using /home/bruno/.cache/smartcard_list.txt): 3B 8F 80 01 80 31 80 65 49 54 4A 34 44 12 0F FF 82 90 00 8D CIE Italian Electronic Identity Card (eID) Reader 1: ACS ACR1581 1S Dual Reader [ACR1581 1S Dual Reader ICC] 01 00 Event number: 0 Card state: Card removed, Reader 2: ACS ACR1581 1S Dual Reader [ACR1581 1S Dual Reader SAM] 02 00 Event number: 1 Card state: Card removed,
Fri Jul 19 10:09:46 2024 Reader 0: ACS ACR1581 1S Dual Reader [ACR1581 1S Dual Reader PICC] 00 00 Event number: 6 Card state: Card removed,
Fri Jul 19 10:09:47 2024 Reader 0: ACS ACR1581 1S Dual Reader [ACR1581 1S Dual Reader PICC] 00 00 Event number: 7 Card state: Card inserted, ATR: 3B 8F 80 01 80 31 80 65 49 54 4A 34 44 12 0F FF 82 90 00 8D
ATR: 3B 8F 80 01 80 31 80 65 49 54 4A 34 44 12 0F FF 82 90 00 8D
TS = 3B --> Direct Convention
T0 = 8F, Y(1): 1000, K: 15 (historical bytes) TD(1) = 80 --> Y(i+1) = 1000, Protocol T = 0
TD(2) = 01 --> Y(i+1) = 0000, Protocol T = 1
Historical bytes: 80 31 80 65 49 54 4A 34 44 12 0F FF 82 90 00 Category indicator byte: 80 (compact TLV data object) Tag: 3, len: 1 (card service data byte) Card service data byte: 80
TCK = 8D (correct checksum)
Possibly identified card (using /home/bruno/.cache/smartcard_list.txt): 3B 8F 80 01 80 31 80 65 49 54 4A 34 44 12 0F FF 82 90 00 8D CIE Italian Electronic Identity Card (eID)
########## $ cieid java.io.FileNotFoundException: /home/bruno/.CIEID/cieid.props (File o directory non esistente) ~/.CIEID$ touch cieid.props ########## Tentativo di abbinare la CIE $ cieid TabbedPan Selected Index: 0 Unable to load page Unable to load page Unable to load page tabbedPanel: javax.swing.JTabbedPane[,200,-65,600x635,invalid,layout=javax.swing.plaf.metal.MetalTabbedPaneUI$TabbedPaneLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=352,maximumSize=,minimumSize=,preferredSize=,haveRegistered=false,tabPlacement=TOP] TabbedPan Selected Index: 1 File INI: Lib log level: 2 Lib log level: 2 Lib log level: 2 Lib log level: 2 Lib log level: 2 Lib log level: 2 Lib log level: 2 Lib log level: 2 Lib log level: 2 Lib log level: 2 ^CLib log level: 2
Potete confermare che questo commit fixa https://github.com/M0Rf30/cie-middleware-linux/tree/fix/cie-detection
?
Mi spiace ma non so come fare
Posso provare il 29, non ho il lettore con me ora
aspetteremo il 29 allora @Brunone ci sono le istruzioni in README.md per compilare la libreria in c
Mi sono fermato qui ("meson setup builddir libs"), sto cercando di risolvere. Ubuntu 22.04 LTS $ meson setup builddir libs The Meson build system Version: 0.61.2 Source dir: /home/bruno/Scaricati/cie-middleware-linux-fix-cie-detection/libs Build dir: /home/bruno/Scaricati/cie-middleware-linux-fix-cie-detection/builddir Build type: native build Project name: libcie-pkcs11 Project version: 1.5.2 C compiler for the host machine: cc (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C linker for the host machine: cc ld.bfd 2.38 C++ compiler for the host machine: c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C++ linker for the host machine: c++ ld.bfd 2.38 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: /usr/bin/pkg-config (1.8.0) Run-time dependency libcrypto found: YES 3.0.2 Run-time dependency libcrypto++ found: YES 8.6 Found CMake: /usr/bin/cmake (3.22.1) Run-time dependency libcryptopp found: NO (tried pkgconfig and cmake) Run-time dependency cryptopp found: NO (tried pkgconfig and cmake) Run-time dependency libpcsclite found: YES 1.9.5 Run-time dependency threads found: YES Run-time dependency libcurl found: YES 7.81.0 Run-time dependency fontconfig found: YES 2.13.1 Run-time dependency freetype2 found: YES 24.1.18 Run-time dependency libpng found: YES 1.6.37 Library libpodofo found: YES Run-time dependency libxml-2.0 found: YES 2.9.13 Run-time dependency xml2 found: NO (tried pkgconfig and cmake) Run-time dependency zlib found: YES 1.2.11 Build targets in project: 2 Found ninja-1.10.1 at /usr/bin/ninja
ii libxml++2.6-2v5:amd64 2.40.1-3build3 amd64 C++ interface to the GNOME XML library (libxml2) ii libxml-libxml-perl 2.0207+dfsg+really+2.0134-1 amd64 Perl interface to the libxml2 library ii libxml2:amd64 2.9.13+dfsg-1ubuntu0.4 amd64 GNOME XML library ii libxml2-dev:amd64 2.9.13+dfsg-1ubuntu0.4 amd64 GNOME XML library - development files ii python3-lxml:amd64 4.8.0-1build1 amd64 pythonic binding for the libxml2 and libxslt libraries ii xml2 0.5-4build1 amd64 Convert between XML, HTML, CSV and a line-oriented format
ii android-libcrypto-utils 1:10.0.0+r36-9 amd64 Android crypto-utils library ii libcrypto++-dev:amd64 8.6.0-2ubuntu1 amd64 General purpose cryptographic library - C++ development ii libcrypto++-utils 8.6.0-2ubuntu1 amd64 General purpose cryptographic library - utilities and data files ii libcrypto++8:amd64 8.6.0-2ubuntu1 amd64 General purpose cryptographic library - shared library
Mi sono fermato qui ("meson setup builddir libs"), sto cercando di risolvere. Ubuntu 22.04 LTS $ meson setup builddir libs The Meson build system Version: 0.61.2 Source dir: /home/bruno/Scaricati/cie-middleware-linux-fix-cie-detection/libs Build dir: /home/bruno/Scaricati/cie-middleware-linux-fix-cie-detection/builddir Build type: native build Project name: libcie-pkcs11 Project version: 1.5.2 C compiler for the host machine: cc (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C linker for the host machine: cc ld.bfd 2.38 C++ compiler for the host machine: c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C++ linker for the host machine: c++ ld.bfd 2.38 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: /usr/bin/pkg-config (1.8.0) Run-time dependency libcrypto found: YES 3.0.2 Run-time dependency libcrypto++ found: YES 8.6 Found CMake: /usr/bin/cmake (3.22.1) Run-time dependency libcryptopp found: NO (tried pkgconfig and cmake) Run-time dependency cryptopp found: NO (tried pkgconfig and cmake) Run-time dependency libpcsclite found: YES 1.9.5 Run-time dependency threads found: YES Run-time dependency libcurl found: YES 7.81.0 Run-time dependency fontconfig found: YES 2.13.1 Run-time dependency freetype2 found: YES 24.1.18 Run-time dependency libpng found: YES 1.6.37 Library libpodofo found: YES Run-time dependency libxml-2.0 found: YES 2.9.13 Run-time dependency xml2 found: NO (tried pkgconfig and cmake) Run-time dependency zlib found: YES 1.2.11 Build targets in project: 2 Found ninja-1.10.1 at /usr/bin/ninja
dpkg -l | grep xml2
ii libxml++2.6-2v5:amd64 2.40.1-3build3 amd64 C++ interface to the GNOME XML library (libxml2) ii libxml-libxml-perl 2.0207+dfsg+really+2.0134-1 amd64 Perl interface to the libxml2 library ii libxml2:amd64 2.9.13+dfsg-1ubuntu0.4 amd64 GNOME XML library ii libxml2-dev:amd64 2.9.13+dfsg-1ubuntu0.4 amd64 GNOME XML library - development files ii python3-lxml:amd64 4.8.0-1build1 amd64 pythonic binding for the libxml2 and libxslt libraries ii xml2 0.5-4build1 amd64 Convert between XML, HTML, CSV and a line-oriented format
dpkg -l | grep libcrypto
ii android-libcrypto-utils 1:10.0.0+r36-9 amd64 Android crypto-utils library ii libcrypto++-dev:amd64 8.6.0-2ubuntu1 amd64 General purpose cryptographic library - C++ development ii libcrypto++-utils 8.6.0-2ubuntu1 amd64 General purpose cryptographic library - utilities and data files ii libcrypto++8:amd64 8.6.0-2ubuntu1 amd64 General purpose cryptographic library - shared library
devi eseguire l'istruzione successiva del readme
meson compile -C builddir
e poi copiare
sudo cp builddir/libcie-pkcs11.so /usr/lib
L'output di dpkg non ha senso
Carta di Identità Elettronica abbinata correttamente. Grazie!
Carta di Identità Elettronica abbinata correttamente. Grazie!
Ottimo a sapersi, aspetto anche conferma di @darkbasic e procedo col merge
@M0Rf30 funziona grazie
Mi da questo errore mentre provo ad abbinare la CIE. Il repo ufficiale funziona.
Distro: Arch Linux Lettore: miniLECTOR AIR bit4id