update-liboqs
Update liboqs native library version. Use when checking for updates, upgrading liboqs, bumping version, or updating native dependencies.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update liboqs native library version. Use when checking for updates, upgrading liboqs, bumping version, or updating native dependencies.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Prepare a new version of the liboqs package for publication to pub.dev. Use when user wants to release, publish, or tag a new version of the package.
Add new cryptographic API to liboqs_dart. Use when implementing new KEM algorithms, signature schemes, adding new cryptographic features, or extending the library API.
Build liboqs native libraries for different platforms. Use when user asks about building, compiling, or creating native libraries for iOS, Android, macOS, Linux, or Windows.
Dart FFI patterns and best practices for this project. Use when writing FFI code, working with native memory, creating wrappers, or implementing new native bindings.
Review Dart FFI code for security issues in cryptographic contexts. Use when reviewing code changes, checking for memory leaks, verifying secure memory handling, or auditing cryptographic code.
| name | update-liboqs |
| description | Update liboqs native library version. Use when checking for updates, upgrading liboqs, bumping version, or updating native dependencies. |
Guide for updating the liboqs native library version in this project.
# Check for updates
make check
# Check and apply updates automatically
make check ARGS="--update"
This will:
pubspec.yaml with new liboqs.native_versionmake version
Or check pubspec.yaml:
liboqs:
native_version: "0.12.0" # Current version
Edit pubspec.yaml:
liboqs:
native_version: "0.13.0" # New version
make regen
This downloads the new liboqs headers and regenerates lib/src/bindings/liboqs_bindings.dart.
make test
git add pubspec.yaml lib/src/bindings/ CHANGELOG.md
git commit -m "Update liboqs to 0.13.0"
git push
Merging to main does NOT build anything by itself. After the merge, from an
up-to-date main, trigger the native build with:
make release-native
It creates and pushes the signed tag liboqs-<native_version>-<native_build>,
which triggers build-liboqs.yml to build all platforms and publish the
GitHub Release.
# Just check (no changes)
make check
# Check and update
make check ARGS="--update"
# Update to specific version
make check ARGS="--update --version 0.13.0"
# Force version bump type
make check ARGS="--update --bump major"
make check ARGS="--update --bump minor"
make check ARGS="--update --bump patch"
# Skip changelog (CI uses this)
make check ARGS="--update --no-changelog"
# JSON output for CI
make check ARGS="--json"
| File | Field | Description |
|---|---|---|
pubspec.yaml | liboqs.native_version | Native library version |
pubspec.yaml | version | Dart package version |
CHANGELOG.md | Latest entry | What changed |
When CI completes after pushing:
lib/src/