From 61d08f8ead28cea9eec6042e8f112ad7f34df207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Mon, 25 Nov 2024 20:26:57 +0300 Subject: [PATCH] Fix MSRV badges --- README.md | 15 +++++++-------- argon2/README.md | 6 ++---- balloon-hash/README.md | 6 ++---- bcrypt-pbkdf/README.md | 6 ++---- password-auth/README.md | 6 ++---- pbkdf2/README.md | 6 ++---- scrypt/README.md | 6 ++---- sha-crypt/README.md | 6 ++---- yescrypt/README.md | 6 ++---- 9 files changed, 23 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 566b682d..ec09593b 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,12 @@ Collection of password hashing algorithms, otherwise known as password-based key | Algorithm | Crate | Crates.io | Documentation | MSRV | |----------------|------------------|--------------------------------------------------------------------------------------------------------|---------------|-------------------------| -| [Argon2] | [`argon2`] | [![crates.io](https://img.shields.io/crates/v/argon2.svg)](https://crates.io/crates/argon2) | [![Documentation](https://docs.rs/argon2/badge.svg)](https://docs.rs/argon2) | ![MSRV 1.65][msrv-1.65] | -| [Balloon] | [`balloon‑hash`] | [![crates.io](https://img.shields.io/crates/v/balloon-hash.svg)](https://crates.io/crates/balloon-hash) | [![Documentation](https://docs.rs/balloon-hash/badge.svg)](https://docs.rs/balloon-hash) | ![MSRV 1.65][msrv-1.65] | -| [bcrypt‑pbkdf] | [`bcrypt‑pbkdf`] | [![crates.io](https://img.shields.io/crates/v/bcrypt-pbkdf.svg)](https://crates.io/crates/bcrypt-pbkdf) | [![Documentation](https://docs.rs/bcrypt-pbkdf/badge.svg)](https://docs.rs/bcrypt-pbkdf) | ![MSRV 1.60][msrv-1.60] | -| [PBKDF2] | [`pbkdf2`] | [![crates.io](https://img.shields.io/crates/v/pbkdf2.svg)](https://crates.io/crates/pbkdf2) | [![Documentation](https://docs.rs/pbkdf2/badge.svg)](https://docs.rs/pbkdf2) | ![MSRV 1.60][msrv-1.60] | -| [scrypt] | [`scrypt`] | [![crates.io](https://img.shields.io/crates/v/scrypt.svg)](https://crates.io/crates/scrypt) | [![Documentation](https://docs.rs/scrypt/badge.svg)](https://docs.rs/scrypt) | ![MSRV 1.60][msrv-1.60] | -| [SHA-crypt] | [`sha‑crypt`] | [![crates.io](https://img.shields.io/crates/v/sha-crypt.svg)](https://crates.io/crates/sha-crypt) | [![Documentation](https://docs.rs/sha-crypt/badge.svg)](https://docs.rs/sha-crypt) | ![MSRV 1.60][msrv-1.60] | +| [Argon2] | [`argon2`] | [![crates.io](https://img.shields.io/crates/v/argon2.svg)](https://crates.io/crates/argon2) | [![Documentation](https://docs.rs/argon2/badge.svg)](https://docs.rs/argon2) | ![MSRV 1.81][msrv-1.81] | +| [Balloon] | [`balloon‑hash`] | [![crates.io](https://img.shields.io/crates/v/balloon-hash.svg)](https://crates.io/crates/balloon-hash) | [![Documentation](https://docs.rs/balloon-hash/badge.svg)](https://docs.rs/balloon-hash) | ![MSRV 1.81][msrv-1.81] | +| [bcrypt‑pbkdf] | [`bcrypt‑pbkdf`] | [![crates.io](https://img.shields.io/crates/v/bcrypt-pbkdf.svg)](https://crates.io/crates/bcrypt-pbkdf) | [![Documentation](https://docs.rs/bcrypt-pbkdf/badge.svg)](https://docs.rs/bcrypt-pbkdf) | ![MSRV 1.81][msrv-1.81] | +| [PBKDF2] | [`pbkdf2`] | [![crates.io](https://img.shields.io/crates/v/pbkdf2.svg)](https://crates.io/crates/pbkdf2) | [![Documentation](https://docs.rs/pbkdf2/badge.svg)](https://docs.rs/pbkdf2) | ![MSRV 1.81][msrv-1.81] | +| [scrypt] | [`scrypt`] | [![crates.io](https://img.shields.io/crates/v/scrypt.svg)](https://crates.io/crates/scrypt) | [![Documentation](https://docs.rs/scrypt/badge.svg)](https://docs.rs/scrypt) | ![MSRV 1.81][msrv-1.81] | +| [SHA-crypt] | [`sha‑crypt`] | [![crates.io](https://img.shields.io/crates/v/sha-crypt.svg)](https://crates.io/crates/sha-crypt) | [![Documentation](https://docs.rs/sha-crypt/badge.svg)](https://docs.rs/sha-crypt) | ![MSRV 1.81][msrv-1.81] | Please see the [OWASP Password Storage Cheat Sheet] for assistance in selecting an appropriate algorithm for your use case. @@ -67,8 +67,7 @@ Unless you explicitly state otherwise, any contribution intentionally submitted [license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg [deps-image]: https://deps.rs/repo/github/RustCrypto/password-hashes/status.svg [deps-link]: https://deps.rs/repo/github/RustCrypto/password-hashes -[msrv-1.60]: https://img.shields.io/badge/rustc-1.60.0+-blue.svg -[msrv-1.65]: https://img.shields.io/badge/rustc-1.65.0+-blue.svg +[msrv-1.81]: https://img.shields.io/badge/rustc-1.81.0+-blue.svg [//]: # (crates) diff --git a/argon2/README.md b/argon2/README.md index c303d4f9..97816e32 100644 --- a/argon2/README.md +++ b/argon2/README.md @@ -9,8 +9,6 @@ Pure Rust implementation of the [Argon2] password hashing function. -[Documentation][docs-link] - # About Argon2 is a memory-hard [key derivation function] chosen as the winner of @@ -27,7 +25,7 @@ ones without `alloc` support. ## Minimum Supported Rust Version -Rust **1.65** or higher. +Rust **1.81** or higher. Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump. @@ -59,7 +57,7 @@ dual licensed as above, without any additional terms or conditions. [docs-image]: https://docs.rs/argon2/badge.svg [docs-link]: https://docs.rs/argon2/ [license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg -[rustc-image]: https://img.shields.io/badge/rustc-1.65+-blue.svg +[rustc-image]: https://img.shields.io/badge/rustc-1.81+-blue.svg [chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg [chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260046-password-hashes [build-image]: https://github.com/RustCrypto/password-hashes/workflows/argon2/badge.svg?branch=master&event=push diff --git a/balloon-hash/README.md b/balloon-hash/README.md index 7096518a..1bdeac28 100644 --- a/balloon-hash/README.md +++ b/balloon-hash/README.md @@ -9,8 +9,6 @@ Pure Rust implementation of the [Balloon] password hashing function. -[Documentation][docs-link] - ## About This crate contains an implementation of the Balloon password hashing @@ -26,7 +24,7 @@ This algorithm is first practical password hashing function that provides: ## Minimum Supported Rust Version -Rust **1.65** or higher. +Rust **1.81** or higher. Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump. @@ -58,7 +56,7 @@ dual licensed as above, without any additional terms or conditions. [docs-image]: https://docs.rs/balloon-hash/badge.svg [docs-link]: https://docs.rs/balloon-hash/ [license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg -[rustc-image]: https://img.shields.io/badge/rustc-1.65+-blue.svg +[rustc-image]: https://img.shields.io/badge/rustc-1.81+-blue.svg [chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg [chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260046-password-hashes [build-image]: https://github.com/RustCrypto/password-hashes/workflows/balloon/badge.svg?branch=master&event=push diff --git a/bcrypt-pbkdf/README.md b/bcrypt-pbkdf/README.md index befdf6b3..b2cd3b41 100644 --- a/bcrypt-pbkdf/README.md +++ b/bcrypt-pbkdf/README.md @@ -10,11 +10,9 @@ Pure Rust implementation of the [`bcrypt_pbkdf`] password-based key derivation function, a custom derivative of PBKDF2 [used in OpenSSH]. -[Documentation][docs-link] - ## Minimum Supported Rust Version -Rust **1.60** or higher. +Rust **1.81** or higher. Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump. @@ -46,7 +44,7 @@ dual licensed as above, without any additional terms or conditions. [docs-image]: https://docs.rs/bcrypt-pbkdf/badge.svg [docs-link]: https://docs.rs/bcrypt-pbkdf/ [license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg -[rustc-image]: https://img.shields.io/badge/rustc-1.60+-blue.svg +[rustc-image]: https://img.shields.io/badge/rustc-1.81+-blue.svg [chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg [chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260046-password-hashes [build-image]: https://github.com/RustCrypto/password-hashes/workflows/bcrypt-pbkdf/badge.svg?branch=master&event=push diff --git a/password-auth/README.md b/password-auth/README.md index 4ae3eea3..787f2579 100644 --- a/password-auth/README.md +++ b/password-auth/README.md @@ -10,8 +10,6 @@ Password authentication library with a focus on simplicity and ease-of-use, with support for [Argon2], [PBKDF2], and [scrypt] password hashing algorithms. -[Documentation][docs-link] - ## About `password-auth` is a high-level password authentication library with a simple @@ -42,7 +40,7 @@ scrypt as well, if you have them in your password database. ## Minimum Supported Rust Version -Rust **1.65** or higher. +Rust **1.81** or higher. Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump. @@ -74,7 +72,7 @@ dual licensed as above, without any additional terms or conditions. [docs-image]: https://docs.rs/password-auth/badge.svg [docs-link]: https://docs.rs/password-auth/ [license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg -[rustc-image]: https://img.shields.io/badge/rustc-1.65+-blue.svg +[rustc-image]: https://img.shields.io/badge/rustc-1.81+-blue.svg [chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg [chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260046-password-hashes [build-image]: https://github.com/RustCrypto/password-hashes/workflows/password-auth/badge.svg?branch=master&event=push diff --git a/pbkdf2/README.md b/pbkdf2/README.md index 4b40574b..fac37472 100644 --- a/pbkdf2/README.md +++ b/pbkdf2/README.md @@ -9,11 +9,9 @@ Pure Rust implementation of the [Password-Based Key Derivation Function v2 (PBKDF2)][1]. -[Documentation][docs-link] - ## Minimum Supported Rust Version -Rust **1.60** or higher. +Rust **1.81** or higher. Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump. @@ -45,7 +43,7 @@ dual licensed as above, without any additional terms or conditions. [docs-image]: https://docs.rs/pbkdf2/badge.svg [docs-link]: https://docs.rs/pbkdf2/ [license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg -[rustc-image]: https://img.shields.io/badge/rustc-1.51+-blue.svg +[rustc-image]: https://img.shields.io/badge/rustc-1.81+-blue.svg [chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg [chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260046-password-hashes [build-image]: https://github.com/RustCrypto/password-hashes/workflows/pbkdf2/badge.svg?branch=master&event=push diff --git a/scrypt/README.md b/scrypt/README.md index e62a68ca..b73a09e2 100644 --- a/scrypt/README.md +++ b/scrypt/README.md @@ -9,11 +9,9 @@ Pure Rust implementation of the [scrypt key derivation function][1]. -[Documentation][docs-link] - ## Minimum Supported Rust Version -Rust **1.60** or higher. +Rust **1.81** or higher. Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump. @@ -45,7 +43,7 @@ dual licensed as above, without any additional terms or conditions. [docs-image]: https://docs.rs/scrypt/badge.svg [docs-link]: https://docs.rs/scrypt/ [license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg -[rustc-image]: https://img.shields.io/badge/rustc-1.60+-blue.svg +[rustc-image]: https://img.shields.io/badge/rustc-1.81+-blue.svg [chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg [chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260046-password-hashes [build-image]: https://github.com/RustCrypto/password-hashes/workflows/scrypt/badge.svg?branch=master&event=push diff --git a/sha-crypt/README.md b/sha-crypt/README.md index 93238d12..00e7f378 100644 --- a/sha-crypt/README.md +++ b/sha-crypt/README.md @@ -13,11 +13,9 @@ a legacy password hashing scheme supported by the [POSIX crypt C library][2]. Password hashes using this algorithm start with `$6$` when encoded using the [PHC string format][3]. -[Documentation][docs-link] - ## Minimum Supported Rust Version -Rust **1.60** or higher. +Rust **1.81** or higher. Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump. @@ -49,7 +47,7 @@ dual licensed as above, without any additional terms or conditions. [docs-image]: https://docs.rs/sha-crypt/badge.svg [docs-link]: https://docs.rs/sha-crypt/ [license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg -[rustc-image]: https://img.shields.io/badge/rustc-1.60+-blue.svg +[rustc-image]: https://img.shields.io/badge/rustc-1.81+-blue.svg [chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg [chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260046-password-hashes [build-image]: https://github.com/RustCrypto/password-hashes/workflows/sha-crypt/badge.svg?branch=master&event=push diff --git a/yescrypt/README.md b/yescrypt/README.md index f7eb18cd..c5ea6fab 100644 --- a/yescrypt/README.md +++ b/yescrypt/README.md @@ -9,8 +9,6 @@ Pure Rust implementation of the [yescrypt] password-based key derivation function. -[Documentation][docs-link] - ## ⚠️ Security Warning The implementation contained in this crate has never been independently audited! @@ -19,7 +17,7 @@ USE AT YOUR OWN RISK! ## Minimum Supported Rust Version -Rust **1.72** or higher. +Rust **1.81** or higher. Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump. @@ -46,7 +44,7 @@ dual licensed as above, without any additional terms or conditions. [docs-image]: https://docs.rs/yescrypt/badge.svg [docs-link]: https://docs.rs/yescrypt/ [license-image]: https://img.shields.io/crates/l/yescrypt?style=flat-square -[rustc-image]: https://img.shields.io/badge/rustc-1.60+-blue.svg +[rustc-image]: https://img.shields.io/badge/rustc-1.81+-blue.svg [chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg [chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260046-password-hashes [build-image]: https://github.com/RustCrypto/password-hashes/actions/workflows/yescrypt.yml/badge.svg