🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
🪟 Windows TippsWindows Authentication SMS not received or working(12.09.2026 um 11:54 Uhr)
⚠️ Malware / Trojaner / VirenWindows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC(10.09.2026 um 20:11 Uhr)
🕵️ SicherheitslückenDefender 0-Day ShieldBreak (CVE-2026-69414) nicht sauber gepatcht - BornCity(11.09.2026 um 12:52 Uhr)
🪟 Windows TippsServertimeout in Outlook über 10 Minuten verlängern(12.09.2026 um 15:10 Uhr)
🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
🪟 Windows TippsWindows Authentication SMS not received or working(12.09.2026 um 11:54 Uhr)
⚠️ Malware / Trojaner / VirenWindows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC(10.09.2026 um 20:11 Uhr)
🕵️ SicherheitslückenDefender 0-Day ShieldBreak (CVE-2026-69414) nicht sauber gepatcht - BornCity(11.09.2026 um 12:52 Uhr)
🪟 Windows TippsServertimeout in Outlook über 10 Minuten verlängern(12.09.2026 um 15:10 Uhr)

🔧 Programmierung 🕛 vor 1 Jahr 4 Min Lesezeit
0

Verified Commits on GitHub from Ubuntu 22.04 LTS (GPG Keys) ✅

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

In this blog, I’ll walk you through setting up GPG keys on Ubuntu 22.04 LTS to sign Git commits, ensuring they appear as verified on GitHub. Verified commits add a layer of trust to your contributions, making it clear that your commits are authentic. Let’s get started!






Table of Contents




  1. Introduction to Signed Commits

  2. Verified Commits vs. Unverified Commits on GitHub

  3. Installing GPG on Ubuntu 22.04 LTS

  4. Generating a GPG Key and Configuring GitHub

  5. Configuring Git on Ubuntu to Sign Commits

  6. Creating Signed Commits









1. Introduction to Signed Commits



Signed commits use GPG keys to verify the identity of the commit author, ensuring that the changes come from a trusted source. GitHub displays these verified commits with a green badge, signaling authenticity and providing security. We’ll begin by understanding how signed commits work and why they’re valuable.









2. Verified Commits vs. Unverified Commits on GitHub



GitHub marks verified commits with a green checkmark, while unverified commits lack this indicator. Verified commits help the community trust that the code truly comes from you, as opposed to an unverified commit that could potentially be from an unknown source.



Verified Commit(Singed Commit)







3. Installing GPG on Ubuntu 22.04 LTS



To create signed commits, we’ll first need to install GPG if it’s not already available.





  • Update Your System:



CODE
   sudo apt update && sudo apt upgrade







  • Install GPG:



CODE
   sudo apt install gnupg





After installation, verify GPG is set up by running:




CODE
   gpg --version












4. Generating a GPG Key and Configuring GitHub



With GPG installed, let’s generate a GPG key to use for signing our commits.





  • Generate GPG Key:




CODE
   gpg --full-generate-key






Follow the prompts to create a new GPG key.





  • List GPG Key with Key IDs:




CODE
   gpg --list-secret-keys --keyid-format LONG









  • Click New GPG Key and paste your public key.











5. Configuring Git on Ubuntu to Sign Commits



After adding the GPG key to GitHub, configure Git on Ubuntu to use this key for signing commits.





  • Configure Git with Your GPG Key:




CODE
   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








  • You'll get the path




CODE
which gpg 
or
where gpg









CODE
git config --gloal tag.program "path"








  • List Global Git Configuration (Optional):




CODE
   git config --global --list






This step verifies that all settings are configured properly.









6. Creating Signed Commits



With everything set up, you’re ready to create signed commits that will be marked as verified on GitHub.



Making a Signed Commit:




CODE
git commit -S -m "Your commit message"







  • The -S flag ensures the commit is signed.



Since we configured Git to sign all commits globally, you can also commit without the -S flag:




CODE
git commit -m "Your commit message"






After pushing the commit, it will automatically be signed, and you should see a “Verified” badge on GitHub.







Thanks for reading Engineers!


Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
The Gemini desktop app is now available for Windows
1 Quelle
Windows Authentication SMS not received or working
1 Quelle
Windows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Verified Commits on GitHub from Ubuntu 22.04 LTS (GPG Keys) ✅

Thematisch verwandte Begriffe: Verified, Commits, GitHub, from · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...