trophy-case VS cryptography

Compare trophy-case vs cryptography and see what are their differences.

trophy-case

🏆 Collection of bugs uncovered by fuzzing Rust code (by rust-fuzz)

cryptography

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. (by pyca)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
trophy-case cryptography
14 70
394 6,291
1.8% 2.6%
2.8 9.9
22 days ago 5 days ago
Python
Creative Commons Zero v1.0 Universal GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

trophy-case

Posts with mentions or reviews of trophy-case. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-16.
  • Rust from a security perspective, where is it vulnerable?
    6 projects | /r/rust | 16 Jan 2023
    You could check cargo-fuzz trophy case, which is a list of issues that have been found via fuzzing.
  • capnproto-rust: out-of-bound memory access bug
    4 projects | /r/rust | 30 Nov 2022
    I've added it to the trophy case.
  • [LWN] A pair of Rust kernel modules
    1 project | /r/linux | 14 Sep 2022
    That said, what's present in what quantities under what circumstances in the Rust fuzzing trophy case does a pretty good job of illustrating how effective the Rust compiler is at ruling out entire classes of bugs.
  • Looking for simple rust programs to crash
    9 projects | /r/rust | 25 Jul 2022
    The same fuzzing techniques applied to Rust yielded a lot of bugs as well. But in Rust's case only 7 out of 340 fuzzer-discovered bugs, or 2%, were memory corruption issues. Naturally, all of the memory corruption bugs were in unsafe code.
  • Everything Is Broken: Shipping rust-minidump at Mozilla, Part 1
    1 project | /r/rust | 15 Jun 2022
    https://github.com/rust-fuzz/trophy-case has like 70 of my issues in it, including the nine minidump bugs
  • Fuzzcheck (a structure-aware Rust fuzzer)
    4 projects | /r/rust | 26 Feb 2022
    If you have found any bugs with this tool, perhaps add them to the Rust fuzz trophy case?
  • Rust is more portable than C for pngquant/libimagequant
    7 projects | /r/rust | 4 Jan 2022
    Source: https://github.com/rust-fuzz/trophy-case (over 40 of those are just from me).
  • Rust takes a major step forward as Linux's second official language
    17 projects | /r/programming | 7 Dec 2021
    But to bring some data, check out the fuzz trophy case. It shows that failures in Rust are most often assertions/panics (equivalent to C++ exception) with memory corruption being relatively rare (it's not never—Rust isn't promising magic—but it's a significant change).
  • Shouldn't have happened: A vulnerability postmortem
    11 projects | news.ycombinator.com | 1 Dec 2021
    You need to read the list more carefully.

    • The list is not for Rust itself, but every program every written in Rust. By itself it doesn't mean much, unless you compare prevalence of issues among Rust programs to prevalence of issues among C programs. For some context, see how memory unsafety is rare compared to assertions and uncaught exceptions: https://github.com/rust-fuzz/trophy-case

    • Many of the memory-unsafety issues are on the C FFI boundary, which is unsafe due to C lacking expressiveness about memory ownership of its APIs (i.e. it shows how dangerous is to program where you don't have the Rust borrow checker checking your code).

    • Many bugs about missing Send/Sync or evil trait implementations are about type-system loopholes that prevented compiler from catching code that was already buggy. C doesn't have these guarantees in the first place, so lack of them is not a CVE for C, but just how C is designed.

  • Safer usage of C++ in Chrome
    1 project | /r/rust | 9 Sep 2021

cryptography

Posts with mentions or reviews of cryptography. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-25.
  • We build X.509 chains so you don't have to
    5 projects | news.ycombinator.com | 25 Jan 2024
    Congratulations to the authors, this was a feature that was dearly missing from pyca/cryptography. It took a long time to get right.

    For the history: https://github.com/pyca/cryptography/issues/2381

  • “Our paying customers need X, when will you fix it?”
    5 projects | news.ycombinator.com | 15 Jul 2023
    Some context:

    - The cryptography dependency used by the current release of mitmproxy has a CVE related to an OpenSSL vulnerability (https://github.com/pyca/cryptography/security/advisories/GHS...)

    - The main branch of mitmproxy has already upgraded to the latest version of the cryptography package

    - The author of the package does not believe the CVE impacts users of mitmproxy so a release including this commit has not been made

  • Creating a password manager
    1 project | /r/learnpython | 19 Jun 2023
    Also you'll use https://github.com/pyca/cryptography
  • Microservice memory profiling
    2 projects | /r/FastAPI | 28 May 2023
    first, I did see a correlation between an endpoint being heavily hit in a given time window, and an increase of memory usage that didn't went down afterwards. The endpoint didn't do much so I went through every instruction - is a global variable appended indefinitely ? Is a cache decorator growing without a limit set ? Do I use a 3rd party that has a known issue ? Turns out, it was using cryptography, so I looked up known issues. Saw an issue about a leak when using load_pem_x509_certificate https://github.com/pyca/cryptography/issues/4833 - which I used ! I could fortunately just upgrade the library
  • [Python] PoĂ©sie vs Pipenv vs. pip-tools: Qu’utilisez-vous?
    1 project | /r/enfrancais | 9 Mar 2023
    Après le kerfuffle du paquet de cryptographie cette semaine (https://github.com/pyca/cryptography/issues/5771), J’ai passé en revue l’état des outils de gestion des dépendances en Python.
  • I love building a startup in Rust. I wouldn't pick it again
    11 projects | news.ycombinator.com | 17 Feb 2023
    > A big problem with Rust, long-term, is that the kind of programs that really need it are somewhat out of today's mainstream. It's not that useful for webcrap. It's not that useful for phone apps. The AI people use Jupyter notebooks and Python to drive code on GPUs.

    One thing this is missing is that Rust is useful for libraries callable by many different languages. You may or may not want to use it to build an actual Web app (I personally think it's a solid choice, but reasonable people can disagree). But for building, say, the Python cryptography library [1], which is used as a part of "webcrap" and Jupyter notebooks, Rust is clearly an excellent option. Nobody is going to build core Python infrastructure in Go or Node, and there will always be a need for plumbing libraries.

    [1]: https://github.com/pyca/cryptography

  • The impossible case of pitching rust in a web dev shop
    1 project | /r/rust | 22 Sep 2022
    Also, I see more and more examples where rust gets included in different technologies using FFI. Ie for python https://github.com/pyca/cryptography for security/performance critical pieces.
  • Azure CTO: “It's time to halt starting any new projects in C/C++ ”
    15 projects | news.ycombinator.com | 19 Sep 2022
    > I am curious. Could you give some more context?

    Probably talking about this: https://github.com/pyca/cryptography/issues/5771

  • Zig, the Small Language
    13 projects | news.ycombinator.com | 7 Sep 2022
  • os independent way to convert ssl crt to pem
    1 project | /r/learnpython | 22 Aug 2022
    You will be hard pressed to find a cryptography library that doesn't depend on openssl. Fortunately openssl bindings can be installed on Windows. One of the more popular libraries for python is cryptography, but it does depend on libssl.

What are some alternatives?

When comparing trophy-case and cryptography you can also consider the following projects:

diem - Diem’s mission is to build a trusted and innovative financial network that empowers people and businesses around the world.

PyCrypto - The Python Cryptography Toolkit

go-fuzz - Randomized testing for Go

pycryptodome - A self-contained cryptographic library for Python

gccrs - GCC Front-End for Rust

pyOpenSSL -- A Python wrapper around the OpenSSL library - A Python wrapper around the OpenSSL library

BLAKE3 - the official Rust and C implementations of the BLAKE3 cryptographic hash function

PyNacl - Python binding to the Networking and Cryptography (NaCl) library

bitwarden_rs - Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs [Moved to: https://github.com/dani-garcia/vaultwarden]

Paramiko - The leading native Python SSHv2 protocol library.

go - The Go programming language

Passlib