Skip to content

Releases

v1.38 - OQS Key Format Fix

Choose a tag to compare

@vesvault-jz vesvault-jz released this 06 Nov 01:52

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's ndk-build, no longer fails on config.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

Choose a tag to compare

@github-actions github-actions released this 05 Nov 02:16

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 / -y supply a PEM public / private key; -G names the public key's algorithm (OQS by default)
  • -I carries an item ciphertext
  • -g generates 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 -p print followed by another option's f wrote the print into that option's file, truncating it.
  • -P FILE and -C FILE (and --plaintext= / --ciphertext=) were refused, although the help documents them; only -Pf / -Cf worked.
  • 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

Choose a tag to compare

@vesvault-jz vesvault-jz released this 22 Jun 04:16
Release 1.35 / ves 1.09: CI macOS --prefix=/usr/local (dyld shared-ca…

v1.34

Choose a tag to compare

@vesvault-jz vesvault-jz released this 21 Jun 03:50

0.905 beta

Choose a tag to compare

@vesvault vesvault released this 12 Jan 17:39
2148d20
0.905b

README: appveyor link

0.904 beta

Choose a tag to compare

@vesvault vesvault released this 07 Jan 21:56
0.904b

uninitialized plaintext length may cause EVP_PKEY_decrypt() to fail

0.902 beta

Choose a tag to compare

@vesvault vesvault released this 04 Jan 00:10

Assertions added, minor compiler warnings resolved

0.901 beta

Choose a tag to compare

@vesvault vesvault released this 02 Jan 03:31

ves-0.901b.tar.gz: pre-built configure for *nix
ves-0.901b-win32.zip: compiled ves.exe for win32