Skip to content

Missing signatures #8

Open
Open

Description

@newpavlov
  • ML-DSA / Dilithium
  • SLH-DSA
  • DSA
  • ECDSA
    • NIST P-256 (via p256)
    • NIST P-384 (via p384)
    • NIST P-521 (via p521)
    • secp256k1 (via k256)
  • Ed25519
  • Ed448

Activity

  1. link2xt commented on Oct 20, 2019

    @link2xt

    DSA - Requested here: rpgp/rpgp#56

  2. heisen-li commented on Nov 3, 2020

    @heisen-li

    Is DSA not implemented yet? I can try to add.

  3. tarcieri commented on Nov 3, 2020

    @tarcieri
    Member

    Nobody's working on DSA. You can go for it. Edit: implemented!

    It might be good to come up with a plan for how it would be implemented (e.g. what crate dependencies would be used, for example), and ideally try to align with https://github.com/RustCrypto/RSA on some of those decisions

  4. lumag commented on Jul 27, 2022

    @lumag
    Contributor

    GOST digital signature alsorithm is missing. However additional care should be taken while implementing it. The standard is clueless with respect to endianness of the used numbers. The implementation should follow the established practice, rather than blindly following the standard.

  5. pinned this issue on Oct 11, 2022
  6. adamvm commented on Oct 12, 2023

    @adamvm

    During build automata with rust nightly:

    Compiling ed25519 v1.3.0 (https://github.com/RustCrypto/signatures.git?tag=ed25519/v1.3.0#8282fcaf)
    error[E0405]: cannot find trait Signature in crate signature
    --> /home/ami/.cargo/git/checkouts/signatures-a6df6df1cc32e789/8282fca/ed25519/src/lib.rs:349:17
    |
    349 | impl signature::Signature for Signature {
    | ^^^^^^^^^ not found in signature

    For more information about this error, try rustc --explain E0405.
    error: could not compile ed25519 (lib) due to previous error
    warning: build failed, waiting for other jobs to finish...

  7. tarcieri commented on Oct 12, 2023

    @tarcieri
    Member

    nightly is expected to break in ways that have nothing to do with our crates, nor can we do anything to fix them

  8. tarcieri commented on Mar 4, 2024

    @tarcieri
    Member

    A note about ML-DSA: we now have an ML-KEM implementation at https://github.com/RustCrypto/KEMs/tree/master/ml-kem

    It would be good for an ML-DSA implementation to share a common core with ml-kem.

  9. cothan commented on Mar 6, 2024

    @cothan

    Hi, I'm interested in implementing ML-DSA.

  10. tarcieri commented on Mar 6, 2024

    @tarcieri
    Member
  11. bifurcation commented on Mar 6, 2024

    @bifurcation
    Contributor

    Hey @cothan, happy to collaborate on ML-DSA. Especially if you're willing to take the lead :) I haven't looked at ML-DSA much, but my impression is that the algebra is similar to ML-KEM, but the constants are different, as are which bits are public/private. So you'll probably want to change some things, but hopefully the ml-kem crate has good framework to adapt.

  12. tarcieri commented on Mar 6, 2024

    @tarcieri
    Member

    Ideally I'd hope there can be some reuse / shared code between ml-kem and ml-dsa, but I'm not sure the best way to structure that, especially since they're split across repos

  13. bifurcation commented on Mar 6, 2024

    @bifurcation
    Contributor

    The part I would have the most hope for is the linear algebra bits (algebra.rs in ml-kem), since those seem pretty much the same aside from the prime in use. Even then, you would have to make these operations generic over the prime, and probably over the storage class as well -- the ML-KEM prime fits in 12 bits, while the ML-DSA prime requires 24 bits.

  14. 15 remaining items

  15. tarcieri commented on Mar 30, 2024

    @tarcieri
    Member

    We have an implementation of BIP340 Schnorr in the k256 crate.

    The question beyond that is: what variant of Schnorr? EdDSA is the most popular one in modern use. Other than that, BIP340 is the only other modern specification I'm aware of.

  16. iquerejeta commented on Mar 30, 2024

    @iquerejeta

    Oh, missed BIP340 in k256. I think we could implement that generically, over any curve with a prime number of points (unlike edwards curves, for which EdDSA exist). Don't know if that generic exists though.

  17. tarcieri commented on Mar 30, 2024

    @tarcieri
    Member

    I would be wary to implement BIP340 for elliptic curves other than secp256k1. It's not really defined that way.

    EdDSA is designed to be useful across multiple twisted Edwards curves, except @RustCrypto has no implementations of those.

  18. supinie commented on Jun 5, 2024

    @supinie

    @cothan, bit late to the party but would also be interested in helping out with ML-DSA. Any chance I could be added to your repo to lend a hand to anything?

  19. tarcieri commented on Jun 5, 2024

    @tarcieri
    Member

    It sure would be nice if people worked on ML-DSA in public forks. I have no idea what the status of @cothan's branch is.

  20. cothan commented on Jun 5, 2024

    @cothan

    Hi @supinie , I send you invitation to my github repo. I will make the repo public at when some code has landed.

  21. tarcieri commented on Jul 11, 2024

    @tarcieri
    Member

    FYI, I've published some initial crate boilerplate for ml-dsa here: https://github.com/RustCrypto/signatures/tree/master/ml-dsa

    Edit: PR open with an implementation: #877

  22. R1kaB3rN commented on Feb 1, 2025

    @R1kaB3rN

    @newpavlov I believe we can close this issue as the implementations for ML-DSA and SLH-DSA have already been merged.

  23. tarcieri commented on Feb 1, 2025

    @tarcieri
    Member

    I checked them off, but we can leave the issue open for future requests

  24. lumag commented on Feb 1, 2025

    @lumag
    Contributor

    Well... Do we have SM9, GOST-01/12 and other strange stuff?

  25. Pierre-Aronnax commented on Feb 25, 2025

    @Pierre-Aronnax

    Hi Rust Crypto Team, I am wondering if you are willing to accept PQC - NIST FIPS 203,204 and Falcon and Spincs+ into the Crypto Ecosystem. From the email conversation, I realized that y'all already have FIPS 203,204 and Spincs+, is Falcon open to implement?

    It is still in works with SIMD and chip-level optimization in place, I was wondering if y'all are still open to take in community based repositories to allow for easier access to PQC Algorithms to be used.

  26. tarcieri commented on Feb 26, 2025

    @tarcieri
    Member

    There's an existing Rust implementation of Falcon by one of the algorithm's designers (@pornin): https://github.com/pornin/rust-fn-dsa

    Given that, it probably doesn't make sense for us to have a separate implementation (similar to how we don't have a BLAKE3 implementation, for example)

  27. Pierre-Aronnax commented on Feb 26, 2025

    @Pierre-Aronnax

    Given that is case, are there any upcoming algorithms that y'all plan on implementing, somewhere to contribute in, I do have SM9 and researching on GOST but I am not sure if yor are willing to integrate it to the ecosystem

  28. gkgoat1 commented on Aug 11, 2025

    @gkgoat1

    I'm interested in a pure-Rust version of SQISign.

  29. gkgoat1 commented on Aug 24, 2025

    @gkgoat1

    I'm also interested in a FAEST implementation. It is not standardized by NIST, but has a tight security proof, which is one reason why I am interested in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions