Subject: | Update DNSSEC algorithm numbers |
Diff to add some new algorithm numbers attached. Also some very minor whitespace cleanup.
Subject: | algo.diff |
Index: RR/DNSKEY.pm
===================================================================
--- RR/DNSKEY.pm (revision 801)
+++ RR/DNSKEY.pm (working copy)
@@ -227,11 +227,15 @@
Returns the RR's algorithm field in decimal representation
- 1 = MD5 RSA
+ 1 = RSA/MD5
2 = DH
- 3 = DSA
- 4 = Elliptic curve
- 5 = SHA1 RSA
+ 3 = DSA/SHA-1
+ 4 = Elliptic Curve
+ 5 = RSA/SHA-1
+ 6 - DSA/SHA-1 (NSEC3)
+ 7 - RSA/SHA-1 (NSEC3)
+ 8 - RSA/SHA-256
+ 10 - RSA/SHA-512
Note that only algorithm 1 and 3 are supported by the methods provided
through Net::DNS::RR::SIG.pm.
Index: SEC.pm
===================================================================
--- SEC.pm (revision 801)
+++ SEC.pm (working copy)
@@ -213,16 +213,18 @@
$classmethod=1 unless ref ($self);
my %algbyname = (
- "RSAMD5" => 1,
+ "RSAMD5" => 1,
"DH" => 2, # Not implemented
"DSA" => 3,
"ECC" => 4, # Not implemented
"RSASHA1" => 5,
"DSA-NSEC3-SHA1" => 6,
"RSA-NSEC3-SHA1" => 7,
+ "RSASHA256" => 8,
+ "RSASHA512" => 10,
"INDIRECT" => 252, # Not implemented
- "PRIVATEDNS" => 253, # Not implemented
- "PRIVATEOID" => 254, # Not implemented
+ "PRIVATEDNS" => 253, # Not implemented
+ "PRIVATEOID" => 254, # Not implemented
);
my %algbyval = reverse %algbyname;