Commit 8d49a1a0 authored by Mark Andrews's avatar Mark Andrews

4399. [bug] policy.py 'ECCGOST', 'ECDSAP256SHA256', and

                        'ECDSAP384SHA384' don't have settable keysize.
                        [RT #42718]
parent 97e13cc2
4399. [bug] policy.py 'ECCGOST', 'ECDSAP256SHA256', and
'ECDSAP384SHA384' don't have settable keysize.
[RT #42718]
4398. [bug] Correct spelling of ECDSAP256SHA256 in policy.py.
[RT #42718]
......
......@@ -281,6 +281,12 @@ class Policy:
('ZSK key size %d not divisible by 64 ' +
'as required for DSA') % self.zsk_keysize
if self.algorithm in ['ECCGOST', \
'ECDSAP256SHA256', \
'ECDSAP384SHA384']:
self.ksk_keysize = None
self.zsk_keysize = None
return True, ''
############################################################################
......@@ -371,10 +377,14 @@ class dnssec_policy:
self.alg_policy['ECDSAP256SHA256'] = copy(p)
self.alg_policy['ECDSAP256SHA256'].algorithm = "ECDSAP256SHA256"
self.alg_policy['ECDSAP256SHA256'].name = "ECDSAP256SHA256"
self.alg_policy['ECDSAP256SHA256'].ksk_keysize = None;
self.alg_policy['ECDSAP256SHA256'].zsk_keysize = None;
self.alg_policy['ECDSAP384SHA384'] = copy(p)
self.alg_policy['ECDSAP384SHA384'].algorithm = "ECDSAP384SHA384"
self.alg_policy['ECDSAP384SHA384'].name = "ECDSAP384SHA384"
self.alg_policy['ECDSAP384SHA384'].ksk_keysize = None;
self.alg_policy['ECDSAP384SHA384'].zsk_keysize = None;
if filename:
self.load(filename)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment