Repository navigation
Releases
v1.38 - OQS Key Format Fix
libVES.c 1.38 / ves 1.11
Fixes
-
Post-quantum keys that could not be read back. A key of any OQS algorithm other than ML-KEM failed to load, with
Unsupported PEM private key, when its public key ended in a zero byte. This applied to private key PEMs and stored vault keys, and affects about one sntrup761 key in four and one Kyber768 key in 256. ML-KEM, the default, was never affected.Keys already written open again with 1.38, with no action needed. 1.37 can read keys 1.38 writes.
-
A build that does not run
configure, such as Android'sndk-build, no longer fails onconfig.h.
The ves CLI's own code did not change, so it stays at 1.11.
Download
libves-1.38.tar.gz below is the source release. It ships a pre-generated ./configure, so no autotools are needed to build it.
sha256: 59530777ad5a555252394639e9a09f74c82a55c4b1897c8975296f4973ad59f7
ves-1.38-image.cdx.json is the SBOM (CycloneDX 1.6) of the Docker image vesvault/ves:1.38 (sha256:55fc86580ffa6bb624580f1792b82f69b9270f2e13d586e1548143367ce22bc5, the same on Docker Hub and GHCR). It lists libVES.c, the ves CLI, the image's Debian 12 packages, and liboqs 0.16.0, which the image builds from source, so image scanners don't find it on their own. It is attested to the image digest; to verify the attestation:
gh attestation verify oci://docker.io/vesvault/ves:1.38 --owner vesvault --predicate-type https://cyclonedx.org/bom
v1.37 - CLI Offline Mode
libVES.c 1.37 / ves 1.11
New: offline mode in the ves CLI
ves can now encrypt and decrypt streams and items with a key given on the command line, with no Vault and no network:
-Y/-ysupply a PEM public / private key;-Gnames the public key's algorithm (OQS by default)-Icarries an item ciphertext-ggenerates a key pair
Offline stream encryption writes the cipher key in a header ahead of the ciphertext, encrypted for one or more recipients and authenticated by an HMAC, so the file decrypts with ves -d -y KEY, through pipes too.
Fixes
- AES256GCM1K stream decryption overflowed a heap buffer on streams longer than about 32 KB (AES256GCMp likewise). Upgrade if you decrypt streams with either cipher.
- A
-pprint followed by another option'sfwrote the print into that option's file, truncating it. -P FILEand-C FILE(and--plaintext=/--ciphertext=) were refused, although the help documents them; only-Pf/-Cfworked.- On Windows, the CLI read input and wrote streams, item values and VESkeys in text mode, so binary data was cut short at the first 0x1A byte and had its line endings rewritten. Text output (PEM keys, JSON, listings) keeps Windows line endings.
- The library's JSON parser no longer reads past the end of its input when it converts a number.
Building
Debian and Ubuntu don't package liboqs, so the README now shows how to build it as a shared library, as CI and the Dockerfile do. A static liboqs would end up inside libVES.so, and a liboqs fix would then mean rebuilding libVES.
Download
libves-1.37.tar.gz below is the source release. It ships a pre-generated ./configure, so no autotools are needed: ./configure && make && sudo make install.
sha256: 4eb681375fd9b7f2ae1b5dfed898eeac5e88a4458482001d2d4a79080d1526e7
ves-1.37-image.cdx.json is the SBOM (CycloneDX 1.6) of the Docker image vesvault/ves:1.37 (sha256:1b7361b40e074e06d7880fd5ea957941bd9433b8e2f5906c20dea076980506f1, the same on Docker Hub and GHCR). It lists libVES.c, the ves CLI, the 105 Debian 12 packages, and liboqs 0.16.0, which the image builds from source, so image scanners don't find it on their own. It is attested to the image digest; to verify the attestation:
gh attestation verify oci://docker.io/vesvault/ves:1.37 --owner vesvault --predicate-type https://cyclonedx.org/bom
v1.35
Release 1.35 / ves 1.09: CI macOS --prefix=/usr/local (dyld shared-ca…
v1.34
0.905 beta
0.904 beta
0.904b uninitialized plaintext length may cause EVP_PKEY_decrypt() to fail
0.902 beta
Assertions added, minor compiler warnings resolved
0.901 beta
ves-0.901b.tar.gz: pre-built configure for *nix
ves-0.901b-win32.zip: compiled ves.exe for win32