From ab759fdaf9789aafb64fb8a3844471834f1a7ce6 Mon Sep 17 00:00:00 2001 From: Ryan Liang Date: Wed, 2 Aug 2023 09:52:32 -0700 Subject: [PATCH] Switch back the original signing key for httpjwtauthenticator testing configs Signed-off-by: Ryan Liang --- config/config.yml | 2 +- legacy/securityconfig_v6/config.yml | 2 +- src/test/resources/legacy/securityconfig_v6/config.yml | 2 +- .../resources/legacy/securityconfig_v6/migration/config.yml | 2 +- src/test/resources/restapi/securityconfig_nondefault.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/config.yml b/config/config.yml index 1e671260e9..1493a0d7f1 100644 --- a/config/config.yml +++ b/config/config.yml @@ -130,7 +130,7 @@ config: type: jwt challenge: false config: - signing_key: "VGhpcyBpcyB0aGUgand0IHNpZ25pbmcga2V5IGZvciBhbiBvbiBiZWhhbGYgb2YgdG9rZW4gYXV0aGVudGljYXRpb24gYmFja2VuZCBmb3IgdGVzdGluZyBvZiBleHRlbnNpb25z" + signing_key: "base64 encoded HMAC key or public RSA/ECDSA pem key" jwt_header: "Authorization" jwt_url_parameter: null jwt_clock_skew_tolerance_seconds: 30 diff --git a/legacy/securityconfig_v6/config.yml b/legacy/securityconfig_v6/config.yml index f6338c231f..d867a72200 100644 --- a/legacy/securityconfig_v6/config.yml +++ b/legacy/securityconfig_v6/config.yml @@ -121,7 +121,7 @@ opendistro_security: type: jwt challenge: false config: - signing_key: "VGhpcyBpcyB0aGUgand0IHNpZ25pbmcga2V5IGZvciBhbiBvbiBiZWhhbGYgb2YgdG9rZW4gYXV0aGVudGljYXRpb24gYmFja2VuZCBmb3IgdGVzdGluZyBvZiBleHRlbnNpb25z" + signing_key: "base64 encoded HMAC key or public RSA/ECDSA pem key" jwt_header: "Authorization" jwt_url_parameter: null roles_key: null diff --git a/src/test/resources/legacy/securityconfig_v6/config.yml b/src/test/resources/legacy/securityconfig_v6/config.yml index 38bd8b8605..19b1fd76cd 100644 --- a/src/test/resources/legacy/securityconfig_v6/config.yml +++ b/src/test/resources/legacy/securityconfig_v6/config.yml @@ -120,7 +120,7 @@ opendistro_security: type: jwt challenge: false config: - signing_key: "VGhpcyBpcyB0aGUgand0IHNpZ25pbmcga2V5IGZvciBhbiBvbiBiZWhhbGYgb2YgdG9rZW4gYXV0aGVudGljYXRpb24gYmFja2VuZCBmb3IgdGVzdGluZyBvZiBleHRlbnNpb25z" + signing_key: "base64 encoded HMAC key or public RSA/ECDSA pem key" jwt_header: "Authorization" jwt_url_parameter: null roles_key: null diff --git a/src/test/resources/legacy/securityconfig_v6/migration/config.yml b/src/test/resources/legacy/securityconfig_v6/migration/config.yml index 9f526e89b4..cd9b2398c9 100644 --- a/src/test/resources/legacy/securityconfig_v6/migration/config.yml +++ b/src/test/resources/legacy/securityconfig_v6/migration/config.yml @@ -111,7 +111,7 @@ opendistro_security: type: jwt challenge: false config: - signing_key: "VGhpcyBpcyB0aGUgand0IHNpZ25pbmcga2V5IGZvciBhbiBvbiBiZWhhbGYgb2YgdG9rZW4gYXV0aGVudGljYXRpb24gYmFja2VuZCBmb3IgdGVzdGluZyBvZiBleHRlbnNpb25z" + signing_key: "base64 encoded HMAC key or public RSA/ECDSA pem key" jwt_header: "Authorization" jwt_url_parameter: null roles_key: null diff --git a/src/test/resources/restapi/securityconfig_nondefault.json b/src/test/resources/restapi/securityconfig_nondefault.json index e70c331c7d..a5660c6496 100644 --- a/src/test/resources/restapi/securityconfig_nondefault.json +++ b/src/test/resources/restapi/securityconfig_nondefault.json @@ -28,7 +28,7 @@ "challenge" : false, "type" : "jwt", "config" : { - "signing_key" : "VGhpcyBpcyB0aGUgand0IHNpZ25pbmcga2V5IGZvciBhbiBvbiBiZWhhbGYgb2YgdG9rZW4gYXV0aGVudGljYXRpb24gYmFja2VuZCBmb3IgdGVzdGluZyBvZiBleHRlbnNpb25z", + "signing_key" : "base64 encoded HMAC key or public RSA/ECDSA pem key", "jwt_header" : "Authorization" } },