Commit 67781ec
committed
password-hash: change bounds for PHC verify blanket impl [BREAKING]
Changes the `TryFrom` bound for constructing `T::Params` to accept a
full `phc::PasswordHash` as the input type, rather than just its
`phc::ParamsString`.
This is actually how it used to work in prior releases, but regressed:
https://docs.rs/password-hash/0.5.0/src/password_hash/traits.rs.html#63
This is needed so the params can include the output size for the hash.
This is unfortunately a breaking change, but fortunately we haven't yet
released any password hash crates, so it will only impact prerelease
users.1 parent f18bb80 commit 67781ec
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
0 commit comments