Package Details: autofirma 1.5-3

Git Clone URL: https://aur.archlinux.org/autofirma.git (read-only)
Package Base: autofirma
Description: Spanish Government digital signature client
Upstream URL: http://firmaelectronica.gob.es
Licenses: GPL, EUPL
Submitter: migrev
Maintainer: migrev
Last Packager: migrev
Votes: 3
Popularity: 0.202301
First Submitted: 2017-04-17 07:28
Last Updated: 2017-08-12 08:46

Latest Comments

timofonic commented on 2017-09-15 00:01

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

@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

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

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

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

@coellobranco: Pero Marzal comment java-runtime=8 is required to install this package. Bump to 1.5-3 to reflect that.

coellobranco commented on 2017-08-12 08:15

Exception in thread "main" java.lang.UnsupportedClassVersionError: es/gob/afirma/standalone/configurator/AutoFirmaConfigurator : Unsupported major.minor version 52.0

Marzal commented on 2017-06-16 14:28

With Java 7 (java-runtime-common-2-2 jre7-openjdk-headless-7.u131_2.6.9-1 jre7-openjdk-7.u131_2.6.9-1) autofirma 1.5 fails to compile
Exception in thread "main" java.lang.UnsupportedClassVersionError: es/gob/afirma/standalone/configurator/AutoFirmaConfigurator : Unsupported major.minor version 52.0

With Java 8 (java-runtime-common-2-2 jre8-openjdk-headless-8.u131-1 jre8-openjdk-8.u131-1) this exception does not occur.

nenjordi commented on 2017-06-13 11:26

You need to also import /usr/lib/AutoFirma/AutoFirma_ROOT.cer from firefox

nenjordi commented on 2017-06-13 08:04

Missing execution of java -jar /usr/lib/AutoFirma/AutoFirmaConfigurador.jar
Otherwise the .pfx file is not generated and plugin does not work.