DKIM: downcase algorithms, accept ED25519.
This commit is contained in:
parent
05fff1b83b
commit
8824835975
@ -463,6 +463,7 @@ class DNSManager::Storage::Zone
|
|||||||
end
|
end
|
||||||
enum SignatureAlgorithm
|
enum SignatureAlgorithm
|
||||||
RSA
|
RSA
|
||||||
|
ED25519
|
||||||
end
|
end
|
||||||
enum HashAlgorithm
|
enum HashAlgorithm
|
||||||
SHA256
|
SHA256
|
||||||
@ -478,7 +479,7 @@ class DNSManager::Storage::Zone
|
|||||||
def initialize(@v, @h, @k, @p, @n)
|
def initialize(@v, @h, @k, @p, @n)
|
||||||
end
|
end
|
||||||
def to_s(io : IO)
|
def to_s(io : IO)
|
||||||
io << "v=#{v};h=#{h};k=#{k};p=#{p}"
|
io << "v=#{v};h=#{h.to_s.downcase};k=#{k.to_s.downcase};p=#{p}"
|
||||||
io << ";n=#{n}" unless n == ""
|
io << ";n=#{n}" unless n == ""
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user