diff --git a/app/models/depp/dnskey.rb b/app/models/depp/dnskey.rb index 895dca74b..cd98bb70e 100644 --- a/app/models/depp/dnskey.rb +++ b/app/models/depp/dnskey.rb @@ -12,10 +12,9 @@ module Depp ['6 - DSA-NSEC3-SHA1', 6], ['7 - RSASHA1-NSEC3-SHA1', 7], ['8 - RSA/SHA-256', 8], - ['252 - Reserved for Indirect Keys', 252], - ['253 - Private algorithm', 253], - ['254 - Private algorithm OID', 254], - ['255 - Reserved', 255] + ['10 - RSA/SHA-512', 10], + ['13 - ECDSA Curve P-256 with SHA-256', 13], + ['14 - ECDSA Curve P-384 with SHA-384', 14] ] PROTOCOLS = [3] diff --git a/app/models/dnskey.rb b/app/models/dnskey.rb index 0c426978c..26f5a0afd 100644 --- a/app/models/dnskey.rb +++ b/app/models/dnskey.rb @@ -17,7 +17,7 @@ class Dnskey < ActiveRecord::Base end } - ALGORITHMS = %w(3 5 6 7 8 252 253 254 255) + ALGORITHMS = %w(3 5 6 7 8 10 13 14) PROTOCOLS = %w(3) FLAGS = %w(0 256 257) # 256 = ZSK, 257 = KSK