Skip to content

Commit 66c764f

Browse files
committed
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).
1 parent ca23858 commit 66c764f

4 files changed

Lines changed: 29 additions & 13 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,25 @@ All notable changes to this project will be documented in this file.
44

55
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).
66

7+
## [3.0.2] - 2021-03-20
8+
9+
### Changed
10+
11+
- Update Auto Encrypt Localhost to version 7.0.5.
12+
13+
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).
14+
715
## [3.0.1] - 2021-03-17
816

9-
## Fixed
17+
### Fixed
1018

1119
- 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.
1220

1321
## [3.0.0] - 2021-03-09
1422

1523
__Breaking change:__ ESM version. Includes Auto Encrypt 3.0.0 and Auto Encrypt Localhost 7.0.2.
1624

17-
## Changed
25+
### Changed
1826

1927
- Uses ECMAScript Modules (ESM; es6 modules).
2028
- 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
2432

2533
## [2.1.1] - 2021-02-16
2634

27-
## Changed
35+
### Changed
2836

2937
- 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.
3038

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,13 @@ If you’re evaluating this for a “startup” or an enterprise, let us save yo
2828

2929
## Platform support
3030

31-
Works on Linux, macOS, and Windows (WSL is not supported for certificates at localhost unless you’re running your browser under WSL also).
31+
Tested and supported on:
32+
33+
- Linux (tested with elementary OS Hera)
34+
- macOS (tested on Big Sur)
35+
- Windows 10 (tested in Windows Terminal with PowerShell)
36+
37+
(WSL is not supported for certificates at localhost unless you’re running your browser under WSL also).
3238

3339
## Install
3440

@@ -40,6 +46,8 @@ Note that during installation, this module’s Auto Encrypt Localhost dependency
4046

4147
![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)
4248

49+
On Windows, you will also be prompted separately to allow the installation of the certificates.
50+
4351
## Examples
4452

4553
### At localhost with automatically-provisioned development certificates via mkcert.

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@small-tech/https",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"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.",
55
"main": "index.js",
66
"files": [
@@ -44,7 +44,7 @@
4444
"license": "AGPL-3.0-or-later",
4545
"dependencies": {
4646
"@small-tech/auto-encrypt": "^3.0.0",
47-
"@small-tech/auto-encrypt-localhost": "^7.0.4",
47+
"@small-tech/auto-encrypt-localhost": "^7.0.5",
4848
"fs-extra": "^9.0.1"
4949
},
5050
"devDependencies": {

0 commit comments

Comments
 (0)