Permalink
Browse files

New DNSSEC key types https://www.virtualmin.com/node/45306

  • Loading branch information...
1 parent 5bf35ef commit 4f386ddc84d51ab1689bcb87f0bd4fa6ce7a7ac3 @jcameron jcameron committed Jan 9, 2017
Showing with 5 additions and 2 deletions.
  1. +5 −2 bind8/bind8-lib.pl
View
@@ -3132,13 +3132,16 @@ sub dnssec_size_range
$alg eq 'DSA' ? ( 512, 1024, 64 ) :
$alg eq 'HMAC-MD5' ? ( 1, 512 ) :
$alg eq 'NSEC3RSASHA1' ? ( 512, 4096 ) :
- $alg eq 'NSEC3DSA' ? ( 512, 1024, 64 ) : ( );
+ $alg eq 'NSEC3DSA' ? ( 512, 1024, 64 ) :
+ $alg eq 'ECDSAP256SHA256' ? ( 128, 512 ) :
+ $alg eq 'ECDSAP384SHA384' ? ( 128, 512 ) :
+ ( );
}
sub list_dnssec_algorithms
{
return ("RSASHA1", "RSASHA256", "RSAMD5", "DSA", "DH", "HMAC-MD5",
- "NSEC3RSASHA1", "NSEC3DSA");
+ "NSEC3RSASHA1", "NSEC3DSA", "ECDSAP256SHA256", "ECDSAP384SHA384");
}
# get_keys_dir(&zone|&zone-name)

0 comments on commit 4f386dd

Please sign in to comment.