提交 4e7ac47d 编写于 作者: J Joerg Jaspert

key variable missing for keyexpired reject

上级 3262e8e1
2008-02-06 Joerg Jaspert <joerg@debian.org>
* daklib/utils.py (check_signature): Make variable key available,
so we can access it.
2008-01-07 Joerg Jaspert <joerg@debian.org>
* dak/examine_package.py (check_deb): Remove linda call. It
......
......@@ -1009,6 +1009,9 @@ used."""
reject("no signature found in %s." % (sig_filename))
bad = 1
if keywords.has_key("KEYEXPIRED") and not keywords.has_key("GOODSIG"):
args = keywords["KEYEXPIRED"]
if len(args) >= 1:
key = args[0]
reject("The key (0x%s) used to sign %s has expired." % (key, sig_filename))
bad = 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册