mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Show SSHFP record containing space in fingerprint
SSHFP records added by nsupdate contains extra space (valid), framework couldn't handle it. Ticket: https://fedorahosted.org/freeipa/ticket/4790 Ticket: https://fedorahosted.org/freeipa/ticket/4789 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
parent
8f9c5988e2
commit
b5ff0b941e
@ -1437,6 +1437,14 @@ class SSHFPRecord(DNSRecord):
|
||||
),
|
||||
)
|
||||
|
||||
def _get_part_values(self, value):
|
||||
# fingerprint part can contain space in LDAP, return it as one part
|
||||
values = value.split(None, 2)
|
||||
if len(values) != len(self.parts):
|
||||
return None
|
||||
return tuple(values)
|
||||
|
||||
|
||||
class TARecord(DNSRecord):
|
||||
rrtype = 'TA'
|
||||
supported = False
|
||||
|
Loading…
Reference in New Issue
Block a user