This commit is contained in:
Frank Denis
2026-01-06 15:42:08 +01:00
parent b4263fc800
commit ae7ca7ef13
10 changed files with 42 additions and 26 deletions
+16
View File
@@ -1,3 +1,19 @@
* Version 1.0.21
This point release includes all the changes from 1.0.20-stable, which
includes a security fix for the `crypto_core_ed25519_is_valid_point()`
function, as well as two new sets of functions:
- The new `crypto_ipcrypt_*` functions implement mechanisms for securely
encrypting and anonymizing IP addresses as specified in https://ipcrypt-std.github.io
- The `sodium_bin2ip` and `sodium_ip2bin` helper functions have been added
to complement the `crypto_ipcrypt_*` functions and easily convert addresses
between bytes and strings.
- XOF: the `crypto_xof_shake*` and `crypto_xof_turboshake*` functions
are standard extendable output functions. From input of any length, they can
derive output of any length with the same properties as hash functions. These
primitives are required by many post-quantum mechanisms, but can also be used
for a wide range of applications, including key derivation, session encryption
and more.
* Version 1.0.20-stable
- XCFramework: cross-compilation is now forced on Apple Silicon to
avoid Rosetta-related build issues
+1 -1
View File
@@ -1,4 +1,4 @@
version: 1.0.20.{build}
version: 1.0.21.{build}
os: Visual Studio 2022
+3 -3
View File
@@ -4,8 +4,8 @@
#include "windows.h"
//specify the version numbers for the dll's
#define LIBSODIUM_VERSION_STRING "1.0.20.0"
#define LIBSODIUM_VERSION_BIN 1,0,20,0
#define LIBSODIUM_VERSION_STRING "1.0.21.0"
#define LIBSODIUM_VERSION_BIN 1,0,21,0
//specify the product name for the dlls based on the platform we are compiling for
#if defined(x64)
@@ -49,7 +49,7 @@ BEGIN
VALUE "FileDescription", "The Sodium crypto library (libsodium)"
VALUE "FileVersion", LIBSODIUM_VERSION_STRING
VALUE "InternalName", "libsodium"
VALUE "LegalCopyright", "Copyright (c) 2013-2024 The libsodium authors."
VALUE "LegalCopyright", "Copyright (c) 2013-2026 The libsodium authors."
VALUE "OriginalFilename", "libsodium.dll"
VALUE "ProductName", LIBSODIUM_PRODUCT_NAME
VALUE "ProductVersion", LIBSODIUM_VERSION_STRING
+2 -2
View File
@@ -4,10 +4,10 @@
#include "export.h"
#define SODIUM_VERSION_STRING "1.0.20"
#define SODIUM_VERSION_STRING "1.0.21"
#define SODIUM_LIBRARY_VERSION_MAJOR 26
#define SODIUM_LIBRARY_VERSION_MINOR 2
#define SODIUM_LIBRARY_VERSION_MINOR 3
#ifdef __cplusplus
+2 -2
View File
@@ -1,5 +1,5 @@
cscript msvc-scripts/rep.vbs //Nologo s/@VERSION@/1.0.20/ < ..\..\src\libsodium\include\sodium\version.h.in > tmp
cscript msvc-scripts/rep.vbs //Nologo s/@VERSION@/1.0.21/ < ..\..\src\libsodium\include\sodium\version.h.in > tmp
cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MAJOR@/26/ < tmp > tmp2
cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MINOR@/2/ < tmp2 > tmp3
cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MINOR@/3/ < tmp2 > tmp3
cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_MINIMAL_DEF@// < tmp3 > ..\..\src\libsodium\include\sodium\version.h
del tmp tmp2 tmp3
Vendored
+12 -12
View File
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.72 for libsodium 1.0.20.
# Generated by GNU Autoconf 2.72 for libsodium 1.0.21.
#
# Report bugs to <https://github.com/jedisct1/libsodium/issues>.
#
@@ -614,8 +614,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='libsodium'
PACKAGE_TARNAME='libsodium'
PACKAGE_VERSION='1.0.20'
PACKAGE_STRING='libsodium 1.0.20'
PACKAGE_VERSION='1.0.21'
PACKAGE_STRING='libsodium 1.0.21'
PACKAGE_BUGREPORT='https://github.com/jedisct1/libsodium/issues'
PACKAGE_URL='https://libsodium.org'
@@ -1443,7 +1443,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
'configure' configures libsodium 1.0.20 to adapt to many kinds of systems.
'configure' configures libsodium 1.0.21 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1515,7 +1515,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of libsodium 1.0.20:";;
short | recursive ) echo "Configuration of libsodium 1.0.21:";;
esac
cat <<\_ACEOF
@@ -1667,7 +1667,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
libsodium configure 1.0.20
libsodium configure 1.0.21
generated by GNU Autoconf 2.72
Copyright (C) 2023 Free Software Foundation, Inc.
@@ -2033,7 +2033,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libsodium $as_me 1.0.20, which was
It was created by libsodium $as_me 1.0.21, which was
generated by GNU Autoconf 2.72. Invocation command line was
$ $0$ac_configure_args_raw
@@ -3633,7 +3633,7 @@ fi
# Define the identity of the package.
PACKAGE='libsodium'
VERSION='1.0.20'
VERSION='1.0.21'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -3875,9 +3875,9 @@ fi
SODIUM_LIBRARY_VERSION_MAJOR=26
SODIUM_LIBRARY_VERSION_MINOR=2
SODIUM_LIBRARY_VERSION_MINOR=3
DLL_VERSION=26
SODIUM_LIBRARY_VERSION=28:0:2
SODIUM_LIBRARY_VERSION=29:0:3
# | | |
# +------+ | +---+
# | | |
@@ -23494,7 +23494,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by libsodium $as_me 1.0.20, which was
This file was extended by libsodium $as_me 1.0.21, which was
generated by GNU Autoconf 2.72. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -23554,7 +23554,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
libsodium config.status 1.0.20
libsodium config.status 1.0.21
configured by $0, generated by GNU Autoconf 2.72,
with options \\"\$ac_cs_config\\"
+3 -3
View File
@@ -1,5 +1,5 @@
AC_PREREQ([2.69])
AC_INIT([libsodium],[1.0.20],[https://github.com/jedisct1/libsodium/issues],[libsodium],[https://libsodium.org])
AC_INIT([libsodium],[1.0.21],[https://github.com/jedisct1/libsodium/issues],[libsodium],[https://libsodium.org])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([src/libsodium/sodium/version.c])
@@ -13,9 +13,9 @@ AM_DEP_TRACK
AC_SUBST(VERSION)
SODIUM_LIBRARY_VERSION_MAJOR=26
SODIUM_LIBRARY_VERSION_MINOR=2
SODIUM_LIBRARY_VERSION_MINOR=3
DLL_VERSION=26
SODIUM_LIBRARY_VERSION=28:0:2
SODIUM_LIBRARY_VERSION=29:0:3
# | | |
# +------+ | +---+
# | | |
+1 -1
View File
@@ -4,7 +4,7 @@
#
# To simplify linking, library variants have distinct names: sodium, sodium-static, sodium-minimal and sodium-minimal-static.
SODIUM_VERSION="1.0.20.2"
SODIUM_VERSION="1.0.21.0"
if [ -z "$ANDROID_NDK_HOME" ]; then
echo "ANDROID_NDK_HOME must be set to the directory containing the Android NDK."
+1 -1
View File
@@ -9,7 +9,7 @@
<PropertyGroup>
<PackageId>libsodium</PackageId>
<Version>1.0.20.2</Version>
<Version>1.0.21.0</Version>
<Authors>Frank Denis</Authors>
<Description>Internal implementation package not meant for direct consumption. Please do not reference directly.</Description>
<Copyright>&#169; $([System.DateTime]::UtcNow.ToString(yyyy)) Frank Denis</Copyright>
+1 -1
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These values are populated into the package.gsl templates by package.bat. -->
<!-- The target attribute controls path and file name only, id controls package naming. -->
<package id="libsodium_vc120" target="libsodium" version = "1.0.20.2" pathversion="1_0_20_2" platformtoolset="v120" />
<package id="libsodium_vc120" target="libsodium" version = "1.0.21.0" pathversion="1_0_21_0" platformtoolset="v120" />