1
0
spogulis no https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-16 17:47:23 +01:00

use RSASHA256 for .lv domains DNSSEC (#1277)

Šī revīzija ir iekļauta:
Jānis (Yannis)
2017-11-01 00:01:47 +02:00
revīziju iesūtīja Joshua Tauberer
vecāks cd554cf480
revīzija 7bf377eed1

Parādīt failu

@@ -528,12 +528,13 @@ zone:
def dnssec_choose_algo(domain, env):
if '.' in domain and domain.rsplit('.')[-1] in \
("email", "guide", "fund", "be"):
("email", "guide", "fund", "be", "lv"):
# At GoDaddy, RSASHA256 is the only algorithm supported
# for .email and .guide.
# A variety of algorithms are supported for .fund. This
# is preferred.
# Gandi tells me that .be does not support RSASHA1-NSEC3-SHA1
# Nic.lv does not support RSASHA1-NSEC3-SHA1 for .lv tld's
return "RSASHA256"
# For any domain we were able to sign before, don't change the algorithm