@ind.ie/acme-tls
Advanced tools
Comparing version 2.1.2 to 2.2.0
@@ -12,2 +12,4 @@ 'use strict'; | ||
var crossPlatformHostname = require('@small-tech/cross-platform-hostname') | ||
module.exports.attachCertInfo = function (results) { | ||
@@ -122,3 +124,3 @@ // XXX Note: Parsing the certificate info comes at a great cost (~500kb) | ||
// you're not clever.” | ||
if (email === os.hostname()) { | ||
if (email === crossPlatformHostname) { | ||
return Promise.resolve('') | ||
@@ -125,0 +127,0 @@ } |
{ | ||
"name": "@ind.ie/acme-tls", | ||
"version": "2.1.2", | ||
"version": "2.2.0", | ||
"description": "Provision Let’s Encrypt TLS certificates. Forked from Greenlock to remove email address requirement, telemetry, etc.", | ||
@@ -44,7 +44,8 @@ "main": "index.js", | ||
"@ind.ie/acme-v2": "^2.1.0", | ||
"@ind.ie/rsa-compat": "^1.0.0", | ||
"@small-tech/cross-platform-hostname": "^1.0.0", | ||
"cert-info": "^1.5.1", | ||
"le-challenge-fs": "^2.0.2", | ||
"le-sni-auto": "^2.1.3", | ||
"le-store-certbot": "^2.1.7", | ||
"@ind.ie/rsa-compat": "^1.0.0" | ||
"le-store-certbot": "^2.1.7" | ||
}, | ||
@@ -51,0 +52,0 @@ "engines": { |
@@ -50,2 +50,4 @@ # ACME TLS | ||
// Obtain TLS certificates for the current host. | ||
// Note: if you want this to work on Windows 10 also, use | ||
// ===== https://source.ind.ie/site.js/lib/cross-platform-hostname | ||
const hostname = os.hostname() | ||
@@ -52,0 +54,0 @@ |
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
104463
1173
105
8