Re: [PR] feat: enable sensitive fields encryption by default [apisix]

2024-03-28 Thread via GitHub
shreemaan-abhishek merged PR #11076: URL: https://github.com/apache/apisix/pull/11076 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

Re: [PR] feat: enable sensitive fields encryption by default [apisix]

2024-03-27 Thread via GitHub
shreemaan-abhishek commented on code in PR #11076: URL: https://github.com/apache/apisix/pull/11076#discussion_r1541332469 ## t/plugin/key-auth.t: ## @@ -23,6 +23,31 @@ use t::APISIX 'no_plan'; repeat_each(2); no_long_string(); no_root_location(); +

Re: [PR] feat: enable sensitive fields encryption by default [apisix]

2024-03-27 Thread via GitHub
starsz commented on code in PR #11076: URL: https://github.com/apache/apisix/pull/11076#discussion_r1540720522 ## t/plugin/key-auth.t: ## @@ -23,6 +23,31 @@ use t::APISIX 'no_plan'; repeat_each(2); no_long_string(); no_root_location(); + +add_block_preprocessor(sub { +my

Re: [PR] feat: enable sensitive fields encryption by default [apisix]

2024-03-24 Thread via GitHub
shreemaan-abhishek commented on code in PR #11076: URL: https://github.com/apache/apisix/pull/11076#discussion_r1536768360 ## t/plugin/key-auth.t: ## @@ -23,6 +23,31 @@ use t::APISIX 'no_plan'; repeat_each(2); no_long_string(); no_root_location(); +

Re: [PR] feat: enable sensitive fields encryption by default [apisix]

2024-03-24 Thread via GitHub
shreemaan-abhishek commented on code in PR #11076: URL: https://github.com/apache/apisix/pull/11076#discussion_r1535104890 ## t/plugin/key-auth.t: ## @@ -23,6 +23,31 @@ use t::APISIX 'no_plan'; repeat_each(2); no_long_string(); no_root_location(); +

Re: [PR] feat: enable sensitive fields encryption by default [apisix]

2024-03-24 Thread via GitHub
shreemaan-abhishek commented on code in PR #11076: URL: https://github.com/apache/apisix/pull/11076#discussion_r1535103969 ## apisix/plugin.lua: ## @@ -907,7 +907,7 @@ local function enable_gde() if enable_data_encryption == nil then enable_data_encryption =

Re: [PR] feat: enable sensitive fields encryption by default [apisix]

2024-03-24 Thread via GitHub
shreemaan-abhishek commented on code in PR #11076: URL: https://github.com/apache/apisix/pull/11076#discussion_r1536768092 ## t/admin/consumers.t: ## @@ -87,7 +87,7 @@ passed "desc": "new consumer", "plugins": {

Re: [PR] feat: enable sensitive fields encryption by default [apisix]

2024-03-24 Thread via GitHub
shreemaan-abhishek commented on code in PR #11076: URL: https://github.com/apache/apisix/pull/11076#discussion_r1536767842 ## apisix/plugin.lua: ## @@ -907,7 +907,7 @@ local function enable_gde() if enable_data_encryption == nil then enable_data_encryption =

Re: [PR] feat: enable sensitive fields encryption by default [apisix]

2024-03-22 Thread via GitHub
shreemaan-abhishek commented on code in PR #11076: URL: https://github.com/apache/apisix/pull/11076#discussion_r1535104890 ## t/plugin/key-auth.t: ## @@ -23,6 +23,31 @@ use t::APISIX 'no_plan'; repeat_each(2); no_long_string(); no_root_location(); +

Re: [PR] feat: enable sensitive fields encryption by default [apisix]

2024-03-22 Thread via GitHub
shreemaan-abhishek commented on code in PR #11076: URL: https://github.com/apache/apisix/pull/11076#discussion_r1535103969 ## apisix/plugin.lua: ## @@ -907,7 +907,7 @@ local function enable_gde() if enable_data_encryption == nil then enable_data_encryption =

Re: [PR] feat: enable sensitive fields encryption by default [apisix]

2024-03-21 Thread via GitHub
moonming commented on PR #11076: URL: https://github.com/apache/apisix/pull/11076#issuecomment-2014406380 > > Expected behavior is to not update > > > > By default `encrypt_fields` will be updated to true (only in the `config-default.yaml`, the users still have the freedom to

Re: [PR] feat: enable sensitive fields encryption by default [apisix]

2024-03-21 Thread via GitHub
shreemaan-abhishek commented on PR #11076: URL: https://github.com/apache/apisix/pull/11076#issuecomment-2014324909 > Expected behavior is to not update By default `encrypt_fields` will be updated to true, the users still have the freedom to set it to `false`. -- This is an

Re: [PR] feat: enable sensitive fields encryption by default [apisix]

2024-03-21 Thread via GitHub
moonming commented on PR #11076: URL: https://github.com/apache/apisix/pull/11076#issuecomment-2014285960 If a user upgrades APISIX from an old version to a new version, will this configuration be updated? Expected behavior is to not update -- This is an automated message from the Apache

Re: [PR] feat: enable sensitive fields encryption by default [apisix]

2024-03-21 Thread via GitHub
shreemaan-abhishek commented on PR #11076: URL: https://github.com/apache/apisix/pull/11076#issuecomment-2012205949 I suppose test cases are not needed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to

[PR] feat: enable sensitive fields encryption by default [apisix]

2024-03-21 Thread via GitHub
shreemaan-abhishek opened a new pull request, #11076: URL: https://github.com/apache/apisix/pull/11076 ### Description Fixes https://lists.apache.org/thread/30wf080qvrzokronrx283sy8x8kondqf ### Checklist - [x] I have explained the need for this PR and the