diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2021-02-23 00:20:32 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2021-02-23 00:20:32 +0100 |
commit | af5e3d794fc2f83f6cc3b5ddff386dad5463707d (patch) | |
tree | 1aae4c275d1c19bd82a0b6d514ef59ba99d042e0 /tests/accountd-kid | |
parent | 0fb2ebb14c538d736d9260fc6fae51d02375a999 (diff) |
Consolidate error messages.
Diffstat (limited to 'tests/accountd-kid')
-rw-r--r-- | tests/accountd-kid | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/accountd-kid b/tests/accountd-kid index f55facf..1f282fd 100644 --- a/tests/accountd-kid +++ b/tests/accountd-kid @@ -26,7 +26,7 @@ runuser -u lacme-account -- lacme-accountd --socket="$SOCKET" --quiet & PID=$! # newAccount resource fails as per RFC 8555 sec. 6.2 it requires a JWK ! lacme --socket="$SOCKET" account 2>"$STDERR" || fail -grepstderr -Fxq "WARNING: lacme-accountd supplied an empty JWK; try removing 'keyid' setting from lacme-accountd.conf if the ACME resource request fails." +grepstderr -Fxq "Warning: lacme-accountd supplied an empty JWK; try removing 'keyid' setting from lacme-accountd.conf if the ACME resource request fails." grepstderr -Fxq "400 Bad Request (Parse error reading JWS)" grep -F "] SIGNED header=base64url({" ~lacme-account/.local/share/lacme/accountd.log >/tmp/signed ! grep -vF "] SIGNED header=base64url({\"alg\":\"RS256\",\"jwk\":{}," </tmp/signed |