Skip to content

Commit

Permalink
Add keywords for crates.io
Browse files Browse the repository at this point in the history
  • Loading branch information
MakisChristou committed Oct 1, 2023
1 parent 1de55db commit 18a64e7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
name = "crabguard"
version = "0.1.3"
version = "0.1.4"
description = "A cli tool for end-to-end encryption for s3 storage"
edition = "2021"
authors = ["Makis Christou <makis_christou@protonmail.com>"]
license = "MIT"
keywords = ["crypto", "s3", "crabguard", "backblaze-b2", "aes"]


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
🦀🔒 crabguard: A cli tool for end-to-end encryption for remote and local storage

[![crates.io](https://buildstats.info/crate/crabguard)](https://crates.io/crates/crabguard)

## Features
- Encrypted upload, download and delete operations on Amazon S3 storage
- AES-GCM symmetric encryption with random 96-bit nonce
Expand Down
4 changes: 1 addition & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ mod storage;
mod utils;

const MAX_RETRIES: usize = 3;
const CHUNK_SIZE: usize = 1024 * 1024; // 1 MiB chunks
const CHUNK_SIZE: usize = 1024 * 1024;

async fn encrypt_and_upload_data_chunk(
data: &Vec<u8>,
Expand Down Expand Up @@ -194,8 +194,6 @@ async fn handle_download(
let associated_filenames =
filename_handler.get_all_filenames_of(plaintext_filename, config.key_bytes.clone());



let mut file = OpenOptions::new()
.create(true)
.write(true)
Expand Down

0 comments on commit 18a64e7

Please sign in to comment.