Verificar cancelación con certificados en CD

This commit is contained in:
El Mau 2022-01-22 21:21:55 -06:00
parent 8b91532b82
commit f84721716c
1 changed files with 1 additions and 1 deletions

View File

@ -767,7 +767,7 @@ def _cancel_with_cert(invoice, args, auth, certificado):
pac = PACS[auth['pac']]()
# ~ info = {'cer': cert.cer_pem, 'key': cert.key_pem, 'pass': '', 'args': args}
info = {'cer': cert.cer_pem, 'key': cert.key_pem,
'key_enc': cert.key_enc, 'pass': cert._p, 'args': args}
'key_enc': cert.key_enc, 'pass': cert._p.hex(), 'args': args}
result = pac.cancel(invoice.xml, info, auth)
if pac.error: