Skip to content

Commit

Permalink
reindex
Browse files Browse the repository at this point in the history
  • Loading branch information
Revolyssup committed Sep 17, 2024
1 parent e5773c8 commit ee595ab
Showing 1 changed file with 18 additions and 21 deletions.
39 changes: 18 additions & 21 deletions t/plugin/hmac-auth.t
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ passed



=== TEST 18: verify: invalid signature
=== TEST 17: verify: invalid signature
--- request
GET /hello
--- more_headers
Expand All @@ -452,7 +452,7 @@ client request can't be validated: Invalid signature



=== TEST 19: verify: invalid signature
=== TEST 18: verify: invalid signature
--- request
GET /hello
--- more_headers
Expand All @@ -468,7 +468,7 @@ client request can't be validated: Invalid signature



=== TEST 20: add route with 1 clock skew
=== TEST 19: add route with 1 clock skew
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -502,7 +502,7 @@ passed



=== TEST 21: verify: Invalid GMT format time
=== TEST 20: verify: Invalid GMT format time
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -556,7 +556,7 @@ client request can't be validated: Clock skew exceeded



=== TEST 22: update route with default clock skew
=== TEST 21: update route with default clock skew
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -588,7 +588,7 @@ passed



=== TEST 23: verify: put ok
=== TEST 22: verify: put ok
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -646,7 +646,7 @@ passed



=== TEST 24: update route with signed_headers
=== TEST 23: update route with signed_headers
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -682,7 +682,7 @@ passed



=== TEST 25: verify with invalid signed header
=== TEST 24: verify with invalid signed header
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -734,7 +734,7 @@ client request can't be validated: expected header "x-custom-header-b" missing i



=== TEST 26: verify ok with signed headers
=== TEST 25: verify ok with signed headers
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -786,7 +786,7 @@ passed



=== TEST 27: add consumer with plugin hmac-auth - empty configuration
=== TEST 26: add consumer with plugin hmac-auth - empty configuration
--- config
location /t {
content_by_lua_block {
Expand All @@ -813,7 +813,7 @@ qr/\{"error_msg":"invalid plugins configuration: failed to check the configurati



=== TEST 28: add route with no allowed algorithms
=== TEST 27: add route with no allowed algorithms
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -850,8 +850,7 @@ qr/validation failed: expect array to have at least 1 items/




=== TEST 29: update route with signed_headers
=== TEST 28: update route with signed_headers
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -887,8 +886,7 @@ passed




=== TEST 30: verify Authorization header missing
=== TEST 29: verify Authorization header missing
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -936,7 +934,7 @@ passed



=== TEST 31 : update route with signed_headers
=== TEST 30 : update route with signed_headers
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -972,8 +970,7 @@ passed




=== TEST 32: verify error with the client only sends one in the request, but there are two in the signature
=== TEST 31: verify error with the client only sends one in the request, but there are two in the signature
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -1029,7 +1026,7 @@ client request can't be validated: Invalid signature



=== TEST 33: verify error with the client sends two in the request, but there is only one in the signature
=== TEST 32: verify error with the client sends two in the request, but there is only one in the signature
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -1085,7 +1082,7 @@ client request can't be validated: Invalid signature



=== TEST 34 : update route with allowed_algorithms
=== TEST 33 : update route with allowed_algorithms
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -1121,7 +1118,7 @@ passed



=== TEST 35: verify with hmac-sha1 algorithm, not part of allowed_algorithms
=== TEST 34: verify with hmac-sha1 algorithm, not part of allowed_algorithms
--- config
location /t {
content_by_lua_block {
Expand Down

0 comments on commit ee595ab

Please sign in to comment.