https://github.com/xbc5/git-scrypt
Save a git-crypt key into its repository.
https://github.com/xbc5/git-scrypt
git-crypt
Last synced: 10 months ago
JSON representation
Save a git-crypt key into its repository.
- Host: GitHub
- URL: https://github.com/xbc5/git-scrypt
- Owner: xbc5
- License: mit
- Created: 2023-10-20T01:27:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-20T04:56:16.000Z (over 2 years ago)
- Last Synced: 2025-02-07T08:22:57.679Z (12 months ago)
- Topics: git-crypt
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-scrypt
Dependencies: `bash`; `GPG`; `OpenSSL`; `git-crypt` and `base64`.
```
Usage: $(basename $0) COMMAND
Save a git-crypt key into your repository as an encrytped file.
COMMAND
e,encrypt extact key and save it to '$asc'
d,decrypt decrypt key from '$asc' and set it locally
i,init initialise git-crypt: create a new key
```
It uses 500-1000 bytes of padding either side of the key. It works only for the (typical) "default" git-crypt key; if you have an unusual setup, this might not work.