Socket
Socket
Sign inDemoInstall

tls-pinset

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    tls-pinset

Generate pinset for remote server


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

node-pinset

Generate pinset for a remote server.

Installation

npm install tls-pinset -g

Usage

tls-pinset 1.1.1.1

generating pinset for 1.1.1.1:443 with openssl
od9obscoXQND56/DikypZrJkXGvbQV5Y61QGfcNitHo=

Arguments

  • 1st: [required] host
  • 2nd: [optional] port
  • 3rd: [optional] path to openssl

Using programmatically

const { generatePinset } = require('tls-pinset')

generatePinset('1.1.1.1', 853).then(console.log)
// od9obscoXQND56/DikypZrJkXGvbQV5Y61QGfcNitHo=

Requirements

Make sure openssl is installed and added to PATH.

Keywords

FAQs

Last updated on 14 Jan 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc