from typing import List


def jfrog_config_get_values(jfrog_config: bytes, target_key: str) -> List[str]:
    """ Search Xray configuration for target_key and return matching values """
    values = []
    for line in jfrog_config.splitlines():
        try:
            line = line.decode("UTF-8")
        except UnicodeDecodeError:
            continue
        if not line:
            continue
        key, value = line.split(":", 1)
        key = key.strip()
        value = value.strip()

        if key == target_key:
            values.append(value)

    return values