Device: Remove explicit deprecated key control flag
This flag was used before this project was made, never after. Therefore I do not need to actually take this flag slot as deprecated from the get-go.
This commit is contained in:
parent
b41f09bee4
commit
3d6ddb8dcd
|
@ -7,7 +7,7 @@ from typing import Any, Optional, Union
|
||||||
|
|
||||||
from construct import BitStruct, Bytes, Const
|
from construct import BitStruct, Bytes, Const
|
||||||
from construct import Enum as CEnum
|
from construct import Enum as CEnum
|
||||||
from construct import Flag, Int8ub, Int16ub
|
from construct import Int8ub, Int16ub
|
||||||
from construct import Optional as COptional
|
from construct import Optional as COptional
|
||||||
from construct import Padded, Padding, Struct, this
|
from construct import Padded, Padding, Struct, this
|
||||||
from Crypto.PublicKey import RSA
|
from Crypto.PublicKey import RSA
|
||||||
|
@ -31,8 +31,8 @@ class Structures:
|
||||||
),
|
),
|
||||||
"security_level" / Int8ub,
|
"security_level" / Int8ub,
|
||||||
"flags" / Padded(1, COptional(BitStruct(
|
"flags" / Padded(1, COptional(BitStruct(
|
||||||
Padding(7),
|
# no per-device flags yet
|
||||||
"send_key_control_nonce_deprecated" / Flag
|
Padding(8)
|
||||||
))),
|
))),
|
||||||
"private_key_len" / Int16ub,
|
"private_key_len" / Int16ub,
|
||||||
"private_key" / Bytes(this.private_key_len),
|
"private_key" / Bytes(this.private_key_len),
|
||||||
|
@ -49,8 +49,8 @@ class Structures:
|
||||||
),
|
),
|
||||||
"security_level" / Int8ub,
|
"security_level" / Int8ub,
|
||||||
"flags" / Padded(1, COptional(BitStruct(
|
"flags" / Padded(1, COptional(BitStruct(
|
||||||
Padding(7),
|
# no per-device flags yet
|
||||||
"send_key_control_nonce_deprecated" / Flag
|
Padding(8)
|
||||||
))),
|
))),
|
||||||
"private_key_len" / Int16ub,
|
"private_key_len" / Int16ub,
|
||||||
"private_key" / Bytes(this.private_key_len),
|
"private_key" / Bytes(this.private_key_len),
|
||||||
|
|
Loading…
Reference in New Issue