Тёмный

I bought a Yubikey now what - Sign Git Commits with GPG 

CodeWrecks
Подписаться 1,3 тыс.
Просмотров 376
50% 1

The only way to certify that a Git Commit is made by you is to digitally sign with a GPG key (or RSA key even if it is less common). Thanks to your yubikey you can keep your GPG securely with you in your Yubikey so you can always sign commit in any computer.
In this video I'll demonstrate how you can configure Git on Windows to sign all commit with the GPG key you have in your Yubikey.
A recap of the steps
1. Configure gpg program in git: git config --global gpg.program "C:\Program Files (x86)\GnuPG\bin\gpg.exe"
2. List all the keys to find the one you need to use: gpg --list-secret-keys --keyid-format=long
3. Configure the sign key globally (or locally to the repo): git config --global user.signingkey key-id-from-previous-command
4. Tell git to sign EVERY commit: git config --global commit.gpgsign true
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
00:00 - Introduction to YubiKey and GPG functionalities
01:17 - Setting up GPG on Windows
02:01 - Configuring Git to sign commits with YubiKey
03:11 - Identifying and configuring the key for signing commits
03:55 - Demonstrating a commit signing process
05:10 - Verifying the signed commit
06:21 - Importance of commit signing and YubiKey security
07:34 - Adding the GPG key to GitHub
09:37 - Troubleshooting unverified commits
11:02 - Correcting email configuration for commit signing
13:51 - Conclusion and closing remarks

Наука

Опубликовано:

 

29 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@baby333
@baby333 3 месяца назад
Please keep making Yubikey videos you do them great!!
@mrvincefox
@mrvincefox 5 месяцев назад
This is one of the best series. Many thanks.
@VyacheKan
@VyacheKan 4 месяца назад
In linux I'm getting an error "Inappropriate ioctl for device gpg: decryption failed: No secret key" or "sorry, we are in batchmode - can't get input" or gpg2 --pinentry-mode loopback --decrypt Vyeche.gpg (to unlock pass)
@codewrecks
@codewrecks 4 месяца назад
Sorry, never tried on Linux, I’ll try in the future
Далее
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Java Is Better Than Rust
42:14
Просмотров 178 тыс.
Which YubiKey To Buy
18:55
Просмотров 2,1 тыс.
Git Tutorial for Absolute Beginners
36:21
Просмотров 62 тыс.
Telefonu Parçaladım!😱
0:16
Просмотров 27 млн