python: Adapt to TOFU changes.
* lang/python/pyme/results.py (TofuInfo): Drop. (Signature): The TOFU information moved to the key. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
99db351288
commit
f6cd560ca7
@ -92,12 +92,9 @@ class SignResult(Result):
|
|||||||
class Notation(Result):
|
class Notation(Result):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class TofuInfo(Result):
|
|
||||||
pass
|
|
||||||
|
|
||||||
class Signature(Result):
|
class Signature(Result):
|
||||||
_type = dict(wrong_key_usage=bool, chain_model=bool)
|
_type = dict(wrong_key_usage=bool, chain_model=bool)
|
||||||
_map = dict(notations=Notation, tofu=TofuInfo)
|
_map = dict(notations=Notation)
|
||||||
|
|
||||||
class VerifyResult(Result):
|
class VerifyResult(Result):
|
||||||
_map = dict(signatures=Signature)
|
_map = dict(signatures=Signature)
|
||||||
|
Loading…
Reference in New Issue
Block a user