Comparing version 1.0.8 to 1.1.0
{ | ||
"name": "node-rsa", | ||
"version": "1.0.8", | ||
"version": "1.1.0", | ||
"description": "Node.js RSA library", | ||
@@ -5,0 +5,0 @@ "main": "src/NodeRSA.js", |
@@ -121,2 +121,3 @@ # Node-RSA | ||
* `'pkcs8'` — public key starts from `'-----BEGIN PUBLIC KEY-----'` header and private key starts from `'-----BEGIN PRIVATE KEY-----'` header | ||
* `'openssl'` — public key starts from `'ssh-rsa'` header and private key starts from `'-----BEGIN OPENSSH PRIVATE KEY-----'` header | ||
* `'components'` — use it for import/export key from/to raw components (see example below). For private key, importing data should contain all private key components, for public key: only public exponent (`e`) and modulus (`n`). All components (except `e`) should be Buffer, `e` could be Buffer or just normal Number. | ||
@@ -248,2 +249,5 @@ | ||
### 1.1.0 | ||
* Added OpenSSH key format support. | ||
### 1.0.2 | ||
@@ -250,0 +254,0 @@ * Importing keys from PEM now is less dependent on non-key data in files. |
@@ -0,0 +0,0 @@ var crypto = require('crypto'); |
@@ -0,0 +0,0 @@ var crypto = require('crypto'); |
@@ -34,2 +34,3 @@ var _ = require('../utils')._; | ||
components: require('./components'), | ||
openssh: require('./openssh'), | ||
@@ -36,0 +37,0 @@ isPrivateExport: function (format) { |
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
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
142443
20
3515
378