Skip to content

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 23:03
· 10 commits to main since this release
0cee028

Installation

macOS (Universal Binary - x86_64 + ARM64)

Download and install:

curl -L https://github.com/diogot/swift-ejson/releases/download/v1.1.0/ejson-1.1.0-macos-universal.tar.gz | tar xz
sudo mv ejson /usr/local/bin/
ejson --version

Or with wget:

wget https://github.com/diogot/swift-ejson/releases/download/v1.1.0/ejson-1.1.0-macos-universal.tar.gz
tar xzf ejson-1.1.0-macos-universal.tar.gz
sudo mv ejson /usr/local/bin/
ejson --version

Verify Checksum

# Download checksum file
curl -L https://github.com/diogot/swift-ejson/releases/download/v1.1.0/ejson-1.1.0-macos-universal.tar.gz.sha256 -o ejson.sha256

# Verify (macOS)
shasum -a 256 -c ejson.sha256

# Verify (Linux)
sha256sum -c ejson.sha256

Features

  • 🔐 NaCl Box encryption compatible with Shopify EJSON
  • 🔄 Full compatibility with Go EJSON implementation
  • ⚡ Fast and native Swift implementation
  • 📦 Universal macOS binary (works on both Intel and Apple Silicon)

Usage

# Generate a keypair
ejson keygen

# Encrypt a file
ejson encrypt secrets.json

# Decrypt a file
ejson decrypt secrets.json

For more information, see the README.