3 releases
new 0.1.3 | Jan 17, 2025 |
---|---|
0.1.2 | Jan 10, 2025 |
0.1.1 | Dec 12, 2024 |
0.1.0 |
|
#1021 in Cryptography
238 downloads per month
96KB
2K
SLoC
crab-gnupg
crab-gnupg was a wrapper for the gnupg command line tool written in rust. It was design to make it easier to interact with gnupg command line tool for program that was written in rust.
Table of Contents
Description
This project crab-gnupg
allows you to easily interact with the gnupg command line tool with rust. It provides a simple and easy-to-use interface for performing various gnupg operations, such as encrypting, decrypting, signing, and verifying file as well as generating and managing keys. This project was build and tested using gnupg version 2.4.x. More modification and changes will be done to support gnupg version 1.4.x. in the future.
[!NOTE] You will still need to install gnupg on your system.
Installation
To install gnupg, you can use the following command:
for macOS:
brew install gnupg
for linux (ubuntu) [this might not get the latest version]:
sudo apt update
sudo apt install gnupg
To get the latest version of GnuPG, download it from the official GnuPG website and follow the instruction
for window:
choco install gnupg
To add crab-gnupg
to be use in a rust program
cargo add crab-gnupg
Usage
To check out how to use crab-gnupg
, check the docs here
Change Logs
v0.1.2
Released: 2024-01-10
Complete REAME.md and documentation on usage.md page. No changes to the current codebase and functionality.
v0.1.1
Released: 2024-12-12
Initial crate Publish. This includes GnuPG key managment and file operation like:
- generate key
- list keys
- delete keys
- import keys
- export public keys
- export secret keys
- trust key
- sign key
- encrypt file
- decrypt file
- sign file
- verify file
Dependencies
~3–26MB
~353K SLoC