async-openssl

    1.0.3 • Public • Published

    async-openssl

    Build Status npm version

    async-openssl is an asyncronous wrapper for OpenSSL based on promises.

    Installation

    $ npm install async-openssl

    Importing and Usage

    const openssl = require('async-openssl');
     
    // run any openssl command
    try {
        await openssl('genpkey -algorithm RSA -aes-256-cbc -out key.pem -pass file:/run/secrets/KEY_PASS -pkeyopt rsa_keygen_bits:2048');
    } catch (err) {
        // handle error
        // ...
    }
     

    Install

    npm i async-openssl

    DownloadsWeekly Downloads

    26

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    11.8 kB

    Total Files

    6

    Last publish

    Collaborators

    • matteo.arella