Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yashmehrotra/simple-gpg
A simple GPG tool for encrypting and decrypting files
https://github.com/yashmehrotra/simple-gpg
Last synced: 24 days ago
JSON representation
A simple GPG tool for encrypting and decrypting files
- Host: GitHub
- URL: https://github.com/yashmehrotra/simple-gpg
- Owner: yashmehrotra
- Created: 2020-07-12T21:57:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-25T03:14:55.000Z (over 1 year ago)
- Last Synced: 2024-06-20T22:37:14.144Z (5 months ago)
- Language: Go
- Size: 18.6 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simple-gpg
A simple GPG tool for encrypting and decrypting files### Installation
```
go install github.com/yashmehrotra/simple-gpg@latest
```### Usage
```
A tool to simplify gpgsimple-gpg [args] file
Flags:
-cipher-algo string
Cipher algorithm to be used. Choose one of AES, AES192, AES256 (default "AES256")
-decrypt
Set to true if you want to decrypt a file
-password string
Password to use when encrypting/decryptingExamples:
# To encrypt a file
$ simple-gpg accounts.pdf
Enter password:# To encrypt a file with passowrd as argument
$ simple-gpg -password secret-word accounts.pdf# To decrypt a file
$ simple-gpg -decrypt accounts.pdf# To encrypt a folder
$ simple-gpg /path/to/folderNote: When encrypting a folder, simple-gpg uses tar.gz format to compress the folder into an archive
and then encrypts the archive
```