mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-12 22:10:25 +00:00
fix: SSH key verification instructions for Windows cmd (#10106)
Resolves #10102 Adjust the SSH key verification instructions for Windows CMD to make it work. ## Test 1. Use Windows. 2. Go to the user settings. 3. Go to "SSH / GPG keys" 4. Add a SSH key. 5. Click on the "Verify" button for the SSH key. 6. Use the Windows CMD command to verify. 7. Verify that this generates a signature that is accepted by Forgejo. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10106 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: Melissa Geels <melissa@nimble.tools> Co-committed-by: Melissa Geels <melissa@nimble.tools>
This commit is contained in:
parent
f0b4e3b943
commit
bd26fdac36
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@
|
|||
<br>
|
||||
<details>
|
||||
<summary>Windows CMD</summary>
|
||||
<div class="markup"><pre class="code-block"><code>set /p={{$.TokenToSign}}| ssh-keygen -Y sign -n gitea -f /path_to_PrivateKey_or_RelatedPublicKey</code></pre></div>
|
||||
<div class="markup"><pre class="code-block"><code><NUL set /p="{{$.TokenToSign}}"| ssh-keygen -Y sign -n gitea -f /path_to_PrivateKey_or_RelatedPublicKey</code></pre></div>
|
||||
</details>
|
||||
</div>
|
||||
<br>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue