summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--b4/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/b4/__init__.py b/b4/__init__.py
index dee182e..11ad012 100644
--- a/b4/__init__.py
+++ b/b4/__init__.py
@@ -954,7 +954,7 @@ class LoreMessage:
if self.msg.get(DEVSIG_HDR):
self._load_patatt_attestors()
- if self.msg.get('dkim-signature'):
+ if self.msg.get('dkim-signature') and config['attestation-check-dkim'] == 'yes':
self._load_dkim_attestors()
return self._attestors