An open API service indexing awesome lists of open source software.

https://github.com/estevesegura/crypt

crypt encrypts and decrypts .env files for safe transmission
https://github.com/estevesegura/crypt

Last synced: 2 months ago
JSON representation

crypt encrypts and decrypts .env files for safe transmission

Awesome Lists containing this project

README

        

# Crypt
crypt encrypts and decrypts .env files for safe transmission

# Basic usage
Encoding and decoding examples.
```bash
# Using binary
crypt -o .env -e # Encode .env file
crypt -o .env -d # Decode .env file and outputs to: .env.dec
```

.env example file (Not encoded)
```env
SAMPLE_ENV_VAR=LONGkeyNEEDStoBEencodedANDnotREADBLE
```
.env example file (Encoded)
```env
SAMPLE_ENV_VAR=[ENC--ZXlKaGJHY2lJWFZDSlNNZVNVwif09NMeo12Fzc3c1Yw==--ENC]
```

# Build binaries
It creates binaries for all major operating systems and architectures.
```bash
bash build.sh ./cmd/main.go
```