Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pem

Package Overview
Dependencies
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pem - npm Package Compare versions

Comparing version 1.12.3 to 1.12.4

CODE_OF_CONDUCT.md

231

HISTORY.md

@@ -1,57 +0,226 @@

# Change Log
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
### Changelog
All notable changes to this project will be documented in this file.
Generated by [auto-changelog](https://github.com/CookPete/auto-changelog)
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
#### [v1.12.3](https://github.com/Dexus/pem/compare/v1.12.2...v1.12.3)
> 10 October 2017
- Update HISTORY.md via TravisCI [`904f74d`](https://github.com/Dexus/pem/commit/904f74dd3c53ec2c68551230e518fd16af7b2efd)
- fix(package): #117 verifySigningChain optional CA certificates [`b6aafd4`](https://github.com/Dexus/pem/commit/b6aafd4909cca8b6a1b660eb42561b0dc5d1d5fa)
## [Unreleased](https://github.com/Dexus/pem/compare/v1.12.1...HEAD)
#### [v1.12.2](https://github.com/Dexus/pem/compare/v1.12.1...v1.12.2)
> 8 October 2017
- fix #150: serial can now be an 20 octets string, number or hex [`#150`](https://github.com/Dexus/pem/issues/150)
- Update HISTORY.md via TravisCI [`b58a0b2`](https://github.com/Dexus/pem/commit/b58a0b2ea8af3620337de3bf17dfebf21a5dd353)
- fix(package): build and release #150 fix and create HISTORY after release. [`e948217`](https://github.com/Dexus/pem/commit/e948217f34157024ec629d5d1111cbcef0c94e6a)
- chore(release-flow): change HISTORY.md only on master [`6da3254`](https://github.com/Dexus/pem/commit/6da325403b80a06d91d0cca2c46667c07414dbf5)
### Fixed
* fix #150: serial can now be an 20 octets string, number or hex [`#150`](https://github.com/Dexus/pem/issues/150)
#### [v1.12.1](https://github.com/Dexus/pem/compare/v1.12.0...v1.12.1)
> 7 October 2017
- fix #159; renamed helper methods [`#159`](https://github.com/Dexus/pem/issues/159)
- fix(tests): renamed helper functions [`0073032`](https://github.com/Dexus/pem/commit/007303276a16a03394361ab290d3d93a74ed77c8)
- update template for docs [`2f95e38`](https://github.com/Dexus/pem/commit/2f95e3802ca2c742ec3c9f09591d4d34be165158)
- change template for docs [`10672e4`](https://github.com/Dexus/pem/commit/10672e4d2d7e0c9e856e5bc1af90c4977da2ee8b)
#### [v1.12.0](https://github.com/Dexus/pem/compare/v1.11.2...v1.12.0)
> 28 September 2017
- fix(package): Re-Structuring [`#147`](https://github.com/Dexus/pem/pull/147)
- fix(package): consistent usage of -password -passin and -passout [`a7c5654`](https://github.com/Dexus/pem/commit/a7c56541ede4a8979eb83d513c6521efcbb1dd96)
- feat: add createEcparam to create EC private keys [`6c991b5`](https://github.com/Dexus/pem/commit/6c991b58d220f7c11d7e0274f2faa3c788db24eb)
- remove tests that not in all openssl versions available [`32be5d7`](https://github.com/Dexus/pem/commit/32be5d7a95c7600ed84f68e3e15c85afcd804a52)
## [v1.12.1](https://github.com/Dexus/pem/compare/v1.12.0...v1.12.1) - 2017-10-07
#### [v1.11.2](https://github.com/Dexus/pem/compare/v1.11.1...v1.11.2)
> 21 September 2017
- fix(package): max 20 octets for serial [`#141`](https://github.com/Dexus/pem/pull/141)
- Update .travis.yml [`bed4f44`](https://github.com/Dexus/pem/commit/bed4f44201b5c65fb20607d4f74faf44d5704831)
### Fixed
* fix #159; renamed helper methods [`#159`](https://github.com/Dexus/pem/issues/159)
#### [v1.11.1](https://github.com/Dexus/pem/compare/v1.11.0...v1.11.1)
> 20 September 2017
- fix(package): fix check pkcs12 openssl1.1.0 not printed "MAC verified OK" [`#140`](https://github.com/Dexus/pem/pull/140)
- fix(package): parse serial and getDhparamInfo [`#139`](https://github.com/Dexus/pem/pull/139)
- Update semantic-release to the latest version 🚀 [`#134`](https://github.com/Dexus/pem/pull/134)
- chore(package): update semantic-release to version 8.0.0 [`efe156e`](https://github.com/Dexus/pem/commit/efe156ec02529ab9dde77dd022d4f7f5784d29bf)
#### [v1.11.0](https://github.com/Dexus/pem/compare/v1.9.8...v1.11.0)
> 13 September 2017
- Support reading array of organizations in a CSR [`#125`](https://github.com/Dexus/pem/pull/125)
- Fix #132 new version 1.10.1 [`#132`](https://github.com/Dexus/pem/issues/132)
- feat: use standard (https://standardjs.com) for coding style guide [`c48736b`](https://github.com/Dexus/pem/commit/c48736bfe4eebbcbccd7d29fe6718fe242046d40)
- Fix Build [`4c39ca7`](https://github.com/Dexus/pem/commit/4c39ca70bd262cfce65e236c451ff0f2f424a47e)
- Bump Version to 1.10.2 [`60d937b`](https://github.com/Dexus/pem/commit/60d937b6b5144da07e3870914aa6482df7829410)
## [v1.12.0](https://github.com/Dexus/pem/compare/v1.11.2...v1.12.0) - 2017-09-28
#### [v1.9.8](https://github.com/Dexus/pem/compare/v1.9.6...v1.9.8)
> 3 September 2017
- Feature Request: add checking support and md5 hashing for getModulus [`#127`](https://github.com/Dexus/pem/pull/127)
- Allow array values for CSRs [`#124`](https://github.com/Dexus/pem/pull/124)
- fix a problem with parsing "Public Key size" in different OS [`#122`](https://github.com/Dexus/pem/pull/122)
- chore(package): update semantic-release to version 7.0.2 [`#128`](https://github.com/Dexus/pem/issues/128)
- Version 1.9.8 [`2eae57c`](https://github.com/Dexus/pem/commit/2eae57cafa58ba5917676ab4c84b44e0adeb8eb1)
- bump version [`44b1f17`](https://github.com/Dexus/pem/commit/44b1f1718ec9720c9f0d5051285982edb5b27624)
### Commits
* fix(package): consistent usage of -password -passin and -passout [`a7c5654`](https://github.com/Dexus/pem/commit/a7c56541ede4a8979eb83d513c6521efcbb1dd96)
#### [v1.9.6](https://github.com/Dexus/pem/compare/v1.9.4...v1.9.6)
> 27 April 2017
- Documentation [`#121`](https://github.com/Dexus/pem/pull/121)
- add 3 fields to certificate parsing [`#120`](https://github.com/Dexus/pem/pull/120)
- Update README [`#119`](https://github.com/Dexus/pem/pull/119)
- Revert "Regex support for new format with spaces" [`#113`](https://github.com/Dexus/pem/pull/113)
- Regex support for new format with spaces [`#111`](https://github.com/Dexus/pem/pull/111)
- Greenkeeper/initial [`#110`](https://github.com/Dexus/pem/pull/110)
- Propagate original options from createCSR to createCertificate [`#106`](https://github.com/Dexus/pem/pull/106)
- Handle slproweb.com openssl Binaries outputting ' = ' rather than '=' to separate subject fields [`#98`](https://github.com/Dexus/pem/pull/98)
- Regex support for new format with spaces: " C = GB, ST = England, O = Organisation, OU = Provisioning, CN = CommonName, emailAddress = email@address.com" [`ca0b353`](https://github.com/Dexus/pem/commit/ca0b353f3bd18abcbcaa395138ff52c690ab8182)
- docs(readme): add Greenkeeper badge [`cfbf14e`](https://github.com/Dexus/pem/commit/cfbf14e9bda09d28b796d8f692c5ac6b7814631b)
- chore(package): update dependencies [`805fa3a`](https://github.com/Dexus/pem/commit/805fa3a4bb101511282677a9a58fc502355d39e0)
#### [v1.9.4](https://github.com/Dexus/pem/compare/v1.8.3...v1.9.4)
> 1 December 2016
- Fix error handling and deprecation warnings [`#93`](https://github.com/Dexus/pem/pull/93)
- Added noop callback (Node 7.0 deprecation warning) [`#91`](https://github.com/Dexus/pem/pull/91)
- Fixing CSR subject generation [`#90`](https://github.com/Dexus/pem/pull/90)
- adding options for -CAcreateserial [`#87`](https://github.com/Dexus/pem/pull/87)
- combine getModulus and getModulusFromProtected [`#82`](https://github.com/Dexus/pem/pull/82)
- remove default empty string and replace forEach with map [`#81`](https://github.com/Dexus/pem/pull/81)
- refactor spawnWrapper [`#80`](https://github.com/Dexus/pem/pull/80)
- Only generate altNames config if it is a non-empty array [`#78`](https://github.com/Dexus/pem/pull/78)
- Add support for DC Certificates fix #83 [`#83`](https://github.com/Dexus/pem/issues/83)
- release v1.9.3 [`bf6b4cd`](https://github.com/Dexus/pem/commit/bf6b4cd9889fc60fd889ccc1d2a0421ce4659e43)
## [v1.11.2](https://github.com/Dexus/pem/compare/v1.11.1...v1.11.2) - 2017-09-21
#### [v1.8.3](https://github.com/Dexus/pem/compare/1.8.1...v1.8.3)
> 2 May 2016
- Support csr config [`#75`](https://github.com/Dexus/pem/pull/75)
- Allow commas in CSR fields [`#74`](https://github.com/Dexus/pem/pull/74)
- Update package.json versions [`#70`](https://github.com/Dexus/pem/pull/70)
- Refactor temp dir logic [`#63`](https://github.com/Dexus/pem/pull/63)
- Add CA certs to pkcs12 file and read pkcs12 files [`#62`](https://github.com/Dexus/pem/pull/62)
- prepare new release [`e7f9fba`](https://github.com/Dexus/pem/commit/e7f9fbae5a4bea25a9c2bc858ec53fd070bf37d4)
- refactor temp dir logic, uses a ponyfill [`77e2ada`](https://github.com/Dexus/pem/commit/77e2adaaff7b24f2bce7e4c8d1469f78ab4f5550)
- npm i which -S [`912e32e`](https://github.com/Dexus/pem/commit/912e32e9d0dc956366acb25c20eff1c292cd166a)
### Fixed
* fix(package): max 20 octets for serial (#141) [`#84`](https://github.com/Dexus/pem/issues/84)
#### [1.8.1](https://github.com/Dexus/pem/compare/1.8.0...1.8.1)
> 20 September 2015
- No match fix at preg_match_all [`#61`](https://github.com/Dexus/pem/pull/61)
- Bump version to 1.8.1 [`a7e661d`](https://github.com/Dexus/pem/commit/a7e661ddb37a570af44e221306a1c406bd4d6703)
- Update .travis.yml [`89a4518`](https://github.com/Dexus/pem/commit/89a4518e368bb1231044557518a025fec92da737)
- Update travis.yml to run on container infrastructure. [`aaf979e`](https://github.com/Dexus/pem/commit/aaf979e3f0b91d6426ac2610dae2793a4613c908)
#### [1.8.0](https://github.com/Dexus/pem/compare/v1.7.1...1.8.0)
> 26 August 2015
- Adds method to verify a certificate's signing chain [`#60`](https://github.com/Dexus/pem/pull/60)
- Added functionality to export key and certificate to PKCS12 keystore [`#59`](https://github.com/Dexus/pem/pull/59)
- Added functionality to get modulus from a password protected key [`#53`](https://github.com/Dexus/pem/pull/53)
- Include Issuer Data with Fetch Cert Data Function [`#50`](https://github.com/Dexus/pem/pull/50)
- fix / add #57, #56, #55, #54, #52 [`30f4a0a`](https://github.com/Dexus/pem/commit/30f4a0a9f6942295af4c62d9e4dd94e81ef4f9be)
- Fix Tests [`fdbf0f3`](https://github.com/Dexus/pem/commit/fdbf0f3e0310d6f45ae76adbf46856956ac3560c)
- Remove unused parameter [`1e71e3f`](https://github.com/Dexus/pem/commit/1e71e3f32ec0af23468b8d3ff732e10c1c9506ca)
## [v1.11.1](https://github.com/Dexus/pem/compare/v1.11.0...v1.11.1) - 2017-09-20
#### [v1.7.1](https://github.com/Dexus/pem/compare/v1.7.0...v1.7.1)
> 27 February 2015
- Creating a CSR for an encrypted key [`#49`](https://github.com/Dexus/pem/pull/49)
- bump to 1.7.0 [`#2`](https://github.com/Dexus/pem/pull/2)
- * Change variable name [`e2edba6`](https://github.com/Dexus/pem/commit/e2edba6d1bb98b5204a0d4cd561d759f8fd41c9a)
- Using files for passing key passwords [`ed3a7a2`](https://github.com/Dexus/pem/commit/ed3a7a2f5c86bacce8b1967ec8e6386ba4852f8a)
- Unlinked temporary password file for CSR generation [`6e13a14`](https://github.com/Dexus/pem/commit/6e13a1421f84d7358737a8aec3016b569dc1f903)
### Merged
* Update semantic-release to the latest version 🚀 [`#134`](https://github.com/Dexus/pem/pull/134)
#### [v1.7.0](https://github.com/Dexus/pem/compare/v1.6.0...v1.7.0)
> 25 February 2015
- Private key encryption [`#48`](https://github.com/Dexus/pem/pull/48)
- Merge latest PEM version [`#1`](https://github.com/Dexus/pem/pull/1)
- Add optional params to createPrivateKey [`942e937`](https://github.com/Dexus/pem/commit/942e9374e10920c40e45df8eec3994f405a6a4ad)
- Bumped version to v1.7.0 [`dbae78a`](https://github.com/Dexus/pem/commit/dbae78a72b1d04c68b3dc253caf14b68bc5083a8)
#### [v1.6.0](https://github.com/Dexus/pem/compare/v1.5.0...v1.6.0)
> 24 February 2015
- Add function to create dhparam keys [`#47`](https://github.com/Dexus/pem/pull/47)
- Updated tests [`5034d3e`](https://github.com/Dexus/pem/commit/5034d3ea1853604be4f666818500072fe43e63b0)
- Bumped version to v1.6.0 [`11219a9`](https://github.com/Dexus/pem/commit/11219a95cb79279f3f0bee33b56700e196041984)
- Fix test output/debug [`2dc06e2`](https://github.com/Dexus/pem/commit/2dc06e294a4d0d297b40a74b2b10631490cda0b6)
## [v1.11.0](https://github.com/Dexus/pem/compare/v1.9.8...v1.11.0) - 2017-09-13
#### [v1.5.0](https://github.com/Dexus/pem/compare/v1.4.6...v1.5.0)
> 19 January 2015
- add node which to check if the user has openssl on their system [`b44c619`](https://github.com/Dexus/pem/commit/b44c619d515de7e3bbd9fdbba994827dadcb4b0f)
- Added a testcase for testOpenSSLPath [`2cd2135`](https://github.com/Dexus/pem/commit/2cd2135f6b5f9c8414147ebe991ef1345fd5e6cf)
- Changed e-mail address in travis conf [`a308e55`](https://github.com/Dexus/pem/commit/a308e5532580f1628b0263efc6c211b86ee816ec)
### Fixed
* Fix #132 new version 1.10.1 [`#132`](https://github.com/Dexus/pem/issues/132)
#### [v1.4.6](https://github.com/Dexus/pem/compare/v1.4.5...v1.4.6)
> 18 January 2015
- Just added indentations [`#39`](https://github.com/Dexus/pem/pull/39)
- Fix to catch errors on spawn [`#38`](https://github.com/Dexus/pem/pull/38)
- Update pem.js [`#36`](https://github.com/Dexus/pem/pull/36)
- Applied unified code style [`e756da6`](https://github.com/Dexus/pem/commit/e756da6cb131c5600e1798be4cf93d8cbd67e6ae)
- added the code necessary to catch the error event from the spawn and send it to the callback [`b2941ab`](https://github.com/Dexus/pem/commit/b2941ab0aa19058ae4d708de01e7389d1c4ee6f8)
- Bumped version to v1.4.6 [`fe10527`](https://github.com/Dexus/pem/commit/fe105279662b23074793225a09f7bdb0fcb7ed61)
#### [v1.4.5](https://github.com/Dexus/pem/compare/v1.4.4...v1.4.5)
> 5 January 2015
- Bugfix pathOpenSSL typo; Add environmental option for openssl binary [`#33`](https://github.com/Dexus/pem/pull/33)
- Add missing serviceCertificate & serial option to the doc [`#32`](https://github.com/Dexus/pem/pull/32)
- bumped version to 1.4.5 [`524142d`](https://github.com/Dexus/pem/commit/524142d052535a022dce9f6215ce95b663e528f4)
## [v1.9.8](https://github.com/Dexus/pem/compare/v1.9.6...v1.9.8) - 2017-09-03
#### [v1.4.4](https://github.com/Dexus/pem/compare/v1.4.3...v1.4.4)
> 13 December 2014
- Update README.md [`#28`](https://github.com/Dexus/pem/pull/28)
- Add hash option for createCertificate(), default to sha256 [`#29`](https://github.com/Dexus/pem/pull/29)
- Bumped version to v1.4.4 [`1acbb32`](https://github.com/Dexus/pem/commit/1acbb3265ef078e8f3f2419814ed8ed76b5850fd)
### Merged
* Allow array values for CSRs [`#124`](https://github.com/Dexus/pem/pull/124)
#### [v1.4.3](https://github.com/Dexus/pem/compare/v1.4.2...v1.4.3)
> 9 December 2014
- Update README.md to correct copy/paste error [`#26`](https://github.com/Dexus/pem/pull/26)
- Add OpenSSL path config() [`#25`](https://github.com/Dexus/pem/pull/25)
- bumped version to v1.4.3 [`0ed6ecd`](https://github.com/Dexus/pem/commit/0ed6ecd1f79d991b2d018060c71865a8cedfcddc)
### Fixed
* chore(package): update semantic-release to version 7.0.2 [`#128`](https://github.com/Dexus/pem/issues/128)
#### [v1.4.2](https://github.com/Dexus/pem/compare/v1.4.1...v1.4.2)
> 28 November 2014
- getModulus() will now accept Buffers [`#24`](https://github.com/Dexus/pem/pull/24)
- Bumped version to v1.4.2 [`d21f40d`](https://github.com/Dexus/pem/commit/d21f40d163b261f4e904be093b544992bdca042d)
#### [v1.4.1](https://github.com/Dexus/pem/compare/v1.4.0...v1.4.1)
> 9 May 2014
- fix wildcard certificate creation [`#19`](https://github.com/Dexus/pem/pull/19)
- fix wildcard certificate [`5a5a828`](https://github.com/Dexus/pem/commit/5a5a828d365e5d346a46925b9b77845344186d90)
- bumped version to v1.4.1 [`97c0ecc`](https://github.com/Dexus/pem/commit/97c0ecca0d3b0a13b5c4c90a7e1ba6dc788e16ce)
## v1.9.6 - 2017-04-27
#### [v1.4.0](https://github.com/Dexus/pem/compare/v1.3.0...v1.4.0)
> 27 March 2014
- Change to BEGIN(\sNEW)? CERTIFICATE REQUEST [`#15`](https://github.com/Dexus/pem/pull/15)
- bumped version to 1.4.0 [`aba2be9`](https://github.com/Dexus/pem/commit/aba2be9cfdc080f637a555fb69f3beef1f9cd686)
- fixed errors [`1aee604`](https://github.com/Dexus/pem/commit/1aee604fcad0a7e122a81b4facaf2208b90eaafa)
- Change default settings for future requirements + EV Fix [`0e017e0`](https://github.com/Dexus/pem/commit/0e017e011e0b6542b776aca203add02ee7192246)
### Merged
* Update README [`#119`](https://github.com/Dexus/pem/pull/119)
* Revert "Regex support for new format with spaces" [`#113`](https://github.com/Dexus/pem/pull/113)
* Regex support for new format with spaces [`#111`](https://github.com/Dexus/pem/pull/111)
### [v1.3.0](https://github.com/Dexus/pem/compare/v0.2.2...v1.3.0)
> 18 March 2014
- Change SAN CSR process. [`#13`](https://github.com/Dexus/pem/pull/13)
- add SAN integration for readCertificateInfo [`#12`](https://github.com/Dexus/pem/pull/12)
- Easier to set temp dir, and all temp files are unlinked after use [`#11`](https://github.com/Dexus/pem/pull/11)
- altNames option to set subjectAltName [`#10`](https://github.com/Dexus/pem/pull/10)
- jshinted code [`7f8f307`](https://github.com/Dexus/pem/commit/7f8f30794e4e7943154fe30a58576bbfcfc1849d)
- Update SAN integration for readCertificateInfo [`5b63a2a`](https://github.com/Dexus/pem/commit/5b63a2a405c136f7e644c67444cba89186e66cf5)
- bumped version to 1.3.0 [`0066056`](https://github.com/Dexus/pem/commit/0066056c5a7d3a0c7306f8c6593705653f317ac3)
#### [v0.2.2](https://github.com/Dexus/pem/compare/v0.2.1...v0.2.2)
> 17 June 2013
- Add certificate validity information to readCertificateInfo callback [`#9`](https://github.com/Dexus/pem/pull/9)
- fix unit test [`8aff869`](https://github.com/Dexus/pem/commit/8aff869b3e7036c16c9c6da32d0b3ef2b8df1cc4)
- validity as timestamps [`338a94f`](https://github.com/Dexus/pem/commit/338a94fe67b073efe3b25907d469da7eaa618486)
- update [`5711e40`](https://github.com/Dexus/pem/commit/5711e40ed7c763421cabca5cb37bc4af2636c3d7)
#### [v0.2.1](https://github.com/Dexus/pem/compare/v0.2.0...v0.2.1)
> 9 June 2013
- update README.md, and improve unit test for getModulus function [`#8`](https://github.com/Dexus/pem/pull/8)
- add getModulus function [`#7`](https://github.com/Dexus/pem/pull/7)
- improve getModulus unit test [`e11c584`](https://github.com/Dexus/pem/commit/e11c58419d822ac200e7e56b45f38d3b3e8d6336)
- update doc for getModulus [`6a46c45`](https://github.com/Dexus/pem/commit/6a46c458d2e55106492f25183965af8279097662)
- bv [`15afc53`](https://github.com/Dexus/pem/commit/15afc533e160b9886c0c60ab62c63cbe40d71630)
#### [v0.2.0](https://github.com/Dexus/pem/compare/v0.1.0...v0.2.0)
> 17 April 2013
- Add getFingerprint, fix intermittent failure [`#1`](https://github.com/Dexus/pem/pull/1)
- Add a getFingerprint method, docs, and unit test. [`0a720c7`](https://github.com/Dexus/pem/commit/0a720c763527c323bf0d071e145e09f22859025d)
- update [`52fdc25`](https://github.com/Dexus/pem/commit/52fdc2511fc2adce897aaa86f1bf0e04ee7c723e)
- travis file [`6595e7d`](https://github.com/Dexus/pem/commit/6595e7d04b151caecab363590e274ac6d55e5208)
#### v0.1.0
> 25 June 2012
- version 0.1.0 [`44c08bc`](https://github.com/Dexus/pem/commit/44c08bc5c2cf142f42d06fa72bbf16df38190d33)
- jshinted code [`bacb2ec`](https://github.com/Dexus/pem/commit/bacb2ec80f2a3bf364dd3c163480ba135b5bdaa7)
- added travis support [`6124955`](https://github.com/Dexus/pem/commit/61249559955aaccf77d6c4390cdc1f076c3a96b5)

@@ -1087,2 +1087,6 @@ 'use strict'

certValues.san.ip = tmp || ''
// Email Addresses
tmp = pregMatchAll('email:([^,\\r\\n].*?)[,\\r\\n\\s]', san)
certValues.san.email = tmp || ''
}

@@ -1089,0 +1093,0 @@

@@ -1,1 +0,73 @@

{"author":"Andris Reinman <andris@kreata.ee>","contributors":[{"name":"Josef Fröhle","email":"github@josef-froehle.de","url":"https://www.josef-froehle.de/"}],"license":"MIT","name":"pem","description":"Create private keys and certificates with node.js and io.js","version":"1.12.3","repository":{"type":"git","url":"https://github.com/Dexus/pem.git"},"main":"lib/pem","scripts":{"aftersuccess":"bin/aftersuccess.sh","documentation":"npm run docco --silent && npm run jsdoc --silent","docco":"docco -l parallel -o docs/docco lib/helper.js lib/openssl.js lib/pem.js","jsdoc":"jsdoc -c jsdoc.json","changelog":"auto-changelog --output HISTORY.md","coverage":"cross-env NODE_ENV=development nyc ./node_modules/.bin/_mocha --opts mocha.opts $(find . -type f -name '*.spec.js' ! -path './nyc_output/*' ! -path './coverage/*' ! -path './node_modules/*')","semantic-release":"semantic-release pre && npm publish && semantic-release post","lint":"eslint --fix --config=./.eslintrc.js *.js *.md *.json lib/*.js test/*.js test/*.spec.js","test":"npm run lint --silent && npm run coverage --silent"},"nyc":{"reporter":["html","text"],"exclude":["**/*.spec.js","test/pem.helper.js"]},"dependencies":{"safe-buffer":"^5.1.1","md5":"^2.2.1","os-tmpdir":"^1.0.1","which":"^1.2.4"},"devDependencies":{"auto-changelog":"^0.3.5","chai":"^4.1.2","cross-env":"^5.0.5","dirty-chai":"^2.0.1","docco":"^0.7.0","@deineagenturug/docdash":"^0.4.1","eslint":"^4.8.0","eslint-config-standard":"^10.2.1","eslint-plugin-import":"^2.7.0","eslint-plugin-json":"^1.2.0","eslint-plugin-markdown":"^1.0.0-beta.7","eslint-plugin-node":"^5.2.0","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^3.0.1","jsdoc":"^3.5.5","mocha":"^4.0.1","nyc":"^11.2.1","semantic-release":"^8.1.1","travis-deploy-once":"^3.0.0"},"engines":{"node":">=4.0.0"},"release":{"debug":false}}
{
"author": "Andris Reinman <andris@kreata.ee>",
"contributors": [
{
"name": "Josef Fröhle",
"email": "github@josef-froehle.de",
"url": "https://www.josef-froehle.de/"
}
],
"license": "MIT",
"name": "pem",
"description": "Create private keys and certificates with node.js and io.js",
"version": "1.12.4",
"repository": {
"type": "git",
"url": "https://github.com/Dexus/pem.git"
},
"main": "lib/pem",
"scripts": {
"aftersuccess": "bin/aftersuccess.sh",
"documentation": "npm run docco --silent && npm run jsdoc --silent",
"docco": "docco -l parallel -o docs/docco lib/helper.js lib/openssl.js lib/pem.js",
"jsdoc": "jsdoc -c jsdoc.json",
"changelog": "auto-changelog --output HISTORY.md",
"coverage": "cross-env NODE_ENV=development nyc ./node_modules/.bin/_mocha --opts mocha.opts $(find . -type f -name '*.spec.js' ! -path './nyc_output/*' ! -path './coverage/*' ! -path './node_modules/*')",
"semantic-release": "semantic-release",
"lint": "eslint --fix --config=./.eslintrc.js *.js *.md *.json lib/*.js test/*.js test/*.spec.js",
"test": "npm run lint --silent && npm run coverage --silent"
},
"nyc": {
"reporter": [
"html",
"text"
],
"exclude": [
"**/*.spec.js",
"test/pem.helper.js"
]
},
"dependencies": {
"safe-buffer": "^5.1.1",
"md5": "^2.2.1",
"os-tmpdir": "^1.0.1",
"which": "^1.2.4"
},
"devDependencies": {
"auto-changelog": "^1.0.0",
"chai": "^4.1.2",
"cross-env": "^5.1.4",
"dirty-chai": "^2.0.1",
"docco": "^0.8.0",
"@deineagenturug/docdash": "^0.4.1",
"eslint": "^4.8.0",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "2.10.0",
"eslint-plugin-json": "^1.2.0",
"eslint-plugin-markdown": "^1.0.0-beta.7",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"jsdoc": "^3.5.5",
"mocha": "^5.0.5",
"nyc": "^11.2.1",
"semantic-release": "^15.1.5",
"travis-deploy-once": "^4.0.0"
},
"engines": {
"node": ">=4.0.0"
},
"release": {
"debug": false
}
}

2

README.md

@@ -169,3 +169,3 @@ pem

* **certificate** is a PEM encoded CSR or a certificate
* **callback** is a callback function with an error object and `{serial, country, state, locality, organization, organizationUnit, commonName, emailAddress, validity{start, end}, san{dns, ip}?, issuer{country, state, locality, organization, organizationUnit}, signatureAlgorithm, publicKeyAlgorithm, publicKeySize }`
* **callback** is a callback function with an error object and `{serial, country, state, locality, organization, organizationUnit, commonName, emailAddress, validity{start, end}, san{dns, ip, email}?, issuer{country, state, locality, organization, organizationUnit}, signatureAlgorithm, publicKeyAlgorithm, publicKeySize }`

@@ -172,0 +172,0 @@ ? *san* is only present if the CSR or certificate has SAN entries.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc