Skip to content

Instantly share code, notes, and snippets.

@cr2007
Created January 1, 2022 14:18
Show Gist options
  • Save cr2007/a7e1ee4950cb5f8b483710d4831e9802 to your computer and use it in GitHub Desktop.
Save cr2007/a7e1ee4950cb5f8b483710d4831e9802 to your computer and use it in GitHub Desktop.
Getting Verified Commits in GitHub while using VS Code

If you also want to have verified commits on GitHub while editing your files locally via VS Code, like this A screenshot of the commit history of the Node.js repository on GitHub

Here's how to do it:

First, you have to make sure that you have gpg installed
You can do so by entering the following command

gpg --version
gpg (GnuPG) 2.2.19
libgcrypt 1.8.5
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /home/<User>/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cypher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

tbc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment