git-simple-encrypt 0.1.0

Encrypt/decrypt files in git repo using one password
git-simple-encrypt-0.1.0 is not a library.
Visit the last successful build: git-simple-encrypt-1.5.0

git-simple-encrypt

English | 简体中文

A very simple and easy to use git file encryption tool that encrypts/decrypts your git repositories on any device with one single password.

  • Why not use git-crypt?
    • This project is more focused on ease of use than security. Single-password symmetric encryption is my bottom line.

[!WARNING]
This repository does not make any guarantees about encryption security and backward compatibility. (Please use the same major version)

Installation

There are several different ways to install it, you can choose any of them.

  • Download the file from Releases, unzip and place it in C:\Windows\System32 (If you're using Windows) or any Path directory.
  • Using bpm:
    bpm i git-simple-encrypt -b git-se -q
    
  • Using scoop:
    scoop bucket add absx https://github.com/absxsfriends/scoop-bucket
    scoop install git-simple-encrypt
    
  • Using cargo:
    cargo +nightly install git-simple-encrypt
    

Usage

git-se set 123456           # Set the password to `123456`.
git-se e                    # Encrypt files in list in the current repository.
git-se d                    # Decrypt...
git-se add file.txt         # Add `file.txt` to the need-to-be-encrypted list.

Algorithm

graph TD;
    123 -- SHA3_224 --> 602bdc204140db016bee5374895e5568ce422fabe17e064061d80097 -- CUT --> 602bdc204140db016bee5374895e5568 --cipher--> Aes128GcmSiv  -- output--> b5e9ecbf3efaad4380998b1379d679a39109e150df74
    123456 --content--> Aes128GcmSiv
    CONST --NONCE--> Aes128GcmSiv