liboqs 1.0.2
liboqs: ^1.0.2 copied to clipboard
Dart FFI bindings for liboqs — high-performance post-quantum cryptography (PQC) with ML-KEM, ML-DSA, Falcon, SPHINCS+ for key encapsulation and signatures.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased #
1.0.2 - 2025-01-14 #
Added #
- Linux ARM64 (aarch64) platform support for native libraries
- Updated README platform support table with architecture details
Fixed #
- Library loading on Linux and Windows Flutter desktop apps (paths relative to executable)
- Library loading for CLI applications in both JIT (
dart run) and AOT (dart build cli) modes - AOT detection logic no longer incorrectly triggers on project paths containing "dart" substring
1.0.1 - 2025-01-14 #
1.0.0 - 2025-01-01 #
Added #
- Pre-built native libraries for all platforms (iOS, Android, macOS, Linux, Windows)
- Key Encapsulation Mechanisms (KEM): ML-KEM, Kyber, Classic McEliece, FrodoKEM, HQC, NTRU
- Digital Signatures: ML-DSA, SLH-DSA, Falcon, SPHINCS+, MAYO, CROSS
- Cryptographically secure random number generation (
OQSRandom) - Automatic native library bundling via FFI plugin configuration
LibOQS.init()for optional library pre-initializationLibOQS.getSupportedKEMAlgorithms()andLibOQS.getSupportedSignatureAlgorithms()for runtime algorithm discoveryLibOQS.isKEMSupported()andLibOQS.isSignatureSupported()for algorithm availability checks- Algorithm name validation in
KEM.create()andSignature.create() LibOQSUtils.secureFreePointer()for secure memory clearing (zeros memory before freeing)- Comprehensive test suite (44 tests)
- GitHub Actions CI/CD pipeline for automated testing and publishing
- Automated liboqs version tracking via
LIBOQS_VERSIONfile - Cross-platform build scripts for native library compilation
- Example Flutter application demonstrating all features
Security #
- Secret keys are automatically zeroed before memory is freed
- Based on liboqs 0.15.0 with NIST-standardized algorithms (FIPS 203, 204, 205)