diff --git a/CHANGELOG.md b/CHANGELOG.md index c115de4..cb4fdbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.1.2] - 2024-11-01 + +### Fixed + +- Validate that the encoded hash passed to Argon2id::Password.new is a + null-terminated C string, raising an ArgumentError if it contains extra null + bytes + ## [0.1.1] - 2024-11-01 ### Added @@ -24,5 +32,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 reference C implementation of Argon2, the password-hashing function that won the Password Hashing Competition. +[0.1.2]: https://github.com/mudge/argon2id/releases/tag/v0.1.2 [0.1.1]: https://github.com/mudge/argon2id/releases/tag/v0.1.1 [0.1.0]: https://github.com/mudge/argon2id/releases/tag/v0.1.0 diff --git a/README.md b/README.md index 367235d..c30795e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ function that won the 2015 [Password Hashing Competition][]. [![Build Status](https://github.com/mudge/argon2id/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/mudge/argon2id/actions) -**Current version:** 0.1.1 +**Current version:** 0.1.2 **Bundled Argon2 version:** libargon2.1 (20190702) ```ruby diff --git a/lib/argon2id/version.rb b/lib/argon2id/version.rb index 98981bf..59746e4 100644 --- a/lib/argon2id/version.rb +++ b/lib/argon2id/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Argon2id - VERSION = "0.1.1" + VERSION = "0.1.2" end