Skip to content

Commit

Permalink
signer: fix gpg key serialization bug
Browse files Browse the repository at this point in the history
Include unrecognized fields in GPGKey.to_dict.

Signed-off-by: Lukas Puehringer <[email protected]>
  • Loading branch information
lukpueh committed Jan 19, 2023
1 parent ddbe73d commit 3d140d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions securesystemslib/signer/_gpg_signer.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ def to_dict(self) -> Dict[str, Any]:
{
"keytype": self.keytype,
"scheme": self.scheme,
**self.unrecognized_fields,
}
)

Expand Down

0 comments on commit 3d140d5

Please sign in to comment.