https://github.com/johnramsden/quickcrypt
Simple script to create a gpg encrypted archive
https://github.com/johnramsden/quickcrypt
Last synced: 25 days ago
JSON representation
Simple script to create a gpg encrypted archive
- Host: GitHub
- URL: https://github.com/johnramsden/quickcrypt
- Owner: johnramsden
- License: bsd-3-clause
- Created: 2017-07-19T06:42:48.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-19T07:06:26.000Z (almost 8 years ago)
- Last Synced: 2025-05-14T15:06:43.872Z (26 days ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# quickcrypt
Simple script to create a gpg encrypted archive that can be decrypted by an intended recipient. The script requires a GPG key, a recipient's UID, and a directory or target to archive and encrypt.
## Encrypt
Create directory containing the files you intend to encrypt.
The script takes a recipients public key, and a target file or folder to encrypt.
## Usage
```
quickcrypt [-v] -r -f
```An encrypted archive will be created, as well as a sha256 hash of the archive that can be used to verify the contents after decryption.
## Decrypt
To decrypt the files with the recipient's key, use regular gpg decryption.
```
gpg --output ${ARCHIVE_FILES}.tar --decrypt ${ARCHIVE_FILES}.tar.gpg
```Now verify the shaw256sum is the same.
```
sha256sum ${ARCHIVE_FILES}.tar
```