Comparing version 1.13.0 to 1.13.1
@@ -0,1 +1,8 @@ | ||
## [1.13.1](https://github.com/Dexus/pem/compare/v1.13.0...v1.13.1) (2018-09-14) | ||
### Bug Fixes | ||
* **package:** remove -utf8 option ([4d10fb2](https://github.com/Dexus/pem/commit/4d10fb2)), closes [#214](https://github.com/Dexus/pem/issues/214) | ||
# [1.13.0](https://github.com/Dexus/pem/compare/v1.12.8...v1.13.0) (2018-09-11) | ||
@@ -2,0 +9,0 @@ |
@@ -7,2 +7,10 @@ ### Changelog | ||
#### [v1.13.0](https://github.com/Dexus/pem/compare/v1.12.8...v1.13.0) | ||
> 11 September 2018 | ||
- chore(release): 1.13.0 [skip ci] [`d5a20dd`](https://github.com/Dexus/pem/commit/d5a20ddaa4a0a6b5a79a0ec11afd4757d7176501) | ||
- feat(package): add promisify methods pem.promisify.FUNCTIONNAME [`8a0c1bc`](https://github.com/Dexus/pem/commit/8a0c1bc5f22b213fc4386212a036c2ccb2006524) | ||
- chore(package): add auto-changelog for history.md [`3a90fcb`](https://github.com/Dexus/pem/commit/3a90fcb5f5e0980ce5b48bd31fe850fecd702856) | ||
#### [v1.12.8](https://github.com/Dexus/pem/compare/v1.12.7...v1.12.8) | ||
@@ -9,0 +17,0 @@ |
@@ -31,22 +31,2 @@ 'use strict' | ||
// promisify not tested yet | ||
const promisifyObj = { | ||
createPrivateKey: promisify(createPrivateKey), | ||
createDhparam: promisify(createDhparam), | ||
createEcparam: promisify(createEcparam), | ||
createCSR: promisify(createCSR), | ||
createCertificate: promisify(createCertificate), | ||
readCertificateInfo: promisify(readCertificateInfo), | ||
getPublicKey: promisify(getPublicKey), | ||
getFingerprint: promisify(getFingerprint), | ||
getModulus: promisify(getModulus), | ||
getDhparamInfo: promisify(getDhparamInfo), | ||
createPkcs12: promisify(createPkcs12), | ||
readPkcs12: promisify(readPkcs12), | ||
verifySigningChain: promisify(verifySigningChain), | ||
checkCertificate: promisify(checkCertificate), | ||
checkPkcs12: promisify(checkPkcs12) | ||
} | ||
module.exports.promisified = promisifyObj | ||
/** | ||
@@ -241,3 +221,2 @@ * quick access the convert module | ||
var params = ['req', | ||
'-utf8', | ||
'-new', | ||
@@ -476,3 +455,2 @@ '-' + (options.hash || 'sha256') | ||
params = ['req', | ||
'-utf8', | ||
'-in', | ||
@@ -491,3 +469,2 @@ '--TMPFILE--', | ||
params = ['x509', | ||
'-utf8', | ||
'-in', | ||
@@ -1287,1 +1264,30 @@ '--TMPFILE--', | ||
} | ||
// promisify not tested yet | ||
/** | ||
* Verifies the signing chain of the passed certificate | ||
* @namespace | ||
* @name promisified | ||
* @property {function} createPrivateKey @see createPrivateKey | ||
* @property {function} createDhparam - The default number of players. | ||
* @property {function} createEcparam - The default level for the party. | ||
* @property {function} createCSR - The default treasure. | ||
* @property {function} createCertificate - How much gold the party starts with. | ||
*/ | ||
module.exports.promisified = { | ||
createPrivateKey: promisify(createPrivateKey), | ||
createDhparam: promisify(createDhparam), | ||
createEcparam: promisify(createEcparam), | ||
createCSR: promisify(createCSR), | ||
createCertificate: promisify(createCertificate), | ||
readCertificateInfo: promisify(readCertificateInfo), | ||
getPublicKey: promisify(getPublicKey), | ||
getFingerprint: promisify(getFingerprint), | ||
getModulus: promisify(getModulus), | ||
getDhparamInfo: promisify(getDhparamInfo), | ||
createPkcs12: promisify(createPkcs12), | ||
readPkcs12: promisify(readPkcs12), | ||
verifySigningChain: promisify(verifySigningChain), | ||
checkCertificate: promisify(checkCertificate), | ||
checkPkcs12: promisify(checkPkcs12) | ||
} |
@@ -13,3 +13,3 @@ { | ||
"description": "Create private keys and certificates with node.js and io.js", | ||
"version": "1.13.0", | ||
"version": "1.13.1", | ||
"repository": { | ||
@@ -16,0 +16,0 @@ "type": "git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
184973
3189