Files
advisory-db/crates/rust-crypto/RUSTSEC-2016-0005.md
Tony Arcieri ac125ee29a Translate database into V3 advisory format (#420)
As proposed in #240 and tracked in #414, this PR translates all
advisories into the new "V3" advisory format, which is based on Markdown
with leading TOML front matter.

This format makes it easier to see rendered Markdown syntax
descriptions, whether rendered by an IDE or GitHub. This should help
with both crafting advisories initially as well as review, and ideally
encourages more lengthy descriptions.

Support for this format shipped in `cargo-audit` v0.12.0 on
May 6th, 2020.
2020-10-01 18:29:11 -07:00

3.7 KiB

[advisory]
id = "RUSTSEC-2016-0005"
package = "rust-crypto"
date = "2016-09-06"
informational = "unmaintained"
url = "https://github.com/DaGenix/rust-crypto/issues/440"

[versions]
patched = []
unaffected = ["> 0.2.36"]

rust-crypto is unmaintained; switch to a modern alternative

The rust-crypto crate has not seen a release or GitHub commit since 2016, and its author is unresponsive.

NOTE: The (old) rust-crypto crate (with hyphen) should not be confused with similarly named (new) RustCrypto GitHub Org (without hyphen). The GitHub Org is actively maintained.

We recommend you switch to one of the following crates instead, depending on which algorithms you need:

  • dalek-cryptography GitHub Org:
  • ring:
    • AEAD algorithms: AES-GCM, ChaCha20Poly1305
    • Digest algorithms: SHA-256, SHA-384, SHA-512, SHA-512/256 (legacy: SHA-1)
    • HMAC
    • Key agreement: ECDH (P-256, P-384), X25519
    • Key derivation: HKDF
    • Password hashing: PBKDF2
    • Signature algorithms: ECDSA (P-256, P-384), Ed25519, RSA (PKCS#1v1.5, PSS)
  • RustCrypto GitHub Org:
  • secp256k1:
    • Key agreement: ECDH (secp256k1 only)
    • Signature algorithms: ECDSA (secp256k1 only)
  • sodiumoxide:
    • AEAD algorithms: ChaCha20Poly1305 (IETF version)
    • Digest algorithms: SHA-256, SHA-512
    • HMAC
    • Key agreement: X25519 + BLAKE2b
    • Password hashing: Argon2(i/d), scrypt
    • Public key encryption: NaCl "Box" (X25519 + XSalsa20Poly1305)
    • Signature algorithms: Ed25519
    • Short-input PRF: SipHash24
  • orion:
    • AEAD algorithms: ChaCha20Poly1305 (IETF version), XChaCha20Poly1305
    • Digest algorithms: SHA-512, BLAKE2b
    • Key derivation: HKDF
    • MACs: HMAC, Poly1305
    • Password hashing: PBKDF2
    • Stream ciphers: ChaCha20 (IETF version), XChaCha20