Skip to content

Latest commit

 

History

History
169 lines (139 loc) · 5.67 KB

File metadata and controls

169 lines (139 loc) · 5.67 KB

Changelog

Unreleased

  • Library Support
    • Update the vendored libsodium from v1.0.18-stable to v1.0.21-stable.
  • Fixes
    • Stop configuring the vendored libsodium with --enable-opt: it compiles for the exact build CPU (-march=native), making the resulting library non-portable, and it produces silently incorrect ed25519 signature verification when built under x86_64 emulation (e.g. Rosetta via Docker on Apple Silicon).
    • Fix the dependency-tracking step of the vendored erlang.mk on Erlang/OTP 27+ (removed file:pid2name/1 call).
    • Replace erts_fprintf with plain fprintf in the port driver: Erlang/OTP 29 no longer exports the erts_fprintf symbol, so the driver failed to load. All uses were plain C format strings, so fprintf is equivalent.
    • Fix test/libsodium_SUITE_data/pwhash_scrypt.config for Erlang/OTP 27+ (adjacent string literals without whitespace are no longer allowed).
    • Update the Docker test image default to hexpm/erlang:27.2-alpine-3.21.2 and make the python symlink creation idempotent.

2.0.0 (2022-08-31)

  • Fixes
    • Include Makefile in hex.pm package so it works correctly with erlang.mk
    • Ditching the version tag matching upstream libsodium library since hex.pm requires semantic versioning :-( (which is really a good thing, I'm just whining that I can't break the rules just this once).

1.0.18 (2022-08-31)

  • Library Support

    • Update to libsodium 1.0.18.
    • Removed (deprecated upstream)
      • crypto_core_salsa208
      • crypto_stream_aes128ctr
      • crypto_stream_salsa208
    • Added
      • crypto_aead_xchacha20poly1305
      • crypto_box_curve25519xchacha20poly1305
      • crypto_core_ed25519
      • crypto_core_hchacha20
      • crypto_core_ristretto255
      • crypto_kdf
      • crypto_kdf_blake2b
      • crypto_kx
      • crypto_pwhash_argon2id
      • crypto_scalarmult_ed25519
      • crypto_scalarmult_ristretto255
      • crypto_secretbox
      • crypto_secretbox_xchacha20poly1305
      • crypto_secretbox_xsalsa20poly1305
      • crypto_secretstream_xchacha20poly1305
      • crypto_shorthash_siphashx24
      • crypto_sign_ed25519ph
      • crypto_stream_xchacha20
      • crypto_verify_16
      • crypto_verify_32
      • crypto_verify_64
      • sodium_base64_encoded_len
      • sodium_base642bin
      • sodium_bin2base64
      • sodium_pad
      • sodium_sub
      • sodium_unpad
  • Enhancements

    • Switch from Travis CI to GitHub Actions.
    • Relicense library under MIT license.
    • Update version tag to match upstream libsodium library.
  • Enhancements

    • Add detached functions to libsodium_crypto_aead_aes256gcm:
      • encrypt_detached/3
      • encrypt_detached/4
      • decrypt_detached/4
      • decrypt_detached/5

0.0.10 (2016-10-14)

  • Enhancements
    • Add detached functions to libsodium_crypto_aead_aes256gcm:
      • encrypt_detached/3
      • encrypt_detached/4
      • decrypt_detached/4
      • decrypt_detached/5

0.0.9 (2016-10-04)

  • Fixes
    • Segfault when using libsodium_crypto_box:seal_open/3 where ciphertext length is less than sealbytes. (See #5, thanks to @mtaylor91)

0.0.8 (2016-08-08)

0.0.7 (2016-05-31)

  • Library Support
    • libsodium_crypto_aead_chacha20poly1305 detached mode and IETF compliance.

0.0.6 (2016-05-24)

  • Enhancements

    • Tests for the crypto_pwhash group.
  • Fixes

    • Minor fixes to the following libraries:
      • libsodium_crypto_pwhash
      • libsodium_crypto_pwhash_argon2i
      • libsodium_crypto_pwhash_scryptsalsa208sha256

0.0.5 (2016-05-24)

  • Library Support
    • Update to libsodium 1.0.10.
    • libsodium_crypto_pwhash (See #2)
    • libsodium_crypto_pwhash_argon2i (See #2)

0.0.4 (2016-03-10)

  • Library Support
    • libsodium_crypto_pwhash_scryptsalsa208sha256 (See #1)

0.0.3 (2016-02-05)

  • Fixes
    • Minor fixes to build flags and port driver lookup.

0.0.2 (2016-01-16)

  • Publish to hex.pm without binary files.

0.0.1 (2016-01-16)

  • Initial Release

  • Library Support

    • libsodium_crypto_aead_aes256gcm
    • libsodium_crypto_aead_chacha20poly1305
    • libsodium_crypto_auth
    • libsodium_crypto_auth_hmacsha256
    • libsodium_crypto_auth_hmacsha512
    • libsodium_crypto_auth_hmacsha512256
    • libsodium_crypto_box
    • libsodium_crypto_box_curve25519xsalsa20poly1305
    • libsodium_crypto_core_hsalsa20
    • libsodium_crypto_core_salsa20
    • libsodium_crypto_core_salsa2012
    • libsodium_crypto_core_salsa208
    • libsodium_crypto_generichash
    • libsodium_crypto_generichash_blake2b
    • libsodium_crypto_hash
    • libsodium_crypto_hash_sha256
    • libsodium_crypto_hash_sha512
    • libsodium_crypto_onetimeauth
    • libsodium_crypto_onetimeauth_poly1305
    • libsodium_crypto_scalarmult
    • libsodium_crypto_scalarmult_curve25519
    • libsodium_crypto_shorthash
    • libsodium_crypto_shorthash_siphash24
    • libsodium_crypto_sign
    • libsodium_crypto_sign_ed25519
    • libsodium_crypto_stream
    • libsodium_crypto_stream_aes128ctr
    • libsodium_crypto_stream_chacha20
    • libsodium_crypto_stream_salsa20
    • libsodium_crypto_stream_salsa2012
    • libsodium_crypto_stream_salsa208
    • libsodium_crypto_stream_xsalsa20
    • libsodium_randombytes
    • libsodium_runtime
    • libsodium_utils
    • libsodium_version
  • Basic Tests

    • aead_aes256gcm
    • aead_chacha20poly1305
    • sign