@staticmethod
def format_fingerprint(fingerprint: str) ->str:
    """Format a PGP fingerprint into sections of 4 characters, separated by spaces."""
    string_parts = []
    for idx in range(0, 40, 4):
        string_parts.append(fingerprint[idx:idx + 4])
        if idx == 16:
            string_parts.append('')
    return ' '.join(string_parts)
