Skip to content

Commit 5691d07

Browse files
authored
password-hash v0.5.0 (#1271)
1 parent 2975bae commit 5691d07

File tree

5 files changed

+28
-4
lines changed

5 files changed

+28
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crypto/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ aead = { version = "0.5", optional = true, path = "../aead" }
2222
cipher = { version = "0.4", optional = true }
2323
digest = { version = "0.10", optional = true, features = ["mac"] }
2424
elliptic-curve = { version = "0.12", optional = true } # path = "../elliptic-curve"
25-
password-hash = { version = "=0.5.0-rc.0", optional = true, path = "../password-hash" }
25+
password-hash = { version = "0.5", optional = true, path = "../password-hash" }
2626
signature = { version = "2", optional = true, default-features = false, path = "../signature" }
2727
universal-hash = { version = "0.5", optional = true, path = "../universal-hash" }
2828

password-hash/CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## 0.5.0 (2023-03-04)
9+
### Added
10+
- `Error::OutputSize` ([#1026])
11+
- `std::error::Error::source` for `Error` ([#1264])
12+
- `getrandom` feature ([#1267])
13+
14+
### Changed
15+
- Use `Salt` type with `PasswordHasher` ([#1187])
16+
- Rename `Salt::new` => `Salt::from_b64` ([#1266])
17+
- Rename `Salt::b64_decode` => `Salt::decode_b64` ([#1266])
18+
- Rename `SaltString::new` => `SaltString::from_b64` ([#1266])
19+
- Rename `SaltString::b64_decode` => `SaltString::decode_b64` ([#1266])
20+
- Rename `SaltString::b64_encode` => `SaltString::encode_b64` ([#1266])
21+
22+
### Fixed
23+
- Allow `Salt` to be exactly the same amount as `MAX_LENGTH` value ([#1246])
24+
25+
[#1026]: https://github.com/RustCrypto/traits/pull/1026
26+
[#1187]: https://github.com/RustCrypto/traits/pull/1187
27+
[#1246]: https://github.com/RustCrypto/traits/pull/1246
28+
[#1264]: https://github.com/RustCrypto/traits/pull/1264
29+
[#1266]: https://github.com/RustCrypto/traits/pull/1266
30+
[#1267]: https://github.com/RustCrypto/traits/pull/1267
31+
832
## 0.4.2 (2022-06-27)
933
### Fixed
1034
- docs.rs metadata ([#1031])

password-hash/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Traits which describe the functionality of password hashing algorithms,
55
as well as a `no_std`-friendly implementation of the PHC string format
66
(a well-defined subset of the Modular Crypt Format a.k.a. MCF)
77
"""
8-
version = "0.5.0-rc.0"
8+
version = "0.5.0"
99
authors = ["RustCrypto Developers"]
1010
license = "MIT OR Apache-2.0"
1111
readme = "README.md"

password-hash/LICENSE-MIT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020 RustCrypto Developers
1+
Copyright (c) 2020-2023 RustCrypto Developers
22

33
Permission is hereby granted, free of charge, to any
44
person obtaining a copy of this software and associated

0 commit comments

Comments
 (0)