@migrev mira este pull https://github.com/ctt-gob-es/clienteafirma/pull/13 ya esta la version para chromium
Search Criteria
Package Details: autofirma 1.8.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/autofirma.git (read-only, click to copy) |
---|---|
Package Base: | autofirma |
Description: | Cliente de firma electrónica ofrecido por la Administración Pública |
Upstream URL: | https://firmaelectronica.gob.es/ |
Keywords: | eadministracion electronica |
Licenses: | GPL-2.0-or-later AND EUPL-1.1 |
Conflicts: | autofirma-bin, autofirma-git |
Submitter: | migrev |
Maintainer: | ogarcia |
Last Packager: | ogarcia |
Votes: | 47 |
Popularity: | 0.84 |
First Submitted: | 2017-04-17 07:28 (UTC) |
Last Updated: | 2024-05-27 15:53 (UTC) |
Dependencies (3)
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, jdk8-openj9-binAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, jdk-android-studioAUR, jre17AUR, java-openjdk-binAUR, jre21-zulu-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jre17-zulu-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, java-openjdk-ea-binAUR, zulu-23-binAUR, jreAUR, jdkAUR, jdk21-jetbrains-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk)
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, jdk-android-studioAUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, java-openjdk-ea-binAUR, zulu-23-binAUR, jdkAUR, jdk21-jetbrains-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (make)
- maven (mvnvmAUR) (make)
Required by (0)
Sources (7)
ioan commented on 2017-12-15 00:21 (UTC)
Bakaur commented on 2017-12-10 08:55 (UTC)
Gracias por su trabajo. ¿Seria posible usarlo en firefox con total seguridad actualmente, aunque haya caducado?
reztho commented on 2017-10-30 09:04 (UTC)
Shouldn't this line be put in an .install file?
java -jar "${pkgdir}"/usr/lib/AutoFirma/AutoFirmaConfigurador.jar
The way you did it, it means at the moment the package's being compiled, it will potentially affect the host system since I don't think you're telling the jar code to go to ${pkgdir} to make its changes.
Not everybody is compiling AUR packages in a chroot, although they should.
Ideally, it should be researched what changes make that jar to revert the operation when uninstalling the autofirma package.
migrev commented on 2017-10-24 09:31 (UTC)
Investigando sobre el asunto las conclusiones son las siguientes:
- El paquete actual funciona sin problema con firefox. He podido firmar varios documentos sin problema y el protocolo afirma:// funciona correctamente.
- Respecto a chrome/chromium, es necesario tener firefox instalado, ya que AutoFirma utiliza el almacén de certificados de éste. El problema es que AutoFirma usa un certificado autofirmado que chrome rechaza, por lo que, aunque xdg-open invoca el servicio correctamente, luego el javascript de la página no consigue establecer conexión por considerarla insegura. Parece que la mejor opción es generar un nuevo certificado correctamente firmado por una CA, pero estoy valorando las opciones.
Procuraré tenerlo funcionando lo antes posible.
Saludos a todos
timofonic commented on 2017-09-15 00:01 (UTC) (edited on 2017-09-15 00:01 (UTC) by timofonic)
They replied me to the two messages. There's a fast translation of their replies. I seriously doubt "060" is going to help me at all.
Will this be standard someday and not require custom software written in Java at all? I'm not a fan of Java.
----
Good Morning,
We are sorry to inform you that this Center of Attention to Integrators and Developers (CAID) of the MINHAFP, to which only Public Organisms, such as Ministries, Town halls, Universities, etc., but in no case to private individuals or companies.
If you need help, you can get it through the following means intended for citizens:
- By telephone, by calling 060.
- You can also do it via email: cau.060@seap.minhap.es
-----
Good Morning:
We inform you that this is the Center for Attention to Integrators and Developers (CAID) of the MINHAFP, which supports various public bodies such as Ministries, City Councils, Universities, but in no case to individuals or companies.
To solve your doubts and incidents you must go to the Customer Service Center (CAU) on phone 060 or through any of the channels indicated at http://administracion.gob.es/.
You can reopen this issue by using the https://ssweb.seap.minhap.es/help/following link, entering 348990 in the query or incident identifier field and 323736 in the tracking number.
Yours sincerely.
timofonic commented on 2017-09-14 23:53 (UTC) (edited on 2017-09-14 23:58 (UTC) by timofonic)
@Marzal I tried both Firefox and Chrome, no luck.
I contacted them over several forms on their site, since they closed the issue tracker in the GitHub project (too bad decision).
I needed it urgently for the following site. Fortunately, I managed to set up a VM with Windows (my typical last option, but I'll have it for the future too) and was able to do the signings.
https://www.juntadeandalucia.es/educacion/secretariavirtual/
Firefox ESR errors (Nightly outputs nothing): https://nopaste.linux-dev.org/?1161614
Chrome errors: https://nopaste.linux-dev.org/?1161616
Marzal commented on 2017-09-13 09:51 (UTC)
What browser are you using?
I can't make it work with Firefox, but Google Chrome works for me.
(Documentation only show firefox as supported but anyway Chrome detect de xdg-open protocol and Firefox fail to try to launch autofirma)
timofonic commented on 2017-09-13 05:55 (UTC)
Okay. Ineeded to use OpenJDK+OpenJRE 8 or Oracle JRE+JDK 8.
@migrev Now how to make afirma:// domains work?
timofonic commented on 2017-09-13 05:12 (UTC)
Please, I need this to register to a FP...
~ pacaur autofirma s Wed 13 Sep 2017 05:17:16 AM CEST
[sudo] password for timofonic:
error: no operation specified (use -h for help)
! ~ pacaur -S autofirma 3440ms Wed 13 Sep 2017 07:10:07 AM CEST
:: Package autofirma not found in repositories, trying AUR...
:: resolving dependencies...
:: looking for inter-conflicts...
AUR Packages (1) autofirma-1.5-3
:: Proceed with installation? [Y/n] y
:: Retrieving package(s)...
Cloning into 'autofirma'...
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (4/4), done.
:: View autofirma PKGBUILD? [Y/n] n
:: Checking autofirma integrity...
==> Making package: autofirma 1.5-3 (Wed Sep 13 07:10:25 CEST 2017)
==> Retrieving sources...
-> Downloading AutoFirma_Linux.zip...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 35.6M 100 35.6M 0 0 2806k 0 0:00:13 0:00:13 --:--:-- 2679k
==> Validating source files with md5sums...
AutoFirma_Linux.zip ... Passed
==> Making package: autofirma 1.5-3 (Wed Sep 13 07:10:39 CEST 2017)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
-> Found AutoFirma_Linux.zip
==> WARNING: Skipping all source file integrity checks.
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting AutoFirma_Linux.zip with bsdtar
==> Starting prepare()...
==> Sources are ready.
:: Building autofirma package(s)...
==> Making package: autofirma 1.5-3 (Wed Sep 13 07:10:40 CEST 2017)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (2) jre8-openjdk-headless-8.u144-1 jre8-openjdk-8.u144-1
Total Download Size: 26.08 MiB
Total Installed Size: 95.87 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
jre8-openjdk-headle... 25.9 MiB 7.80M/s 00:03 [######################] 99%
jre8-openjdk-8.u144... 26.1 MiB 7.63M/s 00:03 [######################] 100%
(2/2) checking keys in keyring [######################] 100%
(2/2) checking package integrity [######################] 100%
(2/2) loading package files [######################] 100%
(2/2) checking for file conflicts [######################] 100%
(2/2) checking available disk space [######################] 100%
:: Processing package changes...
(1/2) installing jre8-openjdk-headless [######################] 100%
Default Java environment is already set to 'java-7-openjdk'
See 'archlinux-java help' to change it
Optional dependencies for jre8-openjdk-headless
java-rhino: for some JavaScript support
(2/2) installing jre8-openjdk [######################] 100%
Default Java environment is already set to 'java-7-openjdk'
See 'archlinux-java help' to change it
when you use a non-reparenting window manager,
set _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/jre.sh
Optional dependencies for jre8-openjdk
icedtea-web: web browser plugin + Java Web Start
alsa-lib: for basic sound support [installed]
gtk2: for the Gtk+ look and feel - desktop usage [installed]
java-openjfx: for JavaFX GUI components support
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...
Exception in thread "main" java.lang.UnsupportedClassVersionError: es/gob/afirma/standalone/configurator/AutoFirmaConfigurator : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
==> ERROR: A failure occurred in package().
Aborting...
:: failed to build autofirma package(s)
migrev commented on 2017-08-12 08:47 (UTC)
@coellobranco: Pero Marzal comment java-runtime=8 is required to install this package. Bump to 1.5-3 to reflect that.
Pinned Comments
ogarcia commented on 2021-05-14 09:40 (UTC) (edited on 2024-01-25 08:35 (UTC) by ogarcia)
ATENCIÓN: Este paquete compila autofirma desde las fuentes, si simplemente quieres instalar el binario sin necesidad de compilar nada (y sin tener que instalar el JDK), utiliza autofirma-bin.
OJO: autofirma puede funcionar con versiones de Java posteriores a la 11, pero solamente se puede compilar con la 11 y por tanto utilizar una version posterior a la 11 para ejecutarlo esta desaconsejado.
ogarcia commented on 2021-05-14 09:36 (UTC) (edited on 2021-05-14 09:36 (UTC) by ogarcia)
Sugerencias, errores, etc. Por favor, ponerme un ticket en https://github.com/ogarcia/pkgbuilds/issues
Suggestions, bugs, etc. Please, put me an issue in https://github.com/ogarcia/pkgbuilds/issues