Giter Club home page Giter Club logo

Comments (4)

 avatar commented on July 3, 2024

Looks like this was fixed by

https://github.com/dalek-cryptography

Be careful. Performance is not the reason why signing and decryption primitives are written in assembler. Constant-time execution is the reason.

https://github.com/dalek-cryptography/subtle/blob/6b6a81ad9a6a00c0b42c327eaf4b2f785774377e/README.md?plain=1#L13-L15

https://github.com/dalek-cryptography/curve25519-dalek/blob/72761ca6b4772af985f969db53faf7accbad9b36/curve25519-dalek/README.md?plain=1#L215-L216

from crate2nix.

kolloch avatar kolloch commented on July 3, 2024

@amjoseph-nixpkgs true.

I knew that supporting all target expressions will be tricky, so I thought the approach to avoid errors and be fine if it compiles is a good one. But I was not thinking about security implications...

Probably, this should be opt-in but then again it will break already "working" crates again...

from crate2nix.

 avatar commented on July 3, 2024

But I was not thinking about security implications...

Oh, my comment about constant time refers to @flokli's reproducer crate, dalek-cryptography.

I was not criticizing crate2nix!

In any event I think this issue can be closed as resolved by #307. I'm able to crate2nix generate && nom build -f Cargo.nix the reproducer crate.

from crate2nix.

flokli avatar flokli commented on July 3, 2024

This indeed does work now, thanks.

Any chance for a new release to be tagged? There's quite a bunch of things I cherry-pick since the last release…

from crate2nix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.