{"id":28092482,"url":"https://github.com/deadswitch404/vault-crypt","last_synced_at":"2025-05-13T13:17:41.728Z","repository":{"id":289659668,"uuid":"970919328","full_name":"DeadSwitch404/vault-crypt","owner":"DeadSwitch404","description":"Minimalist GPG-powered vault encryption for KeePassXC. No cloud. No traces. Just your keys, your silence, and the seal.","archived":false,"fork":false,"pushed_at":"2025-04-22T18:46:01.000Z","size":7,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-13T13:17:35.237Z","etag":null,"topics":["bash","cybersecurity","deadswitch","encryption","gpg","infosec","keepassxc","linux","local-first","opsec","privacy","vault"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DeadSwitch404.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-22T18:26:57.000Z","updated_at":"2025-04-29T15:03:13.000Z","dependencies_parsed_at":"2025-04-24T12:34:38.509Z","dependency_job_id":null,"html_url":"https://github.com/DeadSwitch404/vault-crypt","commit_stats":null,"previous_names":["deadswitch404/vault-crypt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeadSwitch404%2Fvault-crypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeadSwitch404%2Fvault-crypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeadSwitch404%2Fvault-crypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeadSwitch404%2Fvault-crypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeadSwitch404","download_url":"https://codeload.github.com/DeadSwitch404/vault-crypt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253948510,"owners_count":21988962,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","cybersecurity","deadswitch","encryption","gpg","infosec","keepassxc","linux","local-first","opsec","privacy","vault"],"created_at":"2025-05-13T13:17:40.938Z","updated_at":"2025-05-13T13:17:41.712Z","avatar_url":"https://github.com/DeadSwitch404.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🕶️ vault-crypt\n\n\u003e **DeadSwitch | The Cyber Ghost**  \n\u003e _\"In silence, we rise. In the switch, we fade.\"_\n\nMinimalist encryption for those who live off the grid.  \nA GPG-powered vault manager for your `.kdbx` password databases.  \nNo GUI. No cloud. Just your keys, your vault, and the silence between.\n\n---\n\n## 🧭 What is `vault-crypt`?\n\nA bash script that:\n- Encrypts and signs your KeePassXC `.kdbx` file using GPG.\n- Decrypts when needed, verifies signature integrity.\n- Purges unsealed vaults to eliminate traces.\n- Backs up your encrypted vault with timestamped versions.\n\nAll operations are local. No 3rd-party sync.  \nYou are the cloud. You are the guardian.\n\n---\n\n## 🔐 Philosophy\n\n\u003e *Your vault is your memory.  \n\u003e Sign it with your hand.  \n\u003e Seal it with your ghost.  \n\u003e Let no cloud eat what you protect.*  \n\u003e — DeadSwitch\n\n---\n\n## 🚀 Features\n\n- ✅ GPG encryption + signature validation\n- ✅ File wiping of plaintext vaults\n- ✅ Timestamped backup creation\n- ✅ Lightweight and auditable\n- ✅ Config via `.env` file\n\n---\n\n## 📂 File Structure\n\n```text\n.\n├── examples\n│   └── sample.env\n├── README.md\n└── vault-crypt.sh\n```\n\n---\n\n## ⚙️ Setup\n\n### Clone the repo\n\n```bash\ngit clone https://github.com/DeadSwitch404/vault-crypt.git\ncd vault-crypt\n```\n\n### Copy and configure your env:\n\n```bash\ncp examples/sample.env .env.pwmanager\nnano .env.pwmanager\n```\n\n### Make the script executable:\n\n```bash\nchmod +x vault-crypt.sh\n```\n### Test your GPG setup:\n\n```bash\ngpg --list-keys\n```\n\n## 🛠️ Commands\n\n```bash\n./vault-crypt.sh encrypt    # Encrypt and sign the KeePass DB\n./vault-crypt.sh decrypt    # Decrypt and validate the vault\n./vault-crypt.sh status     # Show vault state\n./vault-crypt.sh backup     # Create encrypted, timestamped backup\n./vault-crypt.sh help       # Show usage\n```\n\n## 🧪 Example .env.pwmanager\n\n```text\nKEY_ID=\"deadbeef42\"\nPW_DIR=\"$HOME/vault/passwords\"\nCLEAR_PW_DB=\"secrets.kdbx\"\nCRYPT_PW_DB=\"secrets.kdbx.gpg\"\nBACKUP_DIR=\"$HOME/vault/backups\"\nTIMESTAMP=$(date +\"%Y%m%d-%H%M\")\nCURRENT_DIR=\"$PWD\"\n```\n\n### Important:\n\nKeep this .env file outside of version control.\nDeadSwitch recommends using chmod 600 and storing it on encrypted storage.\n\n## 🧹 Bonus: Harden Your Flow\n\n- Use shred or srm to wipe files on exit (manual or optional enhancement).\n- Alias vault-crypt.sh decrypt to open-sesame for that final hacker vibe.\n- Run via cron for daily encrypted backups to external storage (offline preferred).\n\n## 🕳️ Backdoor-Free Guarantee\n\n`grep -r curl .`\n(nothing found)\n\n`grep -r wget .`\n(silence)\n\n# You’re home.\n\n## 🪪 License\n\nMIT.\n\nUse. Fork. Adapt. Ghost away.\n\nBut respect the silence. Credit DeadSwitch.\n\n\n\nDeadSwitch | The Cyber Ghost\n\"You don't need permission to protect what’s yours.\"\n\n\nhttps://tomsitcafe.com\nhttps://github.com/DeadSwitch404/vault-crypt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadswitch404%2Fvault-crypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeadswitch404%2Fvault-crypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadswitch404%2Fvault-crypt/lists"}