Skip to content

Commit c543df8

Browse files
authored
Update the SHA256 fingerprints for integration keys (#16005)
1 parent 0ecd176 commit c543df8

File tree

10 files changed

+16
-16
lines changed

10 files changed

+16
-16
lines changed
Loading
Loading

content/developers/apps/authenticating-with-github-apps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ To generate a private key:
3838
{% endnote %}
3939

4040
### Verifying private keys
41-
{% data variables.product.product_name %} generates a fingerprint for each private and public key pair using a SHA-1 hash function. You can verify that your private key matches the public key stored on {% data variables.product.product_name %} by generating the fingerprint of your private key and comparing it to the fingerprint shown on {% data variables.product.product_name %}.
41+
{% data variables.product.product_name %} generates a fingerprint for each private and public key pair using the {% if currentVersion ver_lt "[email protected]" %}SHA-1{% else %}SHA-256{% endif %} hash function. You can verify that your private key matches the public key stored on {% data variables.product.product_name %} by generating the fingerprint of your private key and comparing it to the fingerprint shown on {% data variables.product.product_name %}.
4242

4343
To verify a private key:
4444

4545
1. Find the fingerprint for the private and public key pair you want to verify in the "Private keys" section of your {% data variables.product.prodname_github_app %}'s developer settings page. For more information, see [Generating a private key](#generating-a-private-key).
4646
![Private key fingerprint](/assets/images/github-apps/github_apps_private_key_fingerprint.png)
4747
2. Generate the fingerprint of your private key (PEM) locally by using the following command:
4848
```shell
49-
$ openssl rsa -in PATH_TO_PEM_FILE -pubout -outform DER | openssl sha1 -c
49+
$ openssl rsa -in <em>PATH_TO_PEM_FILE</em> -pubout -outform DER | openssl {% if currentVersion ver_lt "[email protected]" %}sha1 -c{% else %}sha256 -binary | openssl base64{% endif %}
5050
```
5151
3. Compare the results of the locally generated fingerprint to the fingerprint you see in {% data variables.product.product_name %}.
5252

translations/de-DE/content/developers/apps/authenticating-with-github-apps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ To generate a private key:
3737
{% endnote %}
3838

3939
### Verifying private keys
40-
{% data variables.product.product_name %} generates a fingerprint for each private and public key pair using a SHA-1 hash function. You can verify that your private key matches the public key stored on {% data variables.product.product_name %} by generating the fingerprint of your private key and comparing it to the fingerprint shown on {% data variables.product.product_name %}.
40+
{% data variables.product.product_name %} generates a fingerprint for each private and public key pair using the {% if currentVersion ver_lt "[email protected]" %}SHA-1{% else %}SHA-256{% endif %} hash function. You can verify that your private key matches the public key stored on {% data variables.product.product_name %} by generating the fingerprint of your private key and comparing it to the fingerprint shown on {% data variables.product.product_name %}.
4141

4242
To verify a private key:
4343

4444
1. Find the fingerprint for the private and public key pair you want to verify in the "Private keys" section of your {% data variables.product.prodname_github_app %}'s developer settings page. For more information, see [Generating a private key](#generating-a-private-key). ![Private key fingerprint](/assets/images/github-apps/github_apps_private_key_fingerprint.png)
4545
2. Generate the fingerprint of your private key (PEM) locally by using the following command:
4646
```shell
47-
$ openssl rsa -in PATH_TO_PEM_FILE -pubout -outform DER | openssl sha1 -c
47+
$ openssl rsa -in <em>PATH_TO_PEM_FILE</em> -pubout -outform DER | openssl {% if currentVersion ver_lt "[email protected]" %}sha1 -c{% else %}sha256 -binary | openssl base64{% endif %}
4848
```
4949
3. Compare the results of the locally generated fingerprint to the fingerprint you see in {% data variables.product.product_name %}.
5050

translations/es-XL/content/developers/apps/authenticating-with-github-apps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ Para generar una llave privada:
3737
{% endnote %}
3838

3939
### Verificar las llaves privadas
40-
{% data variables.product.product_name %} genera una huella digital para cada par de llaves pública y privada utilizando una función de hash SHA-1. Puedes verificar que tu llave privada empate con la llave pública almacenada en {% data variables.product.product_name %} generando la huella digital de tu llave privada y comparándola con la huella digital que se muestra en {% data variables.product.product_name %}.
40+
{% data variables.product.product_name %} genera una huella digital para cada par de llaves pública y privada utilizando una función de hash {% if currentVersion ver_lt "[email protected]" %}SHA-1{% else %}SHA-256{% endif %}. Puedes verificar que tu llave privada empate con la llave pública almacenada en {% data variables.product.product_name %} generando la huella digital de tu llave privada y comparándola con la huella digital que se muestra en {% data variables.product.product_name %}.
4141

4242
Para verificar una llave privada:
4343

4444
1. Encuentra la huella digital del par de llaves pública y privada que quieras verificar en la sección "Llaves privadas" de tu página de configuración de desarrollador de {% data variables.product.prodname_github_app %}. Para obtener más información, consulta la sección [Generar una llave privada](#generating-a-private-key). ![Huella digital de llave privada](/assets/images/github-apps/github_apps_private_key_fingerprint.png)
4545
2. Genera la huella digital de tu llave privada (PEM) localmente utilizando el siguiente comando:
4646
```shell
47-
$ openssl rsa -in PATH_TO_PEM_FILE -pubout -outform DER | openssl sha1 -c
47+
$ openssl rsa -in <em>PATH_TO_PEM_FILE</em> -pubout -outform DER | openssl {% if currentVersion ver_lt "[email protected]" %}sha1 -c{% else %}sha256 -binary | openssl base64{% endif %}
4848
```
4949
3. Compara los resultados de la huella digital generada localmente con aquella que ves en {% data variables.product.product_name %}.
5050

translations/ja-JP/content/developers/apps/authenticating-with-github-apps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ To generate a private key:
3737
{% endnote %}
3838

3939
### Verifying private keys
40-
{% data variables.product.product_name %} generates a fingerprint for each private and public key pair using a SHA-1 hash function. You can verify that your private key matches the public key stored on {% data variables.product.product_name %} by generating the fingerprint of your private key and comparing it to the fingerprint shown on {% data variables.product.product_name %}.
40+
{% data variables.product.product_name %} generates a fingerprint for each private and public key pair using the {% if currentVersion ver_lt "[email protected]" %}SHA-1{% else %}SHA-256{% endif %} hash function. You can verify that your private key matches the public key stored on {% data variables.product.product_name %} by generating the fingerprint of your private key and comparing it to the fingerprint shown on {% data variables.product.product_name %}.
4141

4242
To verify a private key:
4343

4444
1. Find the fingerprint for the private and public key pair you want to verify in the "Private keys" section of your {% data variables.product.prodname_github_app %}'s developer settings page. For more information, see [Generating a private key](#generating-a-private-key). ![Private key fingerprint](/assets/images/github-apps/github_apps_private_key_fingerprint.png)
4545
2. Generate the fingerprint of your private key (PEM) locally by using the following command:
4646
```shell
47-
$ openssl rsa -in PATH_TO_PEM_FILE -pubout -outform DER | openssl sha1 -c
47+
$ openssl rsa -in <em>PATH_TO_PEM_FILE</em> -pubout -outform DER | openssl {% if currentVersion ver_lt "[email protected]" %}sha1 -c{% else %}sha256 -binary | openssl base64{% endif %}
4848
```
4949
3. Compare the results of the locally generated fingerprint to the fingerprint you see in {% data variables.product.product_name %}.
5050

translations/ko-KR/content/developers/apps/authenticating-with-github-apps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ To generate a private key:
3737
{% endnote %}
3838

3939
### Verifying private keys
40-
{% data variables.product.product_name %} generates a fingerprint for each private and public key pair using a SHA-1 hash function. You can verify that your private key matches the public key stored on {% data variables.product.product_name %} by generating the fingerprint of your private key and comparing it to the fingerprint shown on {% data variables.product.product_name %}.
40+
{% data variables.product.product_name %} generates a fingerprint for each private and public key pair using the {% if currentVersion ver_lt "[email protected]" %}SHA-1{% else %}SHA-256{% endif %} hash function. You can verify that your private key matches the public key stored on {% data variables.product.product_name %} by generating the fingerprint of your private key and comparing it to the fingerprint shown on {% data variables.product.product_name %}.
4141

4242
To verify a private key:
4343

4444
1. Find the fingerprint for the private and public key pair you want to verify in the "Private keys" section of your {% data variables.product.prodname_github_app %}'s developer settings page. For more information, see [Generating a private key](#generating-a-private-key). ![Private key fingerprint](/assets/images/github-apps/github_apps_private_key_fingerprint.png)
4545
2. Generate the fingerprint of your private key (PEM) locally by using the following command:
4646
```shell
47-
$ openssl rsa -in PATH_TO_PEM_FILE -pubout -outform DER | openssl sha1 -c
47+
$ openssl rsa -in <em>PATH_TO_PEM_FILE</em> -pubout -outform DER | openssl {% if currentVersion ver_lt "[email protected]" %}sha1 -c{% else %}sha256 -binary | openssl base64{% endif %}
4848
```
4949
3. Compare the results of the locally generated fingerprint to the fingerprint you see in {% data variables.product.product_name %}.
5050

translations/pt-BR/content/developers/apps/authenticating-with-github-apps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ Para gerar uma chave privada:
3737
{% endnote %}
3838

3939
### Verificar chaves privadas
40-
O {% data variables.product.product_name %} gera uma impressão digital para cada par de chave privada e pública usando uma função hash SHA-1. Você pode verificar se a sua chave privada corresponde à chave pública armazenada no {% data variables.product.product_name %}, gerando a impressão digital da sua chave privada e comparando-a com a impressão digital exibida no {% data variables.product.product_name %}.
40+
O {% data variables.product.product_name %} gera uma impressão digital para cada par de chave privada e pública usando uma função hash {% if currentVersion ver_lt "[email protected]" %}SHA-1{% else %}SHA-256{% endif %}. Você pode verificar se a sua chave privada corresponde à chave pública armazenada no {% data variables.product.product_name %}, gerando a impressão digital da sua chave privada e comparando-a com a impressão digital exibida no {% data variables.product.product_name %}.
4141

4242
Para verificar uma chave privada:
4343

4444
1. Encontre a impressão digital para o par de chaves privada e pública que deseja verificar na seção "Chaves privadas" da página de configurações de desenvolvedor do seu {% data variables.product.prodname_github_app %}. Para obter mais informações, consulte [Gerar uma chave privada](#generating-a-private-key). ![Impressão digital de chave privada](/assets/images/github-apps/github_apps_private_key_fingerprint.png)
4545
2. Gere a impressão digital da sua chave privada (PEM) localmente usando o comando a seguir:
4646
```shell
47-
$ openssl rsa -in PATH_TO_PEM_FILE -pubout -outform DER | openssl sha1 -c
47+
$ openssl rsa -in <em>PATH_TO_PEM_FILE</em> -pubout -outform DER | openssl {% if currentVersion ver_lt "[email protected]" %}sha1 -c{% else %}sha256 -binary | openssl base64{% endif %}
4848
```
4949
3. Compare os resultados da impressão digital gerada localmente com a impressão digital que você vê no {% data variables.product.product_name %}.
5050

translations/ru-RU/content/developers/apps/authenticating-with-github-apps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ To generate a private key:
3737
{% endnote %}
3838

3939
### Verifying private keys
40-
{% data variables.product.product_name %} generates a fingerprint for each private and public key pair using a SHA-1 hash function. You can verify that your private key matches the public key stored on {% data variables.product.product_name %} by generating the fingerprint of your private key and comparing it to the fingerprint shown on {% data variables.product.product_name %}.
40+
{% data variables.product.product_name %} generates a fingerprint for each private and public key pair using the {% if currentVersion ver_lt "[email protected]" %}SHA-1{% else %}SHA-256{% endif %} hash function. You can verify that your private key matches the public key stored on {% data variables.product.product_name %} by generating the fingerprint of your private key and comparing it to the fingerprint shown on {% data variables.product.product_name %}.
4141

4242
To verify a private key:
4343

4444
1. Find the fingerprint for the private and public key pair you want to verify in the "Private keys" section of your {% data variables.product.prodname_github_app %}'s developer settings page. For more information, see [Generating a private key](#generating-a-private-key). ![Private key fingerprint](/assets/images/github-apps/github_apps_private_key_fingerprint.png)
4545
2. Generate the fingerprint of your private key (PEM) locally by using the following command:
4646
```shell
47-
$ openssl rsa -in PATH_TO_PEM_FILE -pubout -outform DER | openssl sha1 -c
47+
$ openssl rsa -in <em>PATH_TO_PEM_FILE</em> -pubout -outform DER | openssl {% if currentVersion ver_lt "[email protected]" %}sha1 -c{% else %}sha256 -binary | openssl base64{% endif %}
4848
```
4949
3. Compare the results of the locally generated fingerprint to the fingerprint you see in {% data variables.product.product_name %}.
5050

translations/zh-CN/content/developers/apps/authenticating-with-github-apps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ versions:
3737
{% endnote %}
3838

3939
### 验证私钥
40-
{% data variables.product.product_name %} 使用 SHA-1 哈希函数为每对私钥和公钥生成指纹。 您可以生成私钥指纹,然后与 {% data variables.product.product_name %} 显示的指纹相比较,以验证私钥是否与 {% data variables.product.product_name %} 上存储的公钥匹配。
40+
{% data variables.product.product_name %} 使用 {% if currentVersion ver_lt "[email protected]" %}SHA-1{% else %}SHA-256{% endif %} 哈希函数为每对私钥和公钥生成指纹。 您可以生成私钥指纹,然后与 {% data variables.product.product_name %} 显示的指纹相比较,以验证私钥是否与 {% data variables.product.product_name %} 上存储的公钥匹配。
4141

4242
要验证私钥:
4343

4444
1. 在 {% data variables.product.prodname_github_app %} 开发者设置页面的“私钥”部分,查找要验证的私钥和公钥对的指纹。 更多信息请参阅[生成私钥](#generating-a-private-key)![私钥指纹](/assets/images/github-apps/github_apps_private_key_fingerprint.png)
4545
2. Generate the fingerprint of your private key (PEM) locally by using the following command:
4646
```shell
47-
$ openssl rsa -in PATH_TO_PEM_FILE -pubout -outform DER | openssl sha1 -c
47+
$ openssl rsa -in <em>PATH_TO_PEM_FILE</em> -pubout -outform DER | openssl {% if currentVersion ver_lt "[email protected]" %}sha1 -c{% else %}sha256 -binary | openssl base64{% endif %}
4848
```
4949
3. 比较本地生成的指纹结果与 {% data variables.product.product_name %} 中显示的指纹。
5050

0 commit comments

Comments
 (0)