-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hello,
did sshd/auth.sh ever work? Whatever i try, it only produces error-values.
I could track the Problem back to those lines:
Line 42 in 316686d
| jq -r -c -e --arg u "${1}" '.users?.[]? | select(.username? == $u)' "${AUTH_CONFIG_PATH}" 2>/dev/null |
Line 61 in 316686d
| user_keys=$(echo "${1}" | jq -r -c .keys?.[]?) |
i could fix it by replacing these lines where JQ is failing:
L42:
jq -r -c -e --arg u "${1}" '.users[] | select(.username == $u)' "${AUTH_CONFIG_PATH}" 2>/dev/null
L61:
user_keys=$(echo "${1}" | jq -r -c '.keys[]')
I didnt not check "dump_keys_github" so far, actually i commentet this out in my testing.
Cheers
Kiko
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working