Title: Webhook Signature add-on for Gravity Forms
Author: danielboven
Published: <strong>2021 年 2 月 17 日</strong>
Last modified: 2021 年 2 月 17 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/gf-webhook-signature.svg)

# Webhook Signature add-on for Gravity Forms

 作者：[danielboven](https://profiles.wordpress.org/danielboven/)

[下载](https://downloads.wordpress.org/plugin/gf-webhook-signature.zip)

 * [详情](https://cn.wordpress.org/plugins/gf-webhook-signature/#description)
 * [评价](https://cn.wordpress.org/plugins/gf-webhook-signature/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/gf-webhook-signature/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/gf-webhook-signature/#developers)

 [支持](https://wordpress.org/support/plugin/gf-webhook-signature/)

## 描述

This plugin can sign the webhook events sent by the Gravity Forms WebHooks Add-On
to your endpoints by including a signature in each event’s `X-Gform-Signature` header.
This allows you to verify that the events were sent by the Gravity Forms add-on,
not by a third party. As of right now, you must verify the signatures by manually
using your own solution. However, an example of a Node.js (JavaScript) implementation
is linked below.

Before you can verify signatures, you need to retrieve your endpoint’s public key(
more information at [this question](https://cn.wordpress.org/plugins/gf-webhook-signature/?output_format=md#how%20can%20i%20verify%20the%20signature%3F)).

This plugin uses the same keys for every form and endpoint, meaning that the same
keys will be used for every signature generated.

### Verification implementations

 * **Node.js:** See the example on [Github](https://github.com/danielboven/gravity-forms-webhook-signature/blob/main/examples/NODE_JS.md).

## 安装

 1. Upload this plugin to your WordPress website
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Navigate to the _Settings_ section
 4. Click on the button _Generate a new public – private key pair_, or paste your own
    in the fields above and save

## 常见问题

### How can I verify the signature?

Navigate to the plugin settings. Copy the key in the _Public Key_ field to your 
own application (receiver). Use it to verify the signature.

### What format can I use for custom key

Keys that are generated by the plugin have the following format:
 – **Digest algorithm:**
SHA256 – **Private key type:** RSA (OPENSSL_KEYTYPE_RSA) – **Private key bits:**
1024

It is therefore advised that in case you use custom keys, you use a similar format,
since no other format than the one above has been tested.

You also have to include the **BEGIN** and **END** lines, for example:

**Public Key:**
 `-----BEGIN PUBLIC KEY----- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXX -----END PUBLIC KEY-----

### How can I send feedback or get help with a bug?

I’d love to hear your bug reports, feature suggestions and any other feedback! Please
head over to [the GitHub issues page](https://github.com/danielboven/gravity-forms-webhook-signature/issues)
to search for existing issues or open a new one. While I’ll try to triage issues
reported here on the plugin forum, you’ll get a faster response (and reduce duplication
of effort) by keeping everything centralized in the GitHub repository.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Webhook Signature add-on for Gravity Forms」是开源软件。 以下人员对此插件做出了
贡献。

贡献者

 *   [ danielboven ](https://profiles.wordpress.org/danielboven/)

[帮助将「Webhook Signature add-on for Gravity Forms」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/gf-webhook-signature)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/gf-webhook-signature/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/gf-webhook-signature/)，或通过[RSS](https://plugins.trac.wordpress.org/log/gf-webhook-signature/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/gf-webhook-signature/)。

## 额外信息

 *  版本 **1.0**
 *  最后更新：**6 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **5.6.21**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/gf-webhook-signature/)
 * 标签
 * [forms](https://cn.wordpress.org/plugins/tags/forms/)[gravity](https://cn.wordpress.org/plugins/tags/gravity/)
   [request](https://cn.wordpress.org/plugins/tags/request/)[verify](https://cn.wordpress.org/plugins/tags/verify/)
   [webhook](https://cn.wordpress.org/plugins/tags/webhook/)
 *  [高级视图](https://cn.wordpress.org/plugins/gf-webhook-signature/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/gf-webhook-signature/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/gf-webhook-signature/reviews/)

## 贡献者

 *   [ danielboven ](https://profiles.wordpress.org/danielboven/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/gf-webhook-signature/)