ctt-gob-es / clienteafirma

Cliente @firma
http://administracionelectronica.gob.es/ctt/clienteafirma
248 stars 120 forks source link

la firma no contiene datos firmados ejecutando desde AutoFirmaCommandLine #270

Closed ghost closed 1 year ago

ghost commented 2 years ago

estoy lanzando el sigueinte comando:

AutoFirmaCommandLine sign -i %USERPROFILE%\Desktop\firma.txt ^
                          -o %USERPROFILE%\Desktop\firma.csig ^
                          -format auto ^
                          -store windows ^
                          -alias "certificado que me aparece"

output:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.sf.jmimemagic.MagicParser (file:/C:/Program%20Files/AutoFirma/AutoFirma/AutoFirmaCommandLine.exe) to constructor com.sun.org.apache.xerces.internal.parsers.SAXParser()
WARNING: Please consider reporting this to the maintainers of net.sf.jmimemagic.MagicParser
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
La operacion ha terminado correctamente

me genera el fichero pero al comprobar este con autofirma me dice que no hay datos firmados:

image

sin embargo si lo genero manualmente mediante gui si aparecen datos firmados alguien sabe que pasa ???

DenisDam commented 1 year ago

añade el parámetro -config "mode=implicit"

ghost commented 1 year ago

work thanks