项目原始demo,不改动
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Este repositório está arquivado. Pode ver ficheiros e cloná-lo, mas não pode fazer envios ou lançar questões ou pedidos de integração.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. Forge ChangeLog
  2. ===============
  3. ## 0.7.5 - 2018-03-30
  4. ### Fixed
  5. - Remove use of `const`.
  6. ## 0.7.4 - 2018-03-07
  7. ### Fixed
  8. - Potential regex denial of service in form.js.
  9. ### Added
  10. - Support for ED25519.
  11. - Support for baseN/base58.
  12. ## 0.7.3 - 2018-03-05
  13. - Re-publish with npm 5.6.0 due to file timestamp issues.
  14. ## 0.7.2 - 2018-02-27
  15. ### Added
  16. - Support verification of SHA-384 certificates.
  17. - `1.2.840.10040.4.3'`/`dsa-with-sha1` OID.
  18. ### Fixed
  19. - Support importing PKCS#7 data with no certificates. RFC 2315 sec 9.1 states
  20. certificates are optional.
  21. - `asn1.equals` loop bug.
  22. - Fortuna implementation bugs.
  23. ## 0.7.1 - 2017-03-27
  24. ### Fixed
  25. - Fix digestLength for hashes based on SHA-512.
  26. ## 0.7.0 - 2017-02-07
  27. ### Fixed
  28. - Fix test looping bugs so all tests are run.
  29. - Improved ASN.1 parsing. Many failure cases eliminated. More sanity checks.
  30. Better behavior in default mode of parsing BIT STRINGs. Better handling of
  31. parsed BIT STRINGs in `toDer()`. More tests.
  32. - Improve X.509 BIT STRING handling by using new capture modes.
  33. ### Changed
  34. - Major refactor to use CommonJS plus a browser build system.
  35. - Updated tests, examples, docs.
  36. - Updated dependencies.
  37. - Updated flash build system.
  38. - Improve OID mapping code.
  39. - Change test servers from Python to JavaScript.
  40. - Improve PhantomJS support.
  41. - Move Bower/bundle support to
  42. [forge-dist](https://github.com/digitalbazaar/forge-dist).
  43. - **BREAKING**: Require minimal digest algorithm dependencies from individual
  44. modules.
  45. - Enforce currently supported bit param values for byte buffer access. May be
  46. **BREAKING** for code that depended on unspecified and/or incorrect behavior.
  47. - Improve `asn1.prettyPrint()` BIT STRING display.
  48. ### Added
  49. - webpack bundler support via `npm run build`:
  50. - Builds `.js`, `.min.js`, and basic sourcemaps.
  51. - Basic build: `forge.js`.
  52. - Build with extra utils and networking support: `forge.all.js`.
  53. - Build WebWorker support: `prime.worker.js`.
  54. - Browserify support in package.json.
  55. - Karma browser testing.
  56. - `forge.options` field.
  57. - `forge.options.usePureJavaScript` flag.
  58. - `forge.util.isNodejs` flag (used to select "native" APIs).
  59. - Run PhantomJS tests in Travis-CI.
  60. - Add "Donations" section to README.
  61. - Add IRC to "Contact" section of README.
  62. - Add "Security Considerations" section to README.
  63. - Add pbkdf2 usePureJavaScript test.
  64. - Add rsa.generateKeyPair async and usePureJavaScript tests.
  65. - Add .editorconfig support.
  66. - Add `md.all.js` which includes all digest algorithms.
  67. - Add asn1 `equals()` and `copy()`.
  68. - Add asn1 `validate()` capture options for BIT STRING contents and value.
  69. ### Removed
  70. - **BREAKING**: Can no longer call `forge({...})` to create new instances.
  71. - Remove a large amount of old cruft.
  72. ### Migration from 0.6.x to 0.7.x
  73. - (all) If you used the feature to create a new forge instance with new
  74. configuration options you will need to rework your code. That ability has
  75. been removed due to implementation complexity. The main rare use was to set
  76. the option to use pure JavaScript. That is now available as a library global
  77. flag `forge.options.usePureJavaScript`.
  78. - (npm,bower) If you used the default main file there is little to nothing to
  79. change.
  80. - (npm) If you accessed a sub-resource like `forge/js/pki` you should either
  81. switch to just using the main `forge` and access `forge.pki` or update to
  82. `forge/lib/pki`.
  83. - (bower) If you used a sub-resource like `forge/js/pki` you should switch to
  84. just using `forge` and access `forge.pki`. The bower release bundles
  85. everything in one minified file.
  86. - (bower) A configured workerScript like
  87. `/bower_components/forge/js/prime.worker.js` will need to change to
  88. `/bower_components/forge/dist/prime.worker.min.js`.
  89. - (all) If you used the networking support or flash socket support, you will
  90. need to use a custom build and/or adjust where files are loaded from. This
  91. functionality is not included in the bower distribution by default and is
  92. also now in a different directory.
  93. - (all) The library should now directly support building custom bundles with
  94. webpack, browserify, or similar.
  95. - (all) If building a custom bundle ensure the correct dependencies are
  96. included. In particular, note there is now a `md.all.js` file to include all
  97. digest algorithms. Individual files limit what they include by default to
  98. allow smaller custom builds. For instance, `pbdkf2.js` has a `sha1` default
  99. but does not include any algorithm files by default. This allows the
  100. possibility to include only `sha256` without the overhead of `sha1` and
  101. `sha512`.
  102. ### Notes
  103. - This major update requires updating the version to 0.7.x. The existing
  104. work-in-progress "0.7.x" branch will be painfully rebased on top of this new
  105. 0.7.x and moved forward to 0.8.x or later as needed.
  106. - 0.7.x is a start of simplifying forge based on common issues and what has
  107. appeared to be the most common usage. Please file issues with feedback if the
  108. changes are problematic for your use cases.
  109. ## 0.6.x - 2016 and earlier
  110. - See Git commit log or https://github.com/digitalbazaar/forge.