Skip to content

Commit c6d2dc0

Browse files
authored
Allow to skip signature verification (#741)
## Changes - Allow skipping signature verification for webhooks ## Motivation The signature returned with webhooks is calculated using a single channel secret. If the bot owner changes their channel secret, the signature for webhooks starts being calculated using the new channel secret. To avoid signature verification failures, the bot owner must update the channel secret on their server, which is used for signature verification. However, if there is a timing mismatch in the update—and such a mismatch is almost unavoidable—verification will fail during that period. In such cases, having an option to skip signature verification for webhooks would be a convenient way to avoid these issues.
1 parent 97410e2 commit c6d2dc0

File tree

1,011 files changed

+320864
-120267
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,011 files changed

+320864
-120267
lines changed

.github/workflows/generate-code.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
bash tools/gen-oas-client.sh
5454
- name: Update document
5555
run: |
56-
wget https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.3.1/phpDocumentor.phar
56+
wget https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.8.1/phpDocumentor.phar
5757
php phpDocumentor.phar run -d src -t docs
5858
- run: |
5959
diff_files=$(git --no-pager diff --name-only)
@@ -64,6 +64,21 @@ jobs:
6464
6565
echo "DIFF_IS_EMPTY=$([[ -z "$diff_excluding_submodule" ]] && echo 'true' || echo 'false')" >> $GITHUB_ENV
6666
echo "CURRENT_DATETIME=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
67+
68+
# Save full diff to file and upload artifact
69+
- name: Save full diff to file
70+
if: env.DIFF_IS_EMPTY != 'true'
71+
run: |
72+
git --no-pager diff HEAD > diff.patch
73+
echo "Full diff saved to diff.patch"
74+
75+
- name: Upload diff artifact
76+
if: env.DIFF_IS_EMPTY != 'true'
77+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
78+
with:
79+
name: codegen-diff
80+
path: diff.patch
81+
6782
## Run if diff exists and pull request or merge queue, and make CI status failure (but allow renovate bot)
6883
## 29139614 is renovate bot's actor id
6984
- if: >-

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions

README.md

Lines changed: 1 addition & 1 deletion

docs/classes/LINE-Clients-ChannelAccessToken-Api-ChannelAccessTokenApi.html

Lines changed: 899 additions & 405 deletions
Large diffs are not rendered by default.

docs/classes/LINE-Clients-ChannelAccessToken-ApiException.html

Lines changed: 255 additions & 107 deletions
Large diffs are not rendered by default.

docs/classes/LINE-Clients-ChannelAccessToken-Configuration.html

Lines changed: 712 additions & 288 deletions
Large diffs are not rendered by default.

docs/classes/LINE-Clients-ChannelAccessToken-HeaderSelector.html

Lines changed: 260 additions & 112 deletions
Large diffs are not rendered by default.

docs/classes/LINE-Clients-ChannelAccessToken-Model-ChannelAccessTokenKeyIdsResponse.html

Lines changed: 600 additions & 260 deletions
Large diffs are not rendered by default.

docs/classes/LINE-Clients-ChannelAccessToken-Model-ErrorResponse.html

Lines changed: 624 additions & 270 deletions
Large diffs are not rendered by default.

docs/classes/LINE-Clients-ChannelAccessToken-Model-IssueChannelAccessTokenResponse.html

Lines changed: 672 additions & 290 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)