File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 30
30
from securesystemslib .signer import SSlibSigner
31
31
32
32
from tuf .api .metadata import (
33
+ SPECIFICATION_VERSION ,
33
34
DelegatedRole ,
34
35
Delegations ,
35
36
Key ,
@@ -82,7 +83,7 @@ def _in(days: float) -> datetime:
82
83
# expiration intervals, whereas roles that change less and might use offline
83
84
# keys (root, delegating targets) may have longer expiration intervals.
84
85
85
- SPEC_VERSION = "1.0.19"
86
+ SPEC_VERSION = "." . join ( SPECIFICATION_VERSION )
86
87
87
88
# Define containers for role objects and cryptographic keys created below. This
88
89
# allows us to sign and write metadata in a batch more easily.
Original file line number Diff line number Diff line change 26
26
from securesystemslib .signer import SSlibSigner
27
27
28
28
from tuf .api .metadata import (
29
+ SPECIFICATION_VERSION ,
29
30
DelegatedRole ,
30
31
Delegations ,
31
32
Key ,
@@ -41,7 +42,7 @@ def _in(days: float) -> datetime:
41
42
return datetime .utcnow ().replace (microsecond = 0 ) + timedelta (days = days )
42
43
43
44
44
- SPEC_VERSION = "1.0.19"
45
+ SPEC_VERSION = "." . join ( SPECIFICATION_VERSION )
45
46
roles : Dict [str , Metadata ] = {}
46
47
keys : Dict [str , Dict [str , Any ]] = {}
47
48
You can’t perform that action at this time.
0 commit comments