1
0
mirror of https://github.com/drduh/YubiKey-Guide.git synced 2024-10-31 18:42:30 +00:00

Update GitHub instructions on Windows

Add command to instruct Git to use WinGPG
This commit is contained in:
Mark Fayngersh 2020-01-07 16:13:48 -05:00 committed by GitHub
parent 1b5a2fefd8
commit e4a063e0f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1772,9 +1772,10 @@ To authenticate:
**Windows** **Windows**
Run the following command: Run the following commands:
> git config --global core.sshcommand 'plink -agent' > git config --global core.sshcommand 'plink -agent'
> git config --global gpg.program 'C:\Program Files (x86)\GnuPG\bin\gpg.exe'
You can then change the repository url to `git@github.com:USERNAME/repository` and any authenticated commands will be authorized by YubiKey. You can then change the repository url to `git@github.com:USERNAME/repository` and any authenticated commands will be authorized by YubiKey.