Code Monkey home page Code Monkey logo

Comments (7)

christian-kirschnick avatar christian-kirschnick commented on May 12, 2024 1

Since the generation code has changed a lot & Timon and me are working on #203, we will have an eye on this as well. I will reopen this, in case #203 will not fix it.

from cwa-server.

UnchartedBull avatar UnchartedBull commented on May 12, 2024 1

Managed to convince the ZIP Library to create byte-identical archives. The payload signing creates different bytes for the same chunk each time though. Having the signing algorithm create the same bytes for the same chunk would be a security risk, so we can't create byte-identical archives for the same chunk.

from cwa-server.

pithumke avatar pithumke commented on May 12, 2024

Bug probably introduced through #96 when changing most List<...>'s to Collection<...>'s. DiagnosisKeyService now returns a sorted List, so to fix this bug, we probably just need to change the code back to using List<...>'s.

from cwa-server.

johanneseschrig avatar johanneseschrig commented on May 12, 2024

Logic has changed, not relevant anymore

from cwa-server.

pithumke avatar pithumke commented on May 12, 2024

How is this issue not relevant anymore? IMHO, generated files for the same chunk still shouldn't differ in binary.

from cwa-server.

christian-kirschnick avatar christian-kirschnick commented on May 12, 2024

Re-opening, still valid.

from cwa-server.

christian-kirschnick avatar christian-kirschnick commented on May 12, 2024

Changed to sorted list for the TEK Exports:
https://github.com/corona-warn-app/cwa-server/compare/issues/148-binary-diff

Then ran the assembly process twice and picked the 20 hour package for current day.

Unfortunately,
colordiff -y <(xxd 20) <(xxd 20_2)

Still shows some diffs.

from cwa-server.

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.