Device: Fix typo on `type_` in dump()

This commit is contained in:
rlaphoenix 2022-07-21 13:09:53 +01:00
parent ac4c8affb0
commit 1f389dbab9
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ class Device:
private_key = self.private_key.export_key("DER") if self.private_key else None
return self.bin_format.build(dict(
version=2,
type=self.type.value,
type_=self.type.value,
security_level=self.security_level,
flags=self.flags,
private_key_len=len(private_key) if private_key else 0,