Commit 66c764f6 authored by Aral Balkan's avatar Aral Balkan
Browse files

Upgrade Auto Encrypt Localhost to 7.0.5

This fixes installation on macOS (which was failing because of differences in how the graphical sudo prompt affects file permissions between Linux and macOS) and re-implements Windows support (tested/supported only on Windows 10, under Windows Terminal, with PowerShell).
parent ca238585
......@@ -4,9 +4,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.0.2] - 2021-03-20
### Changed
- Update Auto Encrypt Localhost to version 7.0.5.
This fixes installation on macOS (which was failing because of differences in how the graphical sudo prompt affects file permissions between Linux and macOS) and re-implements Windows support (tested/supported only on Windows 10, under Windows Terminal, with PowerShell).
## [3.0.1] - 2021-03-17
## Fixed
### Fixed
- Hang during npm install due to npm bug in Auto Encrypt Localhost (AEL). Upgraded AEL to version 7.0.4 which includes a graphical sudo prompt workaround.
......@@ -14,7 +22,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
__Breaking change:__ ESM version. Includes Auto Encrypt 3.0.0 and Auto Encrypt Localhost 7.0.2.
## Changed
### Changed
- Uses ECMAScript Modules (ESM; es6 modules).
- Upgraded Auto Encrypt to version 3.0.0 (ESM + includes the latest Let’s Encrypt staging certificate authority root certificate for testing).
......@@ -24,7 +32,7 @@ __Breaking change:__ ESM version. Includes Auto Encrypt 3.0.0 and Auto Encrypt L
## [2.1.1] - 2021-02-16
## Changed
### Changed
- Upgrade Auto Encrypt to version 2.0.6. Fixes assignment to constant that would result in a crash when a Retry-After header was received from Let’s Encrypt.
......
......@@ -28,7 +28,13 @@ If you’re evaluating this for a “startup” or an enterprise, let us save yo
## Platform support
Works on Linux, macOS, and Windows (WSL is not supported for certificates at localhost unless you’re running your browser under WSL also).
Tested and supported on:
- Linux (tested with elementary OS Hera)
- macOS (tested on Big Sur)
- Windows 10 (tested in Windows Terminal with PowerShell)
(WSL is not supported for certificates at localhost unless you’re running your browser under WSL also).
## Install
......@@ -40,6 +46,8 @@ Note that during installation, this module’s Auto Encrypt Localhost dependency
![Screenshot of graphical sudo prompt “Authentication required: Authentication is needed to run /bin/bash as the super user”](https://small-tech.org/images/graphical-sudo-prompt.png)
On Windows, you will also be prompted separately to allow the installation of the certificates.
## Examples
### At localhost with automatically-provisioned development certificates via mkcert.
......
......@@ -10,7 +10,7 @@
"license": "AGPL-3.0-or-later",
"dependencies": {
"@small-tech/auto-encrypt": "^3.0.0",
"@small-tech/auto-encrypt-localhost": "^7.0.4",
"@small-tech/auto-encrypt-localhost": "^7.0.5",
"fs-extra": "^9.0.1"
},
"devDependencies": {
......@@ -104,9 +104,9 @@
}
},
"node_modules/@small-tech/auto-encrypt-localhost": {
"version": "7.0.4",
"resolved": "https://registry.npmjs.org/@small-tech/auto-encrypt-localhost/-/auto-encrypt-localhost-7.0.4.tgz",
"integrity": "sha512-GdP1LMpQChMwVbp6Jw4Kgrm5qiaVZufWe/sRgg4fVcmN3jl9vB5lsT45xZbbJDzw+Lm04cdcSGpESOZf2AVFaA==",
"version": "7.0.5",
"resolved": "https://registry.npmjs.org/@small-tech/auto-encrypt-localhost/-/auto-encrypt-localhost-7.0.5.tgz",
"integrity": "sha512-TvtVNGoa2mG+ETEeDX8v55LJQEsTELSKguac9pwKWCYCcxBSohne25XXzMtMK90UL5b2FC+DYl05lw2WsFpcKw==",
"hasInstallScript": true,
"dependencies": {
"encodeurl": "^1.0.2",
......@@ -2278,9 +2278,9 @@
}
},
"@small-tech/auto-encrypt-localhost": {
"version": "7.0.4",
"resolved": "https://registry.npmjs.org/@small-tech/auto-encrypt-localhost/-/auto-encrypt-localhost-7.0.4.tgz",
"integrity": "sha512-GdP1LMpQChMwVbp6Jw4Kgrm5qiaVZufWe/sRgg4fVcmN3jl9vB5lsT45xZbbJDzw+Lm04cdcSGpESOZf2AVFaA==",
"version": "7.0.5",
"resolved": "https://registry.npmjs.org/@small-tech/auto-encrypt-localhost/-/auto-encrypt-localhost-7.0.5.tgz",
"integrity": "sha512-TvtVNGoa2mG+ETEeDX8v55LJQEsTELSKguac9pwKWCYCcxBSohne25XXzMtMK90UL5b2FC+DYl05lw2WsFpcKw==",
"requires": {
"encodeurl": "^1.0.2",
"fs-extra": "^8.1.0",
......
{
"name": "@small-tech/https",
"version": "3.0.1",
"version": "3.0.2",
"description": "A drop-in standard Node.js HTTPS module replacement with both automatic development-time (localhost) certificates via Auto Encrypt Localhost and automatic production certificates via Auto Encrypt.",
"main": "index.js",
"files": [
......@@ -44,7 +44,7 @@
"license": "AGPL-3.0-or-later",
"dependencies": {
"@small-tech/auto-encrypt": "^3.0.0",
"@small-tech/auto-encrypt-localhost": "^7.0.4",
"@small-tech/auto-encrypt-localhost": "^7.0.5",
"fs-extra": "^9.0.1"
},
"devDependencies": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment