Redact personal data before publishing as public repo

- config/git/gitconfig: replace real name, email, SSH signing key, and
  self-hosted git credential URL with placeholder values

- stages/06-scripts.sh: remove hardcoded personal email from bw login;
  CLI prompts interactively

- config/shell/zshrc.local.example: replace personal server URLs
  (Nextcloud, LiteLLM proxy), university email address, institution-
  specific Canvas LMS URL, and identifying Canvas key prefix with
  generic example.com placeholders

- TODO.md: replace personal email and Nextcloud URL in code examples
  with generic placeholders

- stages/07-uv-projects.sh: remove private org name from comment
This commit is contained in:
2026-06-07 15:20:56 +10:00
parent 5f8640c057
commit 3c6ca17a8b
5 changed files with 18 additions and 21 deletions

View File

@@ -1,11 +1,9 @@
[user]
name = Julian Prester
email = hi@julianprester.com
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO14cVPAkygA4OIMmQ1PiBBQ9mQ+nY5n7XKJA0jD9ZOl github@julianprester.com
name = Your Name
email = your@email.com
# signingkey = <paste your SSH public key here, e.g. output of: cat ~/.ssh/id_ed25519.pub>
[init]
defaultBranch = main
[credential "https://git.julianprester.com"]
provider = generic
[core]
compression = 0
excludesfile = ~/.gitignore

View File

@@ -9,8 +9,7 @@
#
# DO NOT commit this file to version control.
# =============================================================================
# From the Pop machine audit, Julian stores ~17 API keys in his env.
# Using Bitwarden (bw-env.sh) is the recommended approach because:
# Using Bitwarden is the recommended approach because:
# - Keys are encrypted at rest (not in dotfiles)
# - Syncs across machines automatically
# - One source of truth
@@ -23,13 +22,13 @@ export ANTHROPIC_API_KEY="sk-ant-your-key-here"
export GOOGLE_API_KEY="AIza-your-key-here"
export OPENCODE_API_KEY="sk-your-key-here"
# ---- LiteLLM Proxy ----
export OPENAI_BASE_URL="https://ai.julianprester.com"
# ---- LiteLLM Proxy (optional — remove if using OpenAI directly) ----
export OPENAI_BASE_URL="https://your-litellm-proxy.example.com"
export OPENAI_API_KEY="sk-your-key-here"
# ---- Calendar (CalDAV) ----
export CALDAV_URL="https://nc.julianprester.com/remote.php/dav"
export CALDAV_USERNAME="julian.prester@sydney.edu.au"
export CALDAV_URL="https://your-nextcloud.example.com/remote.php/dav"
export CALDAV_USERNAME="your@email.com"
export CALDAV_PASSWORD="your-password-here"
# ---- Thunderbird API ----
@@ -39,12 +38,12 @@ export TB_API_HOSTS="thunderbird"
export ZOTERO_KEY=""
# ---- Canvas LMS ----
export CANVAS_API_KEY="3156~your-key-here"
export CANVAS_API_URL="https://canvas.sydney.edu.au/"
export CANVAS_API_KEY="your-key-here"
export CANVAS_API_URL="https://canvas.your-institution.edu/"
# ---- Nextcloud ----
export NC_URL="https://nc.julianprester.com"
export NC_USERNAME="julian.prester@sydney.edu.au"
export NC_URL="https://your-nextcloud.example.com"
export NC_USERNAME="your@email.com"
export NC_PASSWORD="your-password-here"
# ---- Actual Budget ----