New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

openssl-cert-tools

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openssl-cert-tools - npm Package Compare versions

Comparing version 1.0.1 to 1.1.1

.npmignore

35

CHANGELOG.md

@@ -0,1 +1,36 @@

<a name="1.1.1"></a>
# 1.1.1 (2015-11-17)
* Update test case ([b37638b](https://github.com/frdmn/openssl-cert-tools/commit/b37638b))
* Version bump to 1.1.1 ([75b0df5](https://github.com/frdmn/openssl-cert-tools/commit/75b0df5))
<a name="1.1.0"></a>
# 1.1.0 (2015-11-17)
* Add docu for new getCertificate() ([29db653](https://github.com/frdmn/openssl-cert-tools/commit/29db653))
* Add info for each error code ([3a2831b](https://github.com/frdmn/openssl-cert-tools/commit/3a2831b))
* Add new function to get remote certificate ([0eaad84](https://github.com/frdmn/openssl-cert-tools/commit/0eaad84))
* Catch stderr for possible errors during connect ([34d0f23](https://github.com/frdmn/openssl-cert-tools/commit/34d0f23))
* Get rid of version in README.md ([f9f5c3e](https://github.com/frdmn/openssl-cert-tools/commit/f9f5c3e))
* Implement timout in case of errors ([9df4fab](https://github.com/frdmn/openssl-cert-tools/commit/9df4fab))
* Improve error handling ([a804db1](https://github.com/frdmn/openssl-cert-tools/commit/a804db1))
* Increase timeout for running tests ([d8faa1d](https://github.com/frdmn/openssl-cert-tools/commit/d8faa1d))
* Test cases for new getCertificate function ([690fa95](https://github.com/frdmn/openssl-cert-tools/commit/690fa95))
* Trim error output ([7da7581](https://github.com/frdmn/openssl-cert-tools/commit/7da7581))
* Try catch while searching for certificate ([ad710b0](https://github.com/frdmn/openssl-cert-tools/commit/ad710b0))
* Update header ([dc0be07](https://github.com/frdmn/openssl-cert-tools/commit/dc0be07))
* Use openssl binary in $PATH ([6456445](https://github.com/frdmn/openssl-cert-tools/commit/6456445))
* Version bump to 1.1.0 ([524c157](https://github.com/frdmn/openssl-cert-tools/commit/524c157))
<a name="1.0.2"></a>
# 1.0.2 (2015-10-19)
* Add test cases ([b37666b](https://github.com/frdmn/openssl-cert-tools/commit/b37666b))
* Implement [Travis CI](https://travis-ci.org/frdmn/openssl-cert-tools)
<a name="1.0.1"></a>
# 1.0.1 (2015-10-19)
* Fix library paths ([5588b2e](https://github.com/frdmn/openssl-cert-tools/commit/5588b2e))
<a name="1.0.0"></a>

@@ -2,0 +37,0 @@ # 1.0.0 (2015-10-18)

5

lib/information.js

@@ -5,5 +5,4 @@ /* jshint node: true */

/*
* Copyright (c) 2015 by Jonas Friedmann. This source is
* subject to the Microsoft Permissive License. Please see
* the LICENSE file for more information. All Rights Reserved.
* Copyright (c) 2015 by Jonas Friedmann. Please see the
* LICENSE file for more information. All Rights Reserved.
*/

@@ -10,0 +9,0 @@

6

main.js

@@ -12,8 +12,8 @@ /* jshint node: true */

*
* Copyright (c) 2015 by Jonas Friedmann. This source is
* subject to the Microsoft Permissive License. Please see
* the LICENSE file for more information. All Rights Reserved.
* Copyright (c) 2015 by Jonas Friedmann. Please see the
* LICENSE file for more information. All Rights Reserved.
*/
[
require('./lib/certificate'),
require('./lib/information')

@@ -20,0 +20,0 @@ ].forEach(function (module) {

{
"name": "openssl-cert-tools",
"version": "1.0.1",
"version": "1.1.1",
"description": "Module to handle certificate related OpenSSL commands",
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "./node_modules/.bin/mocha --reporter spec --timeout 10000"
},

@@ -18,3 +18,7 @@ "repository": {

},
"homepage": "https://github.com/frdmn/openssl-cert-tools#readme"
"homepage": "https://github.com/frdmn/openssl-cert-tools#readme",
"dependencies": {
"chai": "^3.3.0",
"mocha": "^2.3.3"
}
}

@@ -1,3 +0,5 @@

# openssl-cert-tools (WIP)
# openssl-cert-tools
[![Current tag](http://img.shields.io/github/tag/frdmn/openssl-cert-tools.svg)](https://github.com/frdmn/openssl-cert-tools/tags) [![Repository issues](http://issuestats.com/github/frdmn/openssl-cert-tools/badge/issue)](http://issuestats.com/github/frdmn/openssl-cert-tools) [![Build Status](https://travis-ci.org/frdmn/openssl-cert-tools.svg?branch=master)](https://travis-ci.org/frdmn/openssl-cert-tools)
NodeJS module to handle TLS certificates using OpenSSL.

@@ -122,2 +124,46 @@

});
test.getCertificate('frd.mn', '443', function(err, crt){
if (!err) {
console.log(crt);
/* =>
* -----BEGIN CERTIFICATE-----
* MIIGGTCCBcCgAwIBAgIQMqz1AmaFXNCYqtqJu8OU2jAKBggqhkjOPQQDAjCBkjEL
* MAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UE
* BxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxODA2BgNVBAMT
* L0NPTU9ETyBFQ0MgRG9tYWluIFZhbGlkYXRpb24gU2VjdXJlIFNlcnZlciBDQSAy
* MB4XDTE1MTExMzAwMDAwMFoXDTE2MDUwNzIzNTk1OVowazEhMB8GA1UECxMYRG9t
* YWluIENvbnRyb2wgVmFsaWRhdGVkMSEwHwYDVQQLExhQb3NpdGl2ZVNTTCBNdWx0
* aS1Eb21haW4xIzAhBgNVBAMTGnNuaTMzMjgwLmNsb3VkZmxhcmVzc2wuY29tMFkw
* EwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE/VVyjyzoogarRb9sqmpqwwAf+Kh69I9E
* 5NeT/1s9nVjvEzYTnrEN3xqNrzbA/y61AbJ6Yy714OCq1ViAmBuCPaOCBBwwggQY
* MB8GA1UdIwQYMBaAFEAJYWfwvINxT94SCCxv1NQrdj2WMB0GA1UdDgQWBBT1uV7H
* fwV8Ca9MxjAiSHOEyE9EVDAOBgNVHQ8BAf8EBAMCB4AwDAYDVR0TAQH/BAIwADAd
* BgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwTwYDVR0gBEgwRjA6BgsrBgEE
* AbIxAQICBzArMCkGCCsGA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YWxjb2FjaC5jb22CDG1v
* emFpay5jby5pZIIJbW96YWlrLmlkghRwZXJzb25hbGl6YXJibG9nLmNvbYISc3dh
* Z2RvZ3dhbGtpbmcuY29tghd0aGVnb2xkZW5hbmRjb21wYW55LmNvbTAKBggqhkjO
* PQQDAgNHADBEAiBTlTYFkE9plIJhPMbOC95KAnpOw2UrOLSzmL/laTanoQIgCSLp
* 9AhIYFMZOdUkCVLEWFgCuDpd1p4MlvszlJBdcgQ=
* -----END CERTIFICATE-----
*/
}
});
```

@@ -137,6 +183,2 @@

## Version
1.0.0
## Credits

@@ -143,0 +185,0 @@

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