Closed jmiguelf closed 2 years ago
Boa tarde,
o output de validação que se obtém com uma assinatura LTV da aplicação no Adobe Reader deverá ter o seguinte aspeto:
Se na assinatura do cidadão (a 1.ª) não consta a indicação "Signature is LTV enabled" significa que algo correu mal no processo de obtenção do estado do certificado (por OCSP ou CRL). Pode acontecer se houver indisponibilidade dos serviços ou o utilizador estiver offline.
Neste caso a aplicação dá a seguinte mensagem de aviso: "Assinatura com Sucesso, no entanto, a Validação de Longo Prazo não foi corretamente aplicada. Verifique as configurações do serviço de selos temporais no menu Configuração de assinaturas"
Se a assinatura com CC ou Chave Móvel não está "LTV enabled" e não foi mostrada a referida mensagem, é um issue válido e precisamos então do ficheiro log gerado pela aplicação em $HOME/.PTEID*.log
Informação mais técnica: o timestamp como última "assinatura" é adicionado porque a aplicação aplica o nível de assinatura PAdES-LTA que indica que é necessário aplicar um timestamp sobre todas as assinaturas existentes e sobre todas as informações de revogação incluídas no documento. Mais detalhes podem ser consultados na especificação PAdES: https://www.etsi.org/deliver/etsi_ts/103100_103199/103172/02.02.02_60/ts_103172v020202p.pdf
Obrigado
Estou onlinee não recebi qualquer mensagem de erro.
resultado:
log:
/usr/local/bin/eidguiV2 - 2021-06-08 17:42:17 - 13888|140468948854016 - eidgui - CRITICAL: App started. 3.6.0 - 4315 [f1a0e309]
/usr/local/bin/eidguiV2 - 2021-06-08 17:42:17 - 13888|140468948854016 - eidgui - CRITICAL: CpuArch: x86_64 ProductName: Debian GNU/Linux 10 (buster)
/usr/local/bin/eidguiV2 - 2021-06-08 17:42:17 - 13888|140468948854016 - eidgui - CRITICAL: OpenGL option : 1
Peço desculpa,
faltou-me indicar que é preciso ativar o modo de diagnóstico e repetir a assinatura para ter a informação de que precisamos no log.
Segue então o log, desde que abri a aplicação até a fechar (depois de assinar o pdf, com exatamente o mesmo resultado do descrito acima)
/usr/local/bin/eidguiV2 - 2021-06-09 09:39:44 - 24314|140663267480832 - eidgui - CRITICAL: App started. 3.6.0 - 4315 [f1a0e309]
/usr/local/bin/eidguiV2 - 2021-06-09 09:39:44 - 24314|140663267480832 - eidgui - CRITICAL: CpuArch: x86_64 ProductName: Debian GNU/Linux 10 (buster)
/usr/local/bin/eidguiV2 - 2021-06-09 09:39:44 - 24314|140663267480832 - eidgui - CRITICAL: OpenGL option : 1
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232808301824 - eidgui - CRITICAL: App started. 3.6.0 - 4315 [f1a0e309]
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232808301824 - eidgui - CRITICAL: CpuArch: x86_64 ProductName: Debian GNU/Linux 10 (buster)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232808301824 - eidgui - CRITICAL: OpenGL option : 1
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232808301824 - applayer - INFO: Create CAppLayer object
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232808301824 - applayer - INFO: Start all applayer services
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232808301824 - cardlayer - DEBUG: SCardEstablishContext(): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232808301824 - cardlayer - DEBUG: SCardListReaders(): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232808301824 - cardlayer - DEBUG: SCardListReaders(): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232808301824 - cardlayer - DEBUG: SCardListReaders(): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232808301824 - openssl - INFO: Proxy settings: pac='', host='' and port=0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232808301824 - openssl - INFO: Create CrlMemoryCache
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232808301824 - applayer - INFO: Create CertStatusCache object
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232808301824 - sdk - INFO: Create ReaderSet Object
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232808301824 - cardlayer - DEBUG: SCardListReaders(): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232808301824 - cardlayer - INFO: Started event callback thread 1
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardListReaders(): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - eventCallback - DEBUG: Card Event received for reader Alcor Micro AU9520 00 00: cardState: 34 Event Counter: 0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardConnect(Alcor Micro AU9520 00 00): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: Using Reader: Alcor Micro AU9520 00 00
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardStatus(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - applayer - DEBUG: ATR input value:
3B FF 96 00 00 81 31 FE 43 80 31 80 65 B0 85 04
01 20 12 0F FF 82 90 00 D0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardBeginTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardTransmit(00 A4 04 00 07 60 46 32 FF 00 00 02)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardBeginTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardTransmit(00 A4 02 00 02 50 32)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardTransmit(): SW12 = 6A 82 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardTransmit(00 A4 00 0C 02 3F 00)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardTransmit(00 A4 00 0C 02 4F 00)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardTransmit(00 A4 00 0C 02 50 32)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardTransmit(00 B0 00 00 00)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 50
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - INFO: Read file 3F004F005032 (48 bytes) from card
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardEndTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardEndTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardControl(ctrl=0x42000d48, )
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardControl(): 06 bytes returned
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: Using non-pinpad reader. pinpadEnabled=1
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - INFO: Connected to PT eID card in reader Alcor Micro AU9520 00 00
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: ReaderStatus(): card inserted
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - INFO: Read file 3F005F00EF02 (17 bytes) from cache
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardStatus(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: ReaderStatus(): card still present
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardStatus(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: ReaderStatus(): card still present
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: SCardStatus(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - cardlayer - DEBUG: ReaderStatus(): card still present
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - eidgui - DEBUG: Card inserted with serial number: 0000047644630650
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:21 - 24355|140232649746176 - eventCallback - DEBUG: Will try to ImportCertificates...
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:26 - 24355|140232808301824 - cardlayer - DEBUG: SCardListReaders(): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232091498240 - eidgui - DEBUG: GetInfoFromSignCert
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232091498240 - eidgui - DEBUG: GetCardInstance Card Reader count = 1
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - eidgui - DEBUG: checkSignatureCertValidity
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - eidgui - DEBUG: GetCardInstance Card Reader count = 1
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232091498240 - cardlayer - DEBUG: SCardStatus(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232091498240 - cardlayer - DEBUG: ReaderStatus(): card still present
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardStatus(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - eidgui - DEBUG: Card Reader was not previously selected CardType: 1
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232091498240 - eidgui - DEBUG: Card Reader was not previously selected CardType: 1
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardBeginTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 A4 02 00 02 2F 00)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 6A 82 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 A4 00 0C 02 3F 00)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 A4 00 0C 02 2F 00)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 B0 00 00 00)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 80
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - INFO: Read file 3F002F00 (78 bytes) from card
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardEndTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardBeginTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 A4 02 00 02 50 31)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 6A 82 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 A4 00 0C 02 4F 00)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 A4 00 0C 02 50 31)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 B0 00 00 00)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 62
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - INFO: Read file 4F005031 (60 bytes) from card
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardEndTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardBeginTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 A4 02 00 02 EF 0C)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 6A 82 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 A4 00 0C 02 3F 00)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 A4 00 0C 02 5F 00)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 A4 00 0C 02 EF 0C)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 B0 00 00 00)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 234
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - INFO: Read file 3F005F00EF0C (232 bytes) from card
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardEndTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - INFO: (Re)stored file 3F005F00EF0C to cache
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardBeginTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 A4 02 00 02 EF 09)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 61 17 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 C0 00 00 17)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 25
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 B0 09 18 10)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 18
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - INFO: Read file 3F005F00EF09 (16 bytes) from card
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardEndTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - INFO: Read file 3F005F00EF09 (2800 bytes) from disk cache
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardBeginTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 A4 02 00 02 EF 08)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 61 17 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 C0 00 00 17)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 25
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 B0 09 2E 10)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 18
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - INFO: Read file 3F005F00EF08 (16 bytes) from card
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardEndTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - INFO: Read file 3F005F00EF08 (2800 bytes) from disk cache
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardBeginTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 A4 02 00 02 EF 0F)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 61 17 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 C0 00 00 17)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 25
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 B0 07 BB 10)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 18
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - INFO: Read file 3F005F00EF0F (16 bytes) from card
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardEndTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - INFO: Read file 3F005F00EF0F (2300 bytes) from disk cache
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardBeginTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 A4 02 00 02 EF 10)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 61 17 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 C0 00 00 17)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 25
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 B0 07 AB 10)
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 18
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - INFO: Read file 3F005F00EF10 (16 bytes) from card
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - DEBUG: SCardEndTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:41 - 24355|140232083105536 - cardlayer - INFO: Read file 3F005F00EF10 (2300 bytes) from disk cache
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:42 - 24355|140232083105536 - applayer - DEBUG: initSODCAs(): Adding certificate for card: USERTrust RSA Certification Authority Valid from: 01/02/2010 to: 18/01/2038
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:42 - 24355|140232083105536 - applayer - DEBUG: initSODCAs(): Adding certificate for card: Cartão de Cidadão 004 Valid from: 15/09/2017 to: 15/09/2029
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:42 - 24355|140232083105536 - applayer - DEBUG: initSODCAs(): Adding certificate for card: Baltimore CyberTrust Root Valid from: 12/05/2000 to: 12/05/2025
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:42 - 24355|140232083105536 - applayer - DEBUG: initSODCAs(): Adding certificate for card: Cartão de Cidadão 002 Valid from: 30/05/2013 to: 30/05/2025
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:42 - 24355|140232083105536 - applayer - DEBUG: initSODCAs(): Adding certificate for card: Global Chambersign Root - 2008 Valid from: 01/08/2008 to: 31/07/2038
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:42 - 24355|140232083105536 - applayer - DEBUG: initSODCAs(): Adding certificate for card: MULTICERT Root Certification Authority 01 Valid from: 04/04/2014 to: 04/04/2039
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:42 - 24355|140232083105536 - applayer - DEBUG: initSODCAs(): Adding certificate for card: Cartão de Cidadão 005 Valid from: 19/07/2019 to: 19/06/2030
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:42 - 24355|140232083105536 - applayer - DEBUG: initSODCAs(): Adding certificate for card: Cartão de Cidadão 003 Valid from: 22/04/2014 to: 22/04/2026
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:42 - 24355|140232083105536 - applayer - DEBUG: initSODCAs(): Adding certificate for card: Cartão de Cidadão 006 Valid from: 20/03/2020 to: 20/03/2034
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:42 - 24355|140232083105536 - applayer - DEBUG: initSODCAs(): Adding certificate for card: ECRaizEstado Valid from: 16/10/2017 to: 16/04/2030
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:42 - 24355|140232083105536 - applayer - DEBUG: initSODCAs(): Adding certificate for card: Cartão de Cidadão 001 Valid from: 17/07/2008 to: 29/01/2019
/usr/local/bin/eidguiV2 - 2021-06-09 09:40:42 - 24355|140232083105536 - applayer - DEBUG: initSODCAs(): Adding certificate for card: ECRaizEstado 002 Valid from: 04/10/2019 to: 04/10/2043
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - eidgui - DEBUG: GetCardInstance doGetTriesLeftSignPin
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - eidgui - DEBUG: GetCardInstance Card Reader count = 1
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - eidgui - DEBUG: Card Reader was not previously selected CardType: 1
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - cardlayer - DEBUG: SCardBeginTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - cardlayer - DEBUG: SCardTransmit(00 A4 02 00 02 44 01)
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - cardlayer - DEBUG: SCardTransmit(): SW12 = 61 17 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - cardlayer - DEBUG: SCardTransmit(00 C0 00 00 17)
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 25
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - cardlayer - DEBUG: SCardTransmit(00 B0 00 00 00)
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 258
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - cardlayer - DEBUG: SCardTransmit(00 B0 01 00 00)
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 4
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - cardlayer - INFO: Read file 3F005F004401 (258 bytes) from card
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - cardlayer - DEBUG: SCardEndTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - cardlayer - DEBUG: SCardBeginTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - cardlayer - DEBUG: SCardTransmit(00 20 00 82 00)
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - cardlayer - DEBUG: SCardTransmit(): SW12 = 63 C3 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - cardlayer - DEBUG: SCardEndTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:06 - 24355|140232808301824 - cardlayer - DEBUG: PinStatus APDU returned: 63c3
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - eidgui - DEBUG: GetCardInstance doSignPDF
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - eidgui - DEBUG: GetCardInstance Card Reader count = 1
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - eidgui - DEBUG: Card Reader was not previously selected CardType: 1
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - applayer - DEBUG: DEBUG: getCitizenCertificate() This should only be called for Card Signature!
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - cardlayer - INFO: Read file 3F005F00EF08 (2800 bytes) from memory cache
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - applayer - DEBUG: signPKCS7: addCardCertificateChain: Loading cert: EC de Assinatura Digital Qualificada do Cartão de Cidadão 0016
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - applayer - DEBUG: signPKCS7: addCardCertificateChain: Loading cert: Cartão de Cidadão 005
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - applayer - DEBUG: signPKCS7: addCardCertificateChain: Loading cert: ECRaizEstado
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - applayer - DEBUG: signPKCS7: addCardCertificateChain: Loading cert: MULTICERT Root Certification Authority 01
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - applayer - DEBUG: ESS_SIGNING_CERT_V2_add() returned 1
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - cardlayer - DEBUG: SCardBeginTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 A4 02 00 02 EF 0D)
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 61 17 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 C0 00 00 17)
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 25
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 B0 00 00 00)
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 143
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - cardlayer - INFO: Read file 3F005F00EF0D (141 bytes) from card
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - cardlayer - DEBUG: SCardEndTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - cardlayer - INFO: PKiCard::Sign(): ask PIN and sign (key: ID=0x46, algo=0x10, 32 bytes input)
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - cardlayer - DEBUG: SCardBeginTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - cardlayer - DEBUG: CPteidCard::SignInternal called with algoID=10 and data length=32
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - cardlayer - DEBUG: CPteidCard::PinCmd called with operation=0
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - cardlayer - DEBUG: DEBUG PinCmd: operation: 0, bUsePinpad:0, bPukMerge: 0 defineNewPin=0
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:11 - 24355|140232083105536 - dialog - DEBUG: SharedMem::Attach attached segment with ID 51838995
/usr/local/bin/pteiddialogsQTsrv - 2021-06-09 09:41:11 - 24390|139658320021376 - dialog - INFO: Running /usr/local/bin//pteiddialogsQTsrv ...
/usr/local/bin/pteiddialogsQTsrv - 2021-06-09 09:41:11 - 24390|139658320021376 - dialog - DEBUG: SharedMem::Attach attached segment with ID 51838995
/usr/local/bin/pteiddialogsQTsrv - 2021-06-09 09:41:11 - 24390|139658320021376 - dialog - DEBUG: Running DLG_ASK_PIN with args: operation=> 0 usage=> 2
/usr/local/bin/pteiddialogsQTsrv - 2021-06-09 09:41:17 - 24390|139658320021376 - dialog - DEBUG: SharedMem::Detach segment with ID 51838995
/usr/local/bin/pteiddialogsQTsrv - 2021-06-09 09:41:17 - 24390|139658320021376 - dialog - DEBUG: SharedMem::Delete : request to delete memory segment with ID 51838995. N proc = 1
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:18 - 24355|140232083105536 - dialog - DEBUG: SharedMem::Detach segment with ID 51838995
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:18 - 24355|140232083105536 - dialog - DEBUG: SharedMem::Delete : request to delete memory segment with ID 51838995. N proc = 0
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:18 - 24355|140232083105536 - dialog - DEBUG: SharedMem::Delete : deleted memory segment with ID 51838995
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:18 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 20 00 82 08)
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:18 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:18 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 22 41 B6 06 80 01 42 84 01 01)
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:18 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:18 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 2A 90 A0 22)
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:18 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 61 20 Len = 2
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:18 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 C0 00 00 20)
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:18 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 34
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:18 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 2A 9E 9A 00)
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:19 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 61 80 Len = 258
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:19 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(00 C0 00 00 80)
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:19 - 24355|140232083105536 - cardlayer - DEBUG: SCardTransmit(): SW12 = 90 00 Len = 130
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:19 - 24355|140232083105536 - cardlayer - INFO: Resp oResp PSO is: 0x9000
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:19 - 24355|140232083105536 - cardlayer - DEBUG: SCardEndTransaction(0x514c892b): 0x0
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:19 - 24355|140232083105536 - applayer - DEBUG: Requesting timestamp with TSA url: http://ts.cartaodecidadao.pt/tsa/server
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:19 - 24355|140232083105536 - applayer - DEBUG: Timestamp request Succeeded.
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:19 - 24355|140232083105536 - applayer - DEBUG: addLT: adding revocation info for cert issued by: EC de Assinatura Digital Qualificada do Cartão de Cidadão 0016 - 7B879638936994AD
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:19 - 24355|140232083105536 - applayer - DEBUG: OCSP connecting to host ocsp.asc.cartaodecidadao.pt port: 80 IsSSL? 0
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:19 - 24355|140232083105536 - applayer - DEBUG: GetOCSPResponse() Returning OCSP eStatus: 1 for URL: http://ocsp.asc.cartaodecidadao.pt/publico/ocsp
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:19 - 24355|140232083105536 - applayer - DEBUG: Adding one certificate to DSS from OCSP response
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:19 - 24355|140232083105536 - applayer - DEBUG: Requesting timestamp with TSA url: http://ts.cartaodecidadao.pt/tsa/server
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:19 - 24355|140232083105536 - applayer - DEBUG: Timestamp request Succeeded.
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:19 - 24355|140232083105536 - applayer - DEBUG: PDFSignature::signClose return_code = 0
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:28 - 24355|140232808301824 - cardlayer - INFO: Stopped event callback thread 1
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:28 - 24355|140232808301824 - sdk - INFO: Delete ReaderSet Object
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:28 - 24355|140232808301824 - applayer - INFO: Stop all applayer services
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:28 - 24355|140232808301824 - openssl - INFO: Delete CrlMemoryCache
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:28 - 24355|140232808301824 - openssl - INFO: ---> CrlMemoryCache deleted
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:28 - 24355|140232808301824 - applayer - INFO: Delete CertStatusCache object
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:28 - 24355|140232808301824 - cardlayer - DEBUG: SCardDisconnect(0x514c892b): 0x0 ; mode: 0
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:28 - 24355|140232808301824 - cardlayer - INFO: Disconnected from card in reader Alcor Micro AU9520 00 00
/usr/local/bin/eidguiV2 - 2021-06-09 09:41:28 - 24355|140232808301824 - applayer - INFO: Delete CAppLayer object
Alguma novidade? hoje (em principio) vou tentar compilar numa maquina nova/limpa para verificar se acontece o mesmo
Boa tarde,
pelo log não detectamos qualquer problema na assinatura LTV. Por outro lado a validação que mostrou parece ser do Foxit Reader, não conseguimos garantir compatibilidade das assinaturas com outros leitores de PDF para além do Adobe Acrobat Reader. No Adobe Reader é preciso garantir que está ativa a opção "Require certificate revocation to succeed whenever possible..." na secção Signatures->Verification. Vamos adicionar ao manual mais informação sobre este processo.
Como alternativa para utilizadores Linux por exemplo, no futuro poderá ser utilizado um validador da Comissão Europeia mas apenas quando for resolvido o issue #33 no serviço OCSP. Atualmente são dadas como válidas nesta ferramenta apenas as assinaturas básicas, sem timestamp nem LTV.
Seja via sdk ou via aplicação (3.60) (Debian 10 - acabadinha de compilar das sources), apos assinar com o TimeStamp e LTV, o pdf de saida tem 2 assinaturas, onde uma é o TS e a outra a minha sem LTV