node-forge 0.7.5 → 0.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,15 @@
1
1
  Forge ChangeLog
2
2
  ===============
3
3
 
4
+ ## 0.7.6 - 2018-08-14
5
+
6
+ ### Added
7
+ - Test on Node.js 10.x.
8
+ - Support for PKCS#7 detached signatures.
9
+
10
+ ### Changed
11
+ - Improve webpack/browser detection.
12
+
4
13
  ## 0.7.5 - 2018-03-30
5
14
 
6
15
  ### Fixed
package/README.md CHANGED
@@ -1378,6 +1378,10 @@ p7.addSigner({
1378
1378
  p7.sign();
1379
1379
  var pem = forge.pkcs7.messageToPem(p7);
1380
1380
 
1381
+ // PKCS#7 Sign in detached mode.
1382
+ // Includes the signature and certificate without the signed data.
1383
+ p7.sign({detached: true});
1384
+
1381
1385
  ```
1382
1386
 
1383
1387
  <a name="pkcs8" />