diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-02-26 12:03:10 -0500 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-02-26 12:03:10 -0500 |
commit | 1d64260e7da5d48ded770a789be82e4de64406c8 (patch) | |
tree | cc4ee9b3dfb005511ab02e6cf576b8b79302c339 | |
parent | 9b4eb91f9ab7642823ccc1635d530cc150e29d97 (diff) | |
download | korg-helpers-1d64260e7da5d48ded770a789be82e4de64406c8.tar.gz |
Tweak attestation trailer wording a bit
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rwxr-xr-x | attest-patches.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/attest-patches.py b/attest-patches.py index 896550d..1c0bcf3 100755 --- a/attest-patches.py +++ b/attest-patches.py @@ -309,7 +309,8 @@ def query_lore_signatures(attid, session): global VALIDATION_ERRORS # XXX: Querying this via the Atom feed is a temporary kludge until we have # proper search API on lore.kernel.org - queryurl = '%s?%s' % ('https://lore.kernel.org/signatures/', urllib.parse.urlencode({'q': attid, 'x': 'A'})) + queryurl = '%s?%s' % ('https://lore.kernel.org/signatures/', + urllib.parse.urlencode({'q': attid, 'x': 'A', 'o': '-1'})) logger.debug('Query URL: %s', queryurl) resp = session.get(queryurl) content = resp.content.decode('utf-8') @@ -414,7 +415,7 @@ def verify_attestation(cmdargs): ecode = 128 else: if ecode != 128: - attestors.update(('%s (%s)' % (siguid, sigkey),)) + attestors.update(('%s (pgp:%s)' % (siguid, sigkey),)) ecode = 0 break else: @@ -440,7 +441,7 @@ def verify_attestation(cmdargs): else: logger.critical('All patches passed attestation:') for attestor in attestors: - logger.critical(' Attested-by: %s', attestor) + logger.critical(' Attestation-by: %s', attestor) sys.exit(ecode) |