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

openssl-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openssl-wrapper - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

.jshintrc

7

lib/openssl-wrapper.js
'use strict';
/*!

@@ -76,3 +77,3 @@ * OpenSSL-wrapper.js

openssl.on('exit', function(code) {
openssl.on('close', function(code) {
out = Buffer.concat(outResult, outLength);

@@ -86,5 +87,3 @@ err = Buffer.concat(errResult, errLength).toString('utf8');

if(typeof callback === 'function') {
setTimeout(function() {
callback.apply(null, [err, out]);
}, 50);
callback.apply(null, [err, out]);
}

@@ -91,0 +90,0 @@

{
"name": "openssl-wrapper",
"version": "0.2.0",
"version": "0.2.1",
"description": "OpenSSL wrapper",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -28,3 +28,3 @@ [node-openssl-wrapper](http://mgcrea.github.com/node-openssl-wrapper) [![Build Status](https://secure.travis-ci.org/mgcrea/node-openssl-wrapper.png?branch=master)](http://travis-ci.org/#!/mgcrea/node-openssl-wrapper)

.then(function decryptEnvelopedData() {
return opensslExec('cms.decrypt', envelopedData, {inform: 'DER', recip: __dirname + '/myCertificate.crt', inkey: __dirname + '/myCertificate.key'})
return openssl.qExec('cms.decrypt', envelopedData, {inform: 'DER', recip: __dirname + '/myCertificate.crt', inkey: __dirname + '/myCertificate.key'})
})

@@ -64,3 +64,3 @@ .then(function debugOutput(data) {

Copyright (c) 2012 Olivier Louvignes
Copyright (c) 2013 Olivier Louvignes

@@ -67,0 +67,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

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