From 65851182c35bce6d1dc72917433c67d0b4e4c1c5 Mon Sep 17 00:00:00 2001 From: El Mau Date: Sat, 22 Jan 2022 22:02:02 -0600 Subject: [PATCH] =?UTF-8?q?Verificar=20cancelaci=C3=B3n=20con=20certificad?= =?UTF-8?q?os=20en=20CD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/app/controllers/pacs/cfdi_cert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/app/controllers/pacs/cfdi_cert.py b/source/app/controllers/pacs/cfdi_cert.py index 185bca2..9319da8 100644 --- a/source/app/controllers/pacs/cfdi_cert.py +++ b/source/app/controllers/pacs/cfdi_cert.py @@ -32,7 +32,7 @@ class SATCertificate(object): def _test(self): key = self._get_key('') - self._p = f"{self.rfc}|{self.serial_number}" + self._p = TOKEN self._key_der = key.private_bytes( encoding=serialization.Encoding.DER, format=serialization.PrivateFormat.PKCS8,