From: "Mark Brown" <broonie@kernel.org>
To: tools@linux.kernel.org, konstantin@linuxfoundation.org
Subject: Exception with b4 am
Date: Mon, 23 Nov 2020 12:41:39 +0000 [thread overview]
Message-ID: <20201123124139.GB6322@sirena.org.uk> (raw)
[-- Attachment #1: Type: text/plain, Size: 2173 bytes --]
When running current master on Debian stable if I invoke:
b4 am -P 59 c0efb81064f71837f19408f65b52d155103ee514.1605896059.git.gustavoars@kernel.org
I get the traceback below unless I remove python3-dkim:
Looking up https://lore.kernel.org/r/c0efb81064f71837f19408f65b52d155103ee514.1605896059.git.gustavoars%40kernel.org
Grabbing thread from lore.kernel.org/linux-hardening
Analyzing 212 messages in the thread
---
Writing ./20201120_gustavoars_fix_fall_through_warnings_for_clang.mbx
Traceback (most recent call last):
File "/home/broonie/git/b4/b4/command.py", line 220, in <module>
cmd()
File "/home/broonie/git/b4/b4/command.py", line 203, in cmd
cmdargs.func(cmdargs)
File "/home/broonie/git/b4/b4/command.py", line 40, in cmd_am
b4.mbox.main(cmdargs)
File "/home/broonie/git/b4/b4/mbox.py", line 511, in main
mbox_to_am(threadmbox, cmdargs)
File "/home/broonie/git/b4/b4/mbox.py", line 117, in mbox_to_am
linkmask=config['linkmask'], cherrypick=cherrypick)
File "/home/broonie/git/b4/b4/__init__.py", line 532, in save_am_mbox
if latt and latt.validate(lmsg.msg):
File "/home/broonie/git/b4/b4/__init__.py", line 1812, in validate
self.lsig = LoreAttestationSignatureDKIM(msg)
File "/home/broonie/git/b4/b4/__init__.py", line 1639, in __init__
if not dkim.verify(self.msg.as_bytes(), dnsfunc=dkim_get_txt):
File "/usr/lib/python3/dist-packages/dkim/__init__.py", line 1291, in verify
return d.verify(dnsfunc=dnsfunc)
File "/usr/lib/python3/dist-packages/dkim/__init__.py", line 888, in verify
return self.verify_sig(sig, include_headers, sigheaders[idx], dnsfunc)
File "/usr/lib/python3/dist-packages/dkim/__init__.py", line 677, in verify_sig
pk, self.keysize, ktag = load_pk_from_dns(name, dnsfunc)
File "/usr/lib/python3/dist-packages/dkim/__init__.py", line 423, in load_pk_from_dns
s = dnsfunc(name)
File "/home/broonie/git/b4/b4/__init__.py", line 2347, in dkim_get_txt
a = _resolver.resolve(lookup, dns.rdatatype.TXT, raise_on_no_answer=False, lifetime=timeout, search=True)
AttributeError: 'Resolver' object has no attribute 'resolve'
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 499 bytes --]
next reply other threads:[~2020-11-23 12:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-23 12:41 Mark Brown [this message]
2020-11-23 14:49 ` Exception with b4 am Konstantin Ryabitsev
2020-11-23 16:50 ` [tools] " Mark Brown
2020-11-23 18:01 ` Konstantin Ryabitsev
2020-11-23 18:13 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201123124139.GB6322@sirena.org.uk \
--to=broonie@kernel.org \
--cc=konstantin@linuxfoundation.org \
--cc=tools@linux.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).