Added a subkey binding signature subpacket.

This commit is contained in:
KOLANICH
2019-12-13 13:27:37 +03:00
parent 27996f80c3
commit 449a7afb77

View File

@@ -52,6 +52,7 @@ __all__ = ['URI',
'Policy', 'Policy',
'KeyFlags', 'KeyFlags',
'SignersUserID', 'SignersUserID',
'SubkeyBindingSignature',
'ReasonForRevocation', 'ReasonForRevocation',
'Features', 'Features',
'EmbeddedSignature', 'EmbeddedSignature',
@@ -700,8 +701,10 @@ class KeyServerPreferences(ByteFlag):
class PreferredKeyServer(URI): class PreferredKeyServer(URI):
__typeid__ = 0x18 __typeid__ = 0x18
class SubkeyBindingSignature(Signature):
__typeid__ = 0x18
class PrimaryUserID(Signature): class PrimaryUserID(SubkeyBindingSignature):
__typeid__ = 0x19 __typeid__ = 0x19
@sdproperty @sdproperty