Created
July 1, 2025 10:03
-
-
Save dgacias/50bc6a2a5343e25c8719b8fbb6c6862e to your computer and use it in GitHub Desktop.
Instalar autofirma en CachyOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Instalar Autofirma en CachyOS | |
| sudo pacman -S ccid pcsc-tools opensc | |
| sudo systemctl enable --now pcscd.service | |
| paru -S --noconfirm --skipreview autofirma | |
| #Una vez instalado, Para comprobar si te detecta el lector de DNIE, usa este comando (he sustituido los datos hexadecimales por "AA" por privacidad), y también debería detectar en tiempo real cuando introduces o sacas tu DNIE. | |
| # ❯ pcsc_scan | |
| #PC/SC device scanner | |
| #V 1.7.3 (c) 2001-2024, Ludovic Rousseau <[email protected]> | |
| #Using reader plug'n play mechanism | |
| #Scanning present readers... | |
| #0: ACS ACR 38U-CCID 00 00 | |
| #Tue Jul 1 11:57:06 2025 | |
| # Reader 0: ACS ACR 38U-CCID 00 00 | |
| # Event number: 0 | |
| # Card state: Card inserted, | |
| # ATR: AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA | |
| # | |
| #ATR: AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA | |
| #+ TS = 3B --> Direct Convention | |
| #+ T0 = 7F, Y(1): 0111, K: 15 (historical bytes) | |
| # TA(1) = 96 --> Fi=512, Di=32, 16 cycles/ETU | |
| # 250000 bits/s at 4 MHz, fMax for Fi = 5 MHz => 312500 bits/s | |
| # TB(1) = 00 --> VPP is not electrically connected | |
| # TC(1) = 00 --> Extra guard time: 0 | |
| #+ Historical bytes: AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA | |
| # Category indicator byte: 00 (compact TLV data object) | |
| # Tag: 6, len: A (pre-issuing data) | |
| # Data: 44 4E 49 65 10 01 01 55 04 21 | |
| # Mandatory status indicator (3 last bytes) | |
| # LCS (life card cycle): 03 (Initialisation state) | |
| # SW: 9000 (Normal processing.) | |
| # | |
| #Possibly identified card (using /usr/share/pcsc/smartcard_list.txt): | |
| #AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA | |
| #AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA | |
| # DNIE Spain (eID) | |
| # http://www.dnielectronico.es/PortalDNIe/ | |
| #Tue Jul 1 11:57:07 2025 | |
| # Reader 0: ACS ACR 38U-CCID 00 00 | |
| # Event number: 1 | |
| # Card state: Card removed, | |
| # | |
| #Tue Jul 1 11:57:12 2025 | |
| # Reader 0: ACS ACR 38U-CCID 00 00 | |
| # Event number: 2 | |
| # Card state: Card inserted, | |
| # ATR: AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA | |
| # | |
| #ATR: AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA | |
| #+ TS = 3B --> Direct Convention | |
| #+ T0 = 7F, Y(1): 0111, K: 15 (historical bytes) | |
| # TA(1) = 96 --> Fi=512, Di=32, 16 cycles/ETU | |
| # 250000 bits/s at 4 MHz, fMax for Fi = 5 MHz => 312500 bits/s | |
| # TB(1) = 00 --> VPP is not electrically connected | |
| # TC(1) = 00 --> Extra guard time: 0 | |
| #+ Historical bytes: AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA | |
| # Category indicator byte: 00 (compact TLV data object) | |
| # Tag: 6, len: A (pre-issuing data) | |
| # Data: AA AA AA AA AA AA AA AA AA AA | |
| # Mandatory status indicator (3 last bytes) | |
| # LCS (life card cycle): 03 (Initialisation state) | |
| # SW: 9000 (Normal processing.) | |
| #Possibly identified card (using /usr/share/pcsc/smartcard_list.txt): | |
| #AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA | |
| #AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA | |
| # DNIE Spain (eID) | |
| # http://www.dnielectronico.es/PortalDNIe/ | |
| #CTRL+C | |
| #~ 9s | |
| #En mi caso, mi lector es un lector bit4d modelo B4ID-120004389 | |
| #Una vez que lo reconozca bien, se puede probar en esta web pulsando el botón "Firmar": | |
| #https://www.sededgsfp.gob.es/es/Paginas/TestAutofirma.aspx | |
| #Y debería salir al lado del botón de firmar: "Firma realizada correctamente". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment