encrypt

Configures git-crypt encryption for repository files with Proton Pass key storage.

3|Updated Oct 28, 2020
One-click install
npx skills add https://github.com/k0d3x8its/dotfiles --skill encrypt-k0d3x8its
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: encrypt
Source: https://github.com/k0d3x8its/dotfiles/tree/main/claude/.claude/skills/encrypt
Command: npx skills add https://github.com/k0d3x8its/dotfiles --skill encrypt-k0d3x8its

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Sensitive planning, session, and design documents in a git repository risk being committed as plaintext to public remotes. This Skill sets up git-crypt so those files are encrypted at rest while remaining transparent to authorized collaborators. ## Core Features & Use Cases - End-to-end git-crypt setup: Initializes git-crypt, writes root-anchored .gitattributes patterns, and adds .gitignore negations so encrypted files still commit. - Secure key backup: Exports the binary git-crypt key as base64 into a Proton Pass Personal vault item with full unlock instructions in the item note, then shreds the temp key file. - Verification workflow: Runs git-crypt status, fixes unencrypted staged files with git-crypt status -f, and confirms every pattern shows encrypted:. - Use Case: You have a repo with .work/PLAN.md, TODOS.md, and design docs that should not be public. Trigger the Skill to encrypt them, back up the key to Proton Pass, and verify before committing. ## Quick Start Ask the AI to add git-crypt encryption to the current repository and store the key in Proton Pass.

Frequently Asked Questions about encrypt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I encrypt specific files in a git repository?▼

Use git-crypt with filter=git-crypt patterns in .gitattributes to mark files for encryption. Run git-crypt init, add root-anchored patterns like /TODOS.md, and the clean filter encrypts matching files automatically on commit.

How to back up a git-crypt key in Proton Pass?▼

Export the key with git-crypt export-key to a chmod 600 tempfile, base64-encode it, and store it via pass-cli item create custom as a hidden field in the Personal vault. Shred the tempfile immediately after the write, even on failure.

Why does git-crypt status show NOT ENCRYPTED warnings?▼

Warnings appear when a previously committed plaintext file now matches a git-crypt pattern and needs re-encryption. Run git-crypt status -f to re-stage those files through the clean filter, then re-run git-crypt status to confirm no warnings remain.

Can git-crypt patterns match files in subdirectories?▼

Unanchored patterns match files of the same name in every subdirectory, which can corrupt templates and test fixtures. Always use root-anchored patterns with a / prefix so only repo-root files are encrypted.

Why are my git-crypt files not committing to the repo?▼

A global gitignore may ignore files like KNOWLEDGE.md or .work/ files as local context, preventing them from ever committing. Add individual negation lines like !/TODOS.md to the repo .gitignore, since glob negations are not supported.