From e23e7809914c448908da70a2007502ef5f059e35 Mon Sep 17 00:00:00 2001 From: LeandroJatai Date: Tue, 5 Aug 2025 12:20:37 -0300 Subject: [PATCH] =?UTF-8?q?hot-feat:=20add=20assinatura=20avan=C3=A7ada=20?= =?UTF-8?q?1doc=20no=20alg=20de=20captura=20de=20ass?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/base/receivers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sapl/base/receivers.py b/sapl/base/receivers.py index 595323197..f0e5365c6 100644 --- a/sapl/base/receivers.py +++ b/sapl/base/receivers.py @@ -225,7 +225,7 @@ def signed_files_extraction_function(sender, instance, **kwargs): issuer = cert.native['tbs_certificate']['issuer'] oname = issuer.get('organization_name', '') - if oname == 'Gov-Br': + if oname in ('Gov-Br', '1Doc'): nome = subject['common_name'].split(':')[0] continue @@ -336,7 +336,7 @@ def signed_files_extraction_function(sender, instance, **kwargs): issuer = cert.native['tbs_certificate']['issuer'] oname = issuer.get('organization_name', '') - if oname == 'Gov-Br': + if oname in ('Gov-Br', '1Doc'): nome = subject['common_name'].split(':')[0] continue