Город МОСКОВСКИЙ
00:17:43

Verified Commits on GitHub from Windows PC ( GPG Keys ) ✅

Аватар
КодоСклад
Просмотры:
24
Дата загрузки:
04.12.2023 03:32
Длительность:
00:17:43
Категория:
Технологии и интернет

Описание

In this video I have configured my windows machine to sign my git commits using GPG keys ?

00:00 ? Introduction to Signed Commits
00:31 ✅ Verified Commits vs Unverified Commits on Github
03:25 ?? Download and Install GPG4WIN software
04:36 ⚙ Generate GPG Key and Configure your Github Account
09:54 ? Configure Git on Windows 10 to sign commits using GPG key
13:18 ?♂️ Create signed commits using Git
16:56 ? Thank You for watching this video

Signed commits are marked as verified ✔ on GitHub so other people can be confident that changes are coming from a trusted source ?

# Download and install GPG for windows
https://www.gpg4win.org/

# Create GPG Key
```
gpg --full-generate-key
```

# List GPG Key with key IDs
```
gpg --list-secret-keys --keyid-format LONG

sec rsa4096/YOUR-KEY-ID 2020-06-18 [SC]
...

# Export your public key
```
gpg --armor --export YOUR-KEY-ID
```

# Add GPG key to Github account

# Configure Git on windows
```
git config --global user.name "YOUR-NAME"
git config --global user.email "YOUR-EMAIL"
git config --global user.signingkey YOUR-KEY-ID
git config --global commit.gpgsign true
git config --global tag.gpgsign true
git config --global gpg.program "C:\Program Files (x86)\GnuPG\bin\gpg.exe"
```

# List global git config
```
git config --global --list
```

Рекомендуемые видео