Skip to content

Mark preview feature as unstable in Cargo.toml - #82

Merged
tarcieri merged 1 commit into
RustCrypto:masterfrom
roblabla:patch-1
Mar 9, 2020
Merged

tarcieri merged 1 commit into
RustCrypto:masterfrom
roblabla:patch-1

Conversation

@roblabla

@roblabla roblabla commented Mar 9, 2020

Copy link
Copy Markdown
Contributor

I (and I'm sure a few others) often look at the Cargo.toml to find out what a crate's features are. It might be a good idea to explicitly point out there that the preview features are unstable.

@tarcieri

tarcieri commented Mar 9, 2020

Copy link
Copy Markdown
Member

Hrmm, the build is green on Travis CI, but it seems reporting isn't working or something? (I've been having various other problems with it this morning)

https://travis-ci.org/RustCrypto/traits/builds/660230340?utm_source=github_status&utm_medium=notification

Anyway, this looks good to me, thanks!

@tarcieri
tarcieri merged commit 61f1f46 into RustCrypto:master Mar 9, 2020
@tarcieri tarcieri mentioned this pull request Mar 15, 2020
dns2utf8 pushed a commit to dns2utf8/traits that referenced this pull request Jan 24, 2023
Implements the PHC string format for hashes, currently gated under the
`include_simple` cargo feature.

Specifics of how the format is encoded/decoded are modeled off of the
implementation of PHC hashes for PBKDF2 implemented by Auth0.

See this thread for more information:
https://community.auth0.com/t/bulk-user-import-custom-password-hash-issue/47408/5
dns2utf8 pushed a commit to dns2utf8/traits that referenced this pull request Jan 24, 2023
The previous "simple" API used an MCF hash format (`$rpbkdf2$...`) which
is unique to this crate and therefore not interoperable.

As of RustCrypto#82, the PHC string format is supported, which provides an
interoperable way to serialize PBKDF2 password hashes.

This commit completely replaces the old "simple" API with the
`password-hash` crate which supports the PHC string format as well as
an impl of the `McfHasher` trait which supports verifying and upgrading
hashes in the previous MCF format.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants