Skip to content

Instantly share code, notes, and snippets.

View ChristopherA's full-sized avatar

Christopher Allen ChristopherA

View GitHub Profile
@ChristopherA
ChristopherA / self-signed-ssh.sh
Last active May 15, 2024 08:20
Script to self-sign an SSH public key and verify the signature
#!/bin/zsh
# ./self-signed-ssh.sh <path_to_ssh_public_key>
# Script to sign an SSH public key and verify the signature
# Check if the script is called with the necessary public key path argument
# Parameters:
# $1 - Path to the SSH public key.
function check_arguments {
if [[ -z "$1" ]]; then
echo "Usage: $0 <path_to_ssh_public_key>"
@ChristopherA
ChristopherA / git-repo-root-of-trust.md
Last active May 23, 2024 20:44
A Git Repo Root of Trust (A Proof-of-Concept & Work-in-Progress)

A Git Repo Root of Trust (A Proof-of-Concept & Work-in-Progress)

by Christopher Allen, Principal Architect, Blockchain Commons

Purpose of the Repository "Inception" Process

  • Initialization of a Secure Repository: Establishing a new repository with a root of trust ensures all future changes and commits build on a secure and verified foundation.
    • NOTE: This initial commit relies solely on basic git and ssh-keygen tools, without additional code libraries or identity infrastructure.
  • Leverage DIDs: By utilizing Decentralized Identifiers (DIDs) instead of traditional email addresses in the author and committer fields, we enhance privacy and align with decentralized practices.
  • NOTE: The resulting initial commit identifier can serve as a unique identifier for the repository. A future "did:repo:git-commit-id" method could be created that allows a DID resolver to create a temporary DID Document to verify authenticat
@ChristopherA
ChristopherA / macos_time_machine_tips.md
Created April 4, 2024 06:18
macOS Time Machine Tips

macOS Time Machines Tips

Speed up

To give priority to Time Machine:

sudo sysctl debug.lowpri_throttle_enabled=0
@ChristopherA
ChristopherA / cargo_new_tip.md
Created January 25, 2024 21:02
Rust & Cargo Tips:

Rust & Cargo Tips

cargo new with no git

cargo new --vcs=none simple_cli
@ChristopherA
ChristopherA / bc_gordian_nfc_links.md
Last active June 26, 2024 03:02
Blockchain Commons Gordian NFC Project & JavaCard Links
@ChristopherA
ChristopherA / cryptographic_provenance_links.md
Last active January 21, 2024 00:12
Cryptographic Provenance Links
@ChristopherA
ChristopherA / gordian_envelope_links.md
Last active April 19, 2024 05:33
Gordian Envelope Links
@ChristopherA
ChristopherA / digital_identity_best_articles.md
Last active July 22, 2024 22:18
Best Articles on Digital Identity