New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

rocatest

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rocatest

Test RSA keys for the ROCA vulnerability

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Javascript ROCA test

This module enables you to check RSA public keys for the ROCA vulnerability. For more information on the vulnerability, please check https://crocs.fi.muni.cz/public/papers/rsa_ccs17.

Technical details

The test is based on the original moduli test.

It can detect vulnerable keys in X509 certificates and RSA public keys loaded using the PKI.js library.

Sample usage

var rocatest = require("rocatest");
var cert = loadCert("mycert.pem");
if(rocatest.testCert(cert))
	console.log("Found vulnerable public key in certificate.");
else
	console.log("Certificate public key not vulnerable to ROCA vulnerability.");

Keywords

pki

FAQs

Package last updated on 28 Nov 2017

Did you know?

Socket

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