mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
4398. [bug] Correct spelling of ECDSAP256SHA256 in policy.py.
[RT #42718]
This commit is contained in:
parent
05da080bbd
commit
97e13cc244
3
CHANGES
3
CHANGES
@ -1,3 +1,6 @@
|
||||
4398. [bug] Correct spelling of ECDSAP256SHA256 in policy.py.
|
||||
[RT #42718]
|
||||
|
||||
4397. [bug] Update Windows python support. [RT #42538]
|
||||
|
||||
4396. [func] dnssec-keymgr now takes a '-r randomfile' option.
|
||||
|
@ -76,7 +76,7 @@ class PolicyLex:
|
||||
return t
|
||||
|
||||
def t_ALGNAME(self, t):
|
||||
r'(?i)\b(RSAMD5|DH|DSA|NSEC3DSA|ECC|RSASHA1|NSEC3RSASHA1|RSASHA256|RSASHA512|ECCGOST|ECDSAP256SHA245|ECDSAP384SHA384)\b'
|
||||
r'(?i)\b(RSAMD5|DH|DSA|NSEC3DSA|ECC|RSASHA1|NSEC3RSASHA1|RSASHA256|RSASHA512|ECCGOST|ECDSAP256SHA256|ECDSAP384SHA384)\b'
|
||||
t.value = t.value.upper()
|
||||
return t
|
||||
|
||||
@ -145,7 +145,7 @@ class Policy:
|
||||
'RSASHA256': [512, 4096],
|
||||
'RSASHA512': [512, 4096],
|
||||
'ECCGOST': None,
|
||||
'ECDSAP256SHA245': None,
|
||||
'ECDSAP256SHA256': None,
|
||||
'ECDSAP384SHA384': None}
|
||||
|
||||
def __init__(self, name=None, algorithm=None, parent=None):
|
||||
@ -368,9 +368,9 @@ class dnssec_policy:
|
||||
self.alg_policy['ECCGOST'].algorithm = "ECCGOST"
|
||||
self.alg_policy['ECCGOST'].name = "ECCGOST"
|
||||
|
||||
self.alg_policy['ECDSAP256SHA245'] = copy(p)
|
||||
self.alg_policy['ECDSAP256SHA245'].algorithm = "ECDSAP256SHA256"
|
||||
self.alg_policy['ECDSAP256SHA245'].name = "ECDSAP256SHA256"
|
||||
self.alg_policy['ECDSAP256SHA256'] = copy(p)
|
||||
self.alg_policy['ECDSAP256SHA256'].algorithm = "ECDSAP256SHA256"
|
||||
self.alg_policy['ECDSAP256SHA256'].name = "ECDSAP256SHA256"
|
||||
|
||||
self.alg_policy['ECDSAP384SHA384'] = copy(p)
|
||||
self.alg_policy['ECDSAP384SHA384'].algorithm = "ECDSAP384SHA384"
|
||||
|
Loading…
x
Reference in New Issue
Block a user