diff options
-rw-r--r-- | b4/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/b4/__init__.py b/b4/__init__.py index 00419be..5a901e9 100644 --- a/b4/__init__.py +++ b/b4/__init__.py @@ -1842,8 +1842,11 @@ class LoreAttestorDKIM(LoreAttestor): self.keysrc = 'DNS' self.signtime = signtime self.passing = passing - self.identity = identity.lstrip('@') self.errors = errors + if identity.find('@') >= 0: + self.identity = identity.split('@')[1] + else: + self.identity = identity class LoreAttestorPatatt(LoreAttestor): |