Coder Social home page Coder Social logo

Risk introducing nonce reuse about kms HOT 2 CLOSED

cosmian avatar cosmian commented on August 24, 2024
Risk introducing nonce reuse

from kms.

Comments (2)

bgrieder avatar bgrieder commented on August 24, 2024

Although object updates are unlikely, they may happen, and we should improve this.
Let us use a random Nonce that is stored with an object. As you did, I would also suggest having the uid as part of the DEM authentication, since we want to prevent an attack where values are switched between 2 Uids

from kms.

bgrieder avatar bgrieder commented on August 24, 2024

PR #65 created against main for quick release; single commit to be cherry-picked on develop.

Note: this is a breaking change on the ciphertexts, but since we just introduced FindexRedis and it is meant to be run in (future) TEEs, I do not think it is an issue. It it is, it will be easy to introduce a fallback on the previous decryption mechanism if the old one fails

from kms.

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.