Skip to content

Releases: small-tech/auto-encrypt-localhost

Once more, with documentation this time!

24 Mar 14:56
7.0.7
Compare
Choose a tag to compare

Changed

  • Updated documentation to reflect how the module actually works now.

The hybrid approach.

24 Mar 14:27
7.0.6
Compare
Choose a tag to compare

Changed

Implements a hybrid approach to mkcert installation and certificate authority and certificate creation that combines the best parts of the methods used in 6.x and 7.x.

Specifically:

  • mkcert is now installed at post-install (which removes the requirement for the graphical sudo prompt, which was using pkexec, which behaves differently to sudo and was creating the certificate material files with the wrong permissions on Linux).
  • root certificate authority and TLS certificates are created as necessary at runtime (while this requires the person to enter their sudo password, the prompt is shown in the command-line as expected unlike the npm bug that was causing the prompt to be hidden when run in a lifecycle script).

Also, reduced unpacked size of the package from 83.2KB to 48.7KB by linking to the AGPL license instead of including the full text.

Graphical sudo install prompt

17 Mar 15:46
7.0.4
Compare
Choose a tag to compare

Fixed

(Combined changelog between 7.0.3 and 7.0.4 tags. The former was missing the screenshot of the graphical sudo interface.)

No more bundled binaries

06 Mar 16:53
7.0.0
Compare
Choose a tag to compare

This version is optimised for use on development machines via npm install. It carries out the mkcert binary installation in a postinstall script. In version 6.x and earlier, all binaries for all platforms were bundled as the library also supported use from a binary install (see Site.js). The 6.x branch will still be updated with new mkcert versions but the 7.x and later versions will be used in Place.

Changed

  • Uses ECMAScript Modules (ESM; es6 modules)
  • Breaking change: mkcert binary is now downloaded during installation and the root certificate authority and TLS certificates are created at this time also.
  • Breaking change: The settings path is no longer configurable and is shared by all installations of this package. This means whenever you install this package, it will update to the latest version of mkcert and recreate the root certificate authorities and local certificates and these will be used by all instances of Auto Encrypt Localhost on your dev machine (and this is most likely the behaviour you want).
  • Breaking change: Removed command-line interface as it is no longer nececessary. Your local certificate authority and TLS certificates are ready to be used once your npm install is complete.

6.1.0

04 Nov 17:47
6.1.0
e626eec
Compare
Choose a tag to compare

Upgrade mkcert to version 1.4.2

  • Includes new arm64 binary.