https://github.com/taext/gem-and-cle
TL;DR using a default public key (your own) for fast no-key encryption. gem, gpg encryption module, is a Linux CLI and a Python module. cle, clipboard encryption, encrypts the clipboard to a default public key and is executed with a custom key combination - copy, encrypt, paste a sensitive paragraph while writing.
https://github.com/taext/gem-and-cle
api encryption gpg wrapper
Last synced: about 1 year ago
JSON representation
TL;DR using a default public key (your own) for fast no-key encryption. gem, gpg encryption module, is a Linux CLI and a Python module. cle, clipboard encryption, encrypts the clipboard to a default public key and is executed with a custom key combination - copy, encrypt, paste a sensitive paragraph while writing.
- Host: GitHub
- URL: https://github.com/taext/gem-and-cle
- Owner: taext
- Created: 2017-07-22T18:45:38.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-11-14T02:05:26.000Z (over 5 years ago)
- Last Synced: 2025-02-01T11:35:14.817Z (over 1 year ago)
- Topics: api, encryption, gpg, wrapper
- Language: Python
- Homepage:
- Size: 654 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gem
(GnuPG encryption module)
third-party module used: gnupg
linux program used: gpg
**gem** provides easy encryption to a default or explicit public key. It can be used
1. as a Linux CLI tool
2. as a Python module
**gem** as a Linux CLI tool
gem "cleartext" [pub_key_file_name] [pub_key_file_path]
**gem** accepts piped string input
echo "Hello" | gem
**gem** as a Python module
import gem
encrypted_str = gem.main(clear_text,
pubkey_file_name='pubkey.asc',
pubkey_file_path='/path/to/pubkey/')
(rename or copy the file `gem` to `gem.py` before importing)
When executed with no arguments or piped input, **gem** takes input from the keyboard
gem
(end keyboard input with CTRL-D)
# cle
(clipboard encryption)
(needs xclip to be installed on linux)
**cle** encrypts the clipboard content in place
cle
(custom keyboard shortcut execution recommended)