Giter Site home page Giter Site logo

Comments (4)

Hasimir avatar Hasimir commented on July 23, 2024

The test project created for #69 includes a demonstration of this error as it includes a generated EPUB 3 file with a detached GPG signature file. The GPG signature can show that the file could not possibly have been created at the timestamp it uses ... well, not without breaking a 4096-bit RSA and 512-bit SHA2.

To verify the signature on the file, my key is: 0x321E4E2373590E5D

It can also be found in many of my github projects, on the MIT keyserver and the SKS keyserver pool.

from org.dita4publishers.epub.

drmacro avatar drmacro commented on July 23, 2024

I see the problem. Will investigate.

from org.dita4publishers.epub.

drmacro avatar drmacro commented on July 23, 2024

Hasimir says:

As mentioned on dita-users the previous fix to convert localtime to UTC is an odd half-fix. Specifically the time conversion does correctly calculate the difference between the system time which the OT runs on and UTC, including adjusting the date where necessary. However the time is only ever recorded as a 12 hour clock and not a 24 hour clock. So any UTC time between 13:00Z and 23:59Z loses 12 hours.

I am not certain what happens with 00:00Z since I haven't run a transformation at exactly that time. I'm also not certain if this is an issue with XSLT or Java itself. It is, however, less of a worry than the situation prior to the half-fix since it does at least prevent the generation of a timestamp in the future from the point of the transformation which was previously the case for those of us ahead of UTC (i.e. from Europe to Asia and Oceania). It is also not picked up by epubcheck.

from org.dita4publishers.epub.

Hasimir avatar Hasimir commented on July 23, 2024

Fix tested with OT 1.8.5 and works as expected.

from org.dita4publishers.epub.

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.