Buenas tardes a todos.
Por resumir, estoy tratando de instalar autofirma a través del ebuild autofirma-bin en
https://gitlab.com/quilosaq/qq-gentoo
Sin embargo, cuando trato de instalar la versión 1.8 del mismo me da error de tamaño de código fuente por cambio de versión:
Code: Select all
>>> Downloading 'https://estaticos.redsara.es/comunes/autofirma/currentversion/AutoFirma_Linux_Debian.zip'
--2023-06-21 19:20:03-- https://estaticos.redsara.es/comunes/autofirma/currentversion/AutoFirma_Linux_Debian.zip
Resolving estaticos.redsara.es (estaticos.redsara.es)... 185.73.172.42
Connecting to estaticos.redsara.es (estaticos.redsara.es)|185.73.172.42|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 51564145 (49M) [application/zip]
Saving to: ‘/var/cache/distfiles/AutoFirma_Linux_Debian.zip.__download__’
/var/cache/distfile 100%[===================>] 49,17M 8,30MB/s in 5,8s
2023-06-21 19:20:09 (8,44 MB/s) - ‘/var/cache/distfiles/AutoFirma_Linux_Debian.zip.__download__’ saved [51564145/51564145]
!!! Fetched file: AutoFirma_Linux_Debian.zip VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 51564145
!!! Expected: 51858935
Refetching... File renamed to '/var/cache/distfiles/AutoFirma_Linux_Debian.zip._checksum_failure_.8q8c75rr'
Eso lo puedo solucionar a mano borrando el manifest y regenerándolo. Sin embargo, después de hacer eso, el error es otro:
Code: Select all
>>> Emerging (1 of 1) app-office/autofirma-bin-1.8::qq-gentoo
* AutoFirma_Linux_Debian.zip BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
* unpack...
>>> Unpacking AutoFirma_Linux_Debian.zip to /var/tmp/portage/app-office/autofirma-bin-1.8/work/autofirma-bin-1.8
ar: /var/tmp/portage/app-office/autofirma-bin-1.8/work/autofirma-bin-1.8/AutoFirma_1_8_0.deb: No such file or directory
tar (child): /var/tmp/portage/app-office/autofirma-bin-1.8/work/autofirma-bin-1.8/deb/data.tar.zst: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
El nuevo .deb oficial ahora contiene .gz. en vez de .zst. Corrigiendo eso también en el ebuild consigo instalar:
Code: Select all
[ebuild N ~] app-office/autofirma-bin-1.8::qq-gentoo 0 KiB
Total: 1 package (1 new), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No] Y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-office/autofirma-bin-1.8::qq-gentoo
* AutoFirma_Linux_Debian.zip BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
* unpack...
>>> Unpacking AutoFirma_Linux_Debian.zip to /var/tmp/portage/app-office/autofirma-bin-1.8/work/autofirma-bin-1.8
./
./etc/
./etc/firefox/
./etc/firefox/pref/
./etc/firefox/pref/AutoFirma.js
./usr/
./usr/bin/
./usr/bin/autofirma
./usr/lib/
./usr/lib/AutoFirma/
./usr/lib/AutoFirma/AutoFirma.jar
./usr/lib/AutoFirma/AutoFirma.png
./usr/lib/AutoFirma/AutoFirmaConfigurador.jar
./usr/share/
./usr/share/AutoFirma/
./usr/share/AutoFirma/AutoFirma.svg
./usr/share/applications/
./usr/share/applications/afirma.desktop
./usr/share/common-licenses/
./usr/share/common-licenses/eupl-1.1.txt
./usr/share/common-licenses/gpl-2.0.txt
./usr/share/doc/
./usr/share/doc/AutoFirma/
./usr/share/doc/AutoFirma/EUPL-1.1.gz
./usr/share/doc/AutoFirma/GPL-2.0.gz
./usr/share/doc/AutoFirma/copyright
>>> Source unpacked in /var/tmp/portage/app-office/autofirma-bin-1.8/work
>>> Preparing source in /var/tmp/portage/app-office/autofirma-bin-1.8/work/autofirma-bin-1.8 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-office/autofirma-bin-1.8/work/autofirma-bin-1.8 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-office/autofirma-bin-1.8/work/autofirma-bin-1.8 ...
>>> Source compiled.
>>> Test phase [not enabled]: app-office/autofirma-bin-1.8
>>> Install app-office/autofirma-bin-1.8 into /var/tmp/portage/app-office/autofirma-bin-1.8/image
* install...
>>> Completed installing app-office/autofirma-bin-1.8 into /var/tmp/portage/app-office/autofirma-bin-1.8/image
* Final size of build directory: 153852 KiB (150.2 MiB)
* Final size of installed tree: 53112 KiB ( 51.8 MiB)
* QA Notice: This package installs one or more .desktop files that do not
* pass validation.
*
* /usr/share/applications/afirma.desktop: error: value "1.8.2" for key "Version" in group "Desktop Entry" is not a known version
* /usr/share/applications/afirma.desktop: error: value "Office;Utilities;Signature;Java" for key "Categories" in group "Desktop Entry" contains an unregistered value "Signature"; values extending the format should start with "X-"
* /usr/share/applications/afirma.desktop: error: value "Office;Utilities;Signature;Java" for key "Categories" in group "Desktop Entry" contains an unregistered value "Utilities"; values extending the format should start with "X-"
*
>>> Installing (1 of 1) app-office/autofirma-bin-1.8::qq-gentoo
* checking 8 files for package collisions
>>> Merging app-office/autofirma-bin-1.8 to /
--- /etc/
>>> /etc/autofirma/
>>> /etc/autofirma/AutoFirma.js
--- /opt/
--- /opt/firefox/
--- /opt/firefox/defaults/
--- /opt/firefox/defaults/pref/
>>> /opt/firefox/defaults/pref/AutoFirma.js -> ../../../../etc/autofirma/AutoFirma.js
--- /usr/
--- /usr/share/
--- /usr/share/applications/
>>> /usr/share/applications/afirma.desktop
>>> /usr/share/AutoFirma/
>>> /usr/share/AutoFirma/AutoFirma.svg
--- /usr/bin/
>>> /usr/bin/autofirma
--- /usr/lib/
>>> /usr/lib/AutoFirma/
>>> /usr/lib/AutoFirma/AutoFirma.jar
>>> /usr/lib/AutoFirma/AutoFirma.png
>>> /usr/lib/AutoFirma/AutoFirmaConfigurador.jar
* postinst...
* Updating .desktop files database ... [ ok ]
jun 21, 2023 7:48:58 P. M. es.gob.afirma.standalone.configurator.AutoFirmaConfigurator <init>
INFO: Se configurara la aplicacion en modo nativo
jun 21, 2023 7:48:58 P. M. es.gob.afirma.standalone.configurator.ConsoleManager getConsole
INFO: Se utilizara la consola del sistema
jun 21, 2023 7:48:58 P. M. es.gob.afirma.standalone.configurator.ConfiguratorLinux configure
INFO: Identificando directorio de aplicación...
jun 21, 2023 7:48:58 P. M. es.gob.afirma.standalone.configurator.ConfiguratorLinux configure
INFO: Directorio de aplicación: /usr/lib/AutoFirma
jun 21, 2023 7:48:58 P. M. es.gob.afirma.standalone.configurator.ConfiguratorLinux configure
INFO: Generando certificado para la comunicación con el navegador web...
jun 21, 2023 7:48:59 P. M. es.gob.afirma.standalone.configurator.ConfiguratorLinux configure
INFO: Se guarda el almacén de claves en el directorio de instalación de la aplicación
jun 21, 2023 7:48:59 P. M. es.gob.afirma.standalone.configurator.ConfiguratorLinux configure
INFO: Se va a instalar el certificado en el almacen de Mozilla Firefox
jun 21, 2023 7:48:59 P. M. es.gob.afirma.standalone.configurator.ConfiguratorFirefoxLinux createScriptsToSystemKeyStore
INFO: Comprobamos que se encuentre certutil en el sistema
jun 21, 2023 7:48:59 P. M. es.gob.afirma.standalone.configurator.ConfiguratorLinux configure
INFO: Fin de la configuración
*
* NOTA: Si AutoFirma no funciona con usuarios recien creados se debe hacer una
* reinstalación
*
>>> app-office/autofirma-bin-1.8 merged.
>>> Regenerating /etc/ld.so.cache...
>>> Recording app-office/autofirma-bin in "world" favorites file...
>>> Completed (1 of 1) app-office/autofirma-bin-1.8::qq-gentoo
* Messages for package app-office/autofirma-bin-1.8:
* QA Notice: This package installs one or more .desktop files that do not
* pass validation.
*
* /usr/share/applications/afirma.desktop: error: value "1.8.2" for key "Version" in group "Desktop Entry" is not a known version
* /usr/share/applications/afirma.desktop: error: value "Office;Utilities;Signature;Java" for key "Categories" in group "Desktop Entry" contains an unregistered value "Signature"; values extending the format should start with "X-"
* /usr/share/applications/afirma.desktop: error: value "Office;Utilities;Signature;Java" for key "Categories" in group "Desktop Entry" contains an unregistered value "Utilities"; values extending the format should start with "X-"
*
* GNU info directory index is up-to-date.
/usr/bin/autofirma se abre y funciona, pero desde Firefox no se puede conectar con Autofirma. Por ejemplo, en la página
https://portafirma.ual.es que uso para firmas actas aparece el error:
El proceso de firma ha fallado: No se pudo contactar con Autofirma
Mi firefox sólo tiene un perfil y está configurado como se indica en mensajes anteriores:
Code: Select all
$ cat ~/.mozilla/firefox/profiles.ini
[Profile0]
Name=default-release
IsRelative=1
Path=ixswsg9t.default-release
[General]
StartWithLastProfile=1
Version=2
[Install6AFDA46A1A8AD48]
Default=ixswsg9t.default-release
Locked=1
¿Alguna idea? Me tiene frito.