Skip to content

libasherah v0.5.0 (Rust)

Choose a tag to compare

@jgowdy jgowdy released this 16 Dec 20:21
· 591 commits to main since this release

Rust Implementation of libasherah (asherah-cobhan)

This release introduces a complete Rust implementation of libasherah, providing a drop-in replacement for the original Go asherah-cobhan library.

Drop-in Compatible Filenames

Matching the Go release artifact names:

  • libasherah-x64.so / libasherah-arm64.so (Linux)
  • libasherah-x64.dylib / libasherah-arm64.dylib (macOS)
  • libasherah-x64.h / libasherah-arm64.h (C headers)

Features

  • Full C ABI compatibility using Cobhan buffer format
  • 8 exported functions matching Go signatures:
    • Shutdown, SetEnv, SetupJson, EstimateBuffer
    • Encrypt, Decrypt, EncryptToJson, DecryptFromJson
  • Matching error codes (-1 through -104)
  • PascalCase JSON DataRowRecord format

Platform Support

  • Linux x86_64
  • Linux arm64 (aarch64)
  • macOS x86_64
  • macOS arm64 (Apple Silicon)

Testing

  • 85 tests (66 unit + 6 integration + 13 interop)
  • Verified binary compatible with Go asherah-cobhan v0.4.x