{"id":13649688,"url":"https://github.com/8go/pass-grave","last_synced_at":"2025-09-12T11:36:23.559Z","repository":{"id":46917309,"uuid":"180602337","full_name":"8go/pass-grave","owner":"8go","description":"An extension for pass (the standard Unix password manager) to easily hide the metadata of the password store","archived":false,"fork":false,"pushed_at":"2021-09-11T10:53:56.000Z","size":25,"stargazers_count":15,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-10T00:33:11.655Z","etag":null,"topics":["extension","grave","hide-metadata","pass","password-store","passwordstore","script","tomb"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/8go.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-10T14:44:19.000Z","updated_at":"2024-06-09T10:47:08.000Z","dependencies_parsed_at":"2022-08-29T20:40:51.305Z","dependency_job_id":null,"html_url":"https://github.com/8go/pass-grave","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8go%2Fpass-grave","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8go%2Fpass-grave/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8go%2Fpass-grave/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8go%2Fpass-grave/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/8go","download_url":"https://codeload.github.com/8go/pass-grave/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230636274,"owners_count":18257150,"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":["extension","grave","hide-metadata","pass","password-store","passwordstore","script","tomb"],"created_at":"2024-08-02T02:00:22.483Z","updated_at":"2024-12-20T19:33:58.553Z","avatar_url":"https://github.com/8go.png","language":"Shell","funding_links":[],"categories":["Extensions"],"sub_categories":["All other extensions"],"readme":"# pass-grave\nAn extension for [pass](https://www.passwordstore.org/) (the standard Unix password manager) to easily hide the metadata of the password store\n\n## Motivation\n\nWhy a \"grave\"?\n```\n      pass by default shows meta-data in the password store. Someone with access\n      to your computer might find ~/.password-store/email/google/johndoe@gmail.com\n      and conclude you have an account with Google and the account name is\n      \"johndoe@gmail.com\". The same for your banking information, etc.\n\n      The idea for pass-grave comes from\n      pass-tomb: https://github.com/roddhjav/pass-tomb#readme\n      In order to hide this meta-data you can use pass-tomb to place the\n      password store into a tomb (https://www.dyne.org/software/tomb/).\n      The same you can do with this, pass-grave.\n\n      A \"grave\" is similar to a tomb but a lot lighter and simpler.\n      With \"pass grave close\" you place the complete passwordstore\n      into the grave, and close the grave, reducing everything to a single\n      file without any meta-data.\n\n      With \"pass grave open\" you open the grave, take all the information\n      out of the grave and restore the complete passwordstore to its former\n      state.\n\n      So, typically the first operation of a pass session is to open the grave\n      and the very step is to close the grave.\n```\n\n## Usage\n\n```\nUsage:\n    pass grave open\n        On the first run it creates a directory \".grave\" in \\$PASSWORD_STORE_DIR.\n        By default this is ~/.password-store/.grave\".\n        If the grave directory with a grave exists it will open it and\n        restore the full password store. Once restored the grave will be removed.\n        The grave is represented with the file\n        ~/.password-store/.grave/passwordstore.grave.tar.gz2.gpg.\n        The grave is encrypted with the pass GPG key and hence\n        the content of the grave and all its meta-data is protected and\n        hidden.\n    pass grave close\n        If the grave does not exist, \"close\" creates a copy of the complete password\n        store by creating a compressed tar-file with extension .tar.bz2 and\n        encrypts it with the pass GPG key.\n        Thereafter the password store is removed leaving only the grave file\n        and other files that hold no meta-data (e.g. extensions, backups, gpg-id).\n    pass grave help\n        Prints this help message.\n    pass grave version\n        Prints the version number.\n```\n\n## Examples\n\n### Example 1: Opening the grave\n```\n$ pass grave open\n```\nThis opens the grave at the beginning of a session, \nextracts and restores the password store from the grave file \nand then removes the grave file.\n\n### Example 2: Closing the grave\n```\n$ pass grave close\n```\nThis creates the grave, places the complete password store into it \nand then removes the password store with its meta-data \n(except some files holding no meta-data). All meta-data\nis hiden now.\nThe grave file is a single compressed and GPG encrypted file.             \nThe grave can be found at ```$PASSWORD_STORE_DIR/.grave```\ne.g. ```~/.password-store/.grave/passwordstore.grave.tar.gz2.gpg```.\n            \n## Installation\n\nFor installation download and place this bash script file ```grave.bash``` into\nthe passwordstore extension directory specified with ```$PASSWORD_STORE_EXTENSIONS_DIR```.\nBy default this is ```~/.password-store/.extensions```.\n```\n$ cp grave.bash ~/.password-store/.extensions\n```\nGive the file execution permissions:\n```\n$ chmod 700 ~/.password-store/.extensions/grave.bash\n```\nSet the variable ```PASSWORD_STORE_ENABLE_EXTENSIONS``` to true to enable extensions.\n```\n$ export PASSWORD_STORE_ENABLE_EXTENSIONS=true\n```\nDownload and source the bash completion file ```pass-grave.bash.completion``` for bash completion.\n```\n$ source ~/.password-store/.bash-completions/pass-grave.bash.completion\n```\nType ```pass grave close``` to create your first grave.\n```\n$ pass grave close\n```\n\nPS: The `Makefile` provided by @celenium can help you in the installation. Type `make install`.\n\n\n## Idea came from\n\n- `pass-tomb` from [https://github.com/roddhjav/pass-tomb#readme](https://github.com/roddhjav/pass-tomb#readme)\n- `tomb` from [https://www.dyne.org/software/tomb/](https://www.dyne.org/software/tomb/)\n\n## Requirements\n\n- `pass` from [https://www.passwordstore.org/](https://www.passwordstore.org/)\n- `tar` to be installed for zipping and compression.\n\n## Notes\n\nBoth files are tiny: 200 lines (script) and 23 lines (autocompletion) respectively. You can check them yourself quickly. No need to trust anyone.\n\n## Contributions\n\n- Contributions and PRs are welcome. :heart:\n- A big shoutout to the contributors so far: @celenium, @Inesgor, and @moppman. :clap:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8go%2Fpass-grave","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F8go%2Fpass-grave","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8go%2Fpass-grave/lists"}