Skip to content

Instantly share code, notes, and snippets.

View TheRealPear's full-sized avatar
🍐

Pear TheRealPear

🍐
View GitHub Profile
@Cazadorian
Cazadorian / map.xml
Last active April 8, 2023 20:22
4-team-bedwars-template
<map proto="1.4.2">
<include id="4-team-bedwars"/>
<version>1.0</version>
<name>name</name>
<created>yyyy-mm-dd</created>
<authors>
<author uuid="6863869b-4b8c-4445-b778-a8e016775ae4" contribution="add contribution here"/> <!-- username -->
</authors>
<contributors>
<contributor uuid="6863869b-4b8c-4445-b778-a8e016775ae4" contribution="add contribution here"/> <!-- username -->
@Killeroid
Killeroid / gpg-import-and-export-instructions.md
Created October 18, 2017 11:51
How to export and import gpg keys

Every so often I have to restore my gpg keys and I'm never sure how best to do it. So, I've spent some time playing around with the various ways to export/import (backup/restore) keys.

Method 1

Gotten from the RedHat GPG migration manual

Backup the public and secret keyrings and trust database

## Export all public keys

gpg -a --export >mypubkeys.asc

@troyfontaine
troyfontaine / 1-setup.md
Last active June 29, 2024 13:29
Signing your Git Commits on MacOS

Methods of Signing Git Commits on MacOS

Last updated March 13, 2024

This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.

Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.

For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.