Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 29, 2015
  1. @davidlehn
  2. @davidlehn
  3. @davidlehn

    Ignore coverage output dir.

    davidlehn authored
  4. @davidlehn
  5. @davidlehn

    Fix typo.

    davidlehn authored
  6. @davidlehn

    Add coverage support.

    davidlehn authored
  7. @davidlehn

    Add node 0.12 and iojs.

    davidlehn authored
Commits on May 28, 2015
  1. @davidlehn

    Use npm package.json style.

    davidlehn authored
  2. @davidlehn

    Update dependencies.

    davidlehn authored
Commits on May 27, 2015
  1. @dlongley

    Start 0.6.31.

    dlongley authored
  2. @dlongley

    Release 0.6.30.

    dlongley authored
  3. @dlongley
Commits on May 20, 2015
  1. @dlongley

    Start 0.6.30.

    dlongley authored
  2. @dlongley

    Release 0.6.29.

    dlongley authored
  3. @dlongley
Commits on May 19, 2015
  1. @dlongley

    Start 0.6.29.

    dlongley authored
  2. @dlongley

    Release 0.6.28.

    dlongley authored
  3. @dlongley

    Polyfill setImmediate with faster mechanisms.

    dlongley authored
    - Use window.postMessage and/or a combination of it and
      MutationObserver. These mechanisms should not starve I/O or
      browser rendering, but cause code to execute asynchronously
      much more quickly than setTimeout(fn, 0).
Commits on May 18, 2015
  1. @dlongley

    Start 0.6.28.

    dlongley authored
  2. @dlongley

    Release 0.6.27.

    dlongley authored
  3. @dlongley
Commits on Apr 23, 2015
  1. @dlongley

    Start 0.6.27.

    dlongley authored
  2. @dlongley

    Release 0.6.26.

    dlongley authored
  3. @dlongley

    Merge pull request #244 from whiteout-io/off-by-one-error

    dlongley authored
    Fix off-by-one error in jsbn's bnGetPrng.
  4. @tanx

    [WO-03-005] Fix off-by-one Error in Prime Worker Code of Forge librar…

    tanx authored
    …y (Low)
    
    This bug was found by [Cure53](https://cure53.de) during a security review of [Whiteout Mail](https://whiteout.io). The following comments are copied from the audit report:
    
    In the file forge/js/jsbn.js the method bnGetPrng() is present, tasked with generating a pseudo-random big number. This method is used during RSA key generation in the Miller Rabin pseudo-prime test. The following line gets a random number and converts it as uniformly distributed into a byte ([0..255]):
    x[i] = Math.floor(Math.random() * 0xFF);
    Unfortunately the value of 255 will never be reached because Math.random() generates a value between 0 inclusive and 1 exclusive. This results in a subtle weakness in the Miller-Rabin pseudoprime test. It should be corrected to the following code:
    x[i] = Math.floor(Math.random() * 0x0100);
    Note that here the astonishingly often despised call to Math.random() is acceptable because bnGetPrng() is only called to create the “witness” in the Miller Rabin test. If Math.random() was used for key creation, it would constitute a critical issue instead.
Commits on Apr 16, 2015
  1. @dlongley

    Start 0.6.26.

    dlongley authored
  2. @dlongley

    Release 0.6.25.

    dlongley authored
  3. @dlongley

    Support reading p12 containers w/unrecognized certificate data.

    dlongley authored
    - If certificates are not recognized or if they contain key
      formats that are unrecognized, a pkcs#12 container can still
      be decrypted. The resulting certificate bag will have its
      `cert` property set to `null` and an `asn1` property will
      contain its ASN.1 representation.
  4. @dlongley

    Merge pull request #239 from mattcollier/patch-1

    dlongley authored
    Update URL for Mocha test framework.
  5. @mattcollier
Commits on Apr 15, 2015
  1. @dlongley

    Start 0.6.25.

    dlongley authored
  2. @dlongley

    Release 0.6.24.

    dlongley authored
  3. @dlongley

    Add feature to allow limited access to unrecognized keys.

    dlongley authored
    - If a private key is in a format unrecognized by forge, an
      object representing it in ASN.1 format will be returned. This
      allows private keys to be extracted from PKCS#12 containers
      (and potentially converted to DER/PEM) even if forge doesn't
      recognize them.
Commits on Apr 8, 2015
  1. @dlongley

    Start 0.6.24.

    dlongley authored
  2. @dlongley

    Release 0.6.23.

    dlongley authored
Something went wrong with that request. Please try again.