Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump the dependencies group across 1 directory with 7 updates #169

Merged
merged 3 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Format
  • Loading branch information
fulder committed Aug 13, 2024
commit 98f97c1efd5e7f1f8be474e70f673f4cfb1c5f43
24 changes: 12 additions & 12 deletions pki_tools/types/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,9 @@ def _string_dict(self):
authority_cert_issuer.append(general_name._string_dict())
ret["Authority Cert Issuer"] = authority_cert_issuer
if self.authority_cert_serial_number is not None:
ret[
"Authority Cert Serial Number"
] = self.authority_cert_serial_number
ret["Authority Cert Serial Number"] = (
self.authority_cert_serial_number
)

if ret:
return {self.name: ret}
Expand Down Expand Up @@ -945,13 +945,13 @@ def _string_dict(self):
ret = {self.name: {}}

if self.require_explicit_policy is not None:
ret[self.name][
"Require Explicit Policy"
] = self.require_explicit_policy
ret[self.name]["Require Explicit Policy"] = (
self.require_explicit_policy
)
if self.inhibit_policy_mapping is not None:
ret[self.name][
"Inhibit Policy Mapping"
] = self.inhibit_policy_mapping
ret[self.name]["Inhibit Policy Mapping"] = (
self.inhibit_policy_mapping
)

return ret

Expand Down Expand Up @@ -1210,9 +1210,9 @@ def _string_dict(self):
for full_name in self.full_name:
ret["Full Name"].append(full_name._string_dict())
if self.name_relative_to_crl_issuer is not None:
ret[
"Name Relative To CRL Issuer"
] = self.name_relative_to_crl_issuer._string_dict()
ret["Name Relative To CRL Issuer"] = (
self.name_relative_to_crl_issuer._string_dict()
)
if self.reasons is not None:
ret["Reasons"] = []
for reason in self.reasons:
Expand Down
6 changes: 3 additions & 3 deletions pki_tools/types/signature_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ class SignatureAlgorithm(BaseModel):
model_config = ConfigDict(arbitrary_types_allowed=True)

algorithm: HashAlgorithm
parameters: Optional[
Union[PSSPadding, PKCS1v15Padding, ECDSAPadding]
] = None
parameters: Optional[Union[PSSPadding, PKCS1v15Padding, ECDSAPadding]] = (
None
)

@classmethod
def from_cryptography(
Expand Down