File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55
66import logging
77from pathlib import Path
8- from typing import Optional , Union , Tuple
8+ from typing import Optional , Union
99
1010from pyasn1 .codec .der import encoder , decoder
1111from pyasn1 .type import univ , tag
@@ -66,7 +66,7 @@ def serialize_stateful_signature_key(
6666
6767def deserialize_stateful_signature_key (
6868 key_name : str , dir_name : Union [str , Path ] = _KEY_DIR
69- ) -> Tuple [bytes , bytes ]:
69+ ) -> tuple [bytes , bytes ]:
7070 """
7171 Deserialize the stateful signature key from a `OneAsymmetricKey` structure.
7272
@@ -119,7 +119,7 @@ def _may_generate_stfl_key(
119119
120120def gen_or_load_stateful_signature_key (
121121 key_name : str , dir_name : Union [str , Path ] = _KEY_DIR
122- ) -> Tuple [Optional [bytes ], Optional [bytes ]]:
122+ ) -> tuple [Optional [bytes ], Optional [bytes ]]:
123123 """
124124 Generate or load a stateful signature key pair.
125125
You can’t perform that action at this time.
0 commit comments