Categorygithub.com/jbuchbinder/go-git-crypt
modulepackage
0.0.0-20240127160537-0b99b456d912
Repository: https://github.com/jbuchbinder/go-git-crypt.git
Documentation: pkg.go.dev

# README

GO-GIT-CRYPT

Build Status GoDoc

A Go-flavored attempt to reimplement the git-crypt algorithm in native Go. Primary focus is on providing decryption and key-handling functionality.

WARNING: Until version 0.1 is tagged, the API is subject to arbitrary change.

Features

  • Decryption
  • Parsing/interpretation of .gitattributes
  • Encryption
  • GPG keys - Add to repository
  • GPG keys - Remove from repository
  • New repository initialization

# Functions

NewAesCtrEncryptor creates a new AesCtrEncryptor instance with a key and nonce.
NewHMac creates an HMac encryptor/decryptor.

# Structs

AesCtrEncryptor represents an AES encryptor/decryptor.
GitCrypt is the namespace.
HMac represents an HMAC encryptor/decryptor.
Key is a git-crypt key structure.
KeyEntry is a key entry.