Comparing version 0.0.2 to 0.0.3
{ | ||
"name" : "rsa", | ||
"version" : "v0.0.2", | ||
"version" : "v0.0.3", | ||
"description" : "OpenSSL's RSA encrypt/decrypt routines", | ||
@@ -5,0 +5,0 @@ "keywords" : ["openssl", "crypto", "rsa"], |
@@ -10,3 +10,3 @@ # node-rsa | ||
See test/test.js. | ||
See test/test.js and test/getters.js. | ||
@@ -13,0 +13,0 @@ ## Node Versions |
@@ -12,4 +12,5 @@ var | ||
var rsaPrivate = fs.readFileSync("rsa.private", 'ascii'); | ||
var passphrase = "foobar"; | ||
var params = { publicKey: rsaPublic, privateKey: rsaPrivate, passphrase: "foobar" }; | ||
var params = { publicKey: rsaPublic, privateKey: rsaPrivate, passphrase: passphrase }; | ||
var keypair = rsa.createRsaKeypair(params); | ||
@@ -37,2 +38,5 @@ | ||
// Check getters. | ||
require("./getters").test(rsaPublic, rsaPrivate, passphrase); | ||
console.log("done"); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
24740
13
130
1