Skip to content

A server for generating badges that show whether a GitHub user has a GPG key publicly associated with their account

License

Notifications You must be signed in to change notification settings

hesreallyhim/github-gpg-badge

Repository files navigation

GitHub GPG Key Badge      hesreallyhim

If you've uploaded a GPG key to GitHub - use this badge to show others, and encourage them to do the same. GPG keys are easy to make, easy to upload, and they make GitHub a safer place for all developers.

The Badge

  • If you have a GPG key on GitHub, anyone can view it by just visiting https://github.com/USERNAME.gpg.
  • This badge just verifies that there is a GPG key there, and it's a nice way to promote key usage.
  • Use the hosted endpoint: https://gpg-badge.hesreallyhim.com/<username>.svg.
  • Replace <username> with the GitHub username to check.

Markdown:

[![GPG Key](https://gpg-badge.hesreallyhim.com/<username>.svg)](https://github.com/<username>.gpg)

HTML:

<a href="https://github.com/<username>.gpg">
  <img src="https://gpg-badge.hesreallyhim.com/<username>.svg" alt="GPG Key badge" />
</a>

Try it in the demo

Explore different styles, and get drop-in URLs/Markdown: https://demo.gpg-badge.hesreallyhim.com/

Parameters

  • style: split (default) | card | flat | flat-square
  • theme: dark (default) | light (card style only)

Examples:

Style Available Missing
split split available split missing
card (dark) card dark available card dark missing
card (light) card light available card light missing
flat flat available flat missing
flat-square flat square available flat square missing

More Info:


Created with 🔐 by hesreallyhim.

About

A server for generating badges that show whether a GitHub user has a GPG key publicly associated with their account

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •