Skip to content

v2.4.0

Choose a tag to compare

@synfinatic synfinatic released this 10 Nov 05:58
· 5 commits to main since this release
v2.4.0
7a1e52b

Overview

Continued improvements for the ECS server to support SSL/TLS (and with a hack, even the AWS CLI/boto3 SDK) and it's own self-signed CA. Users interested using the ECS server are strongly encouraged to review the documentation here to understand what this does and how to utilize it with properly with various AWS SDK's (boto3, Go, Java, NodeJS, .Net) and on different platforms (Linux, macOS, Windows)

New Features

  • The release workflow now verifies the release tag matches PROJECT_VERSION in the Makefile
    before building or uploading any files
  • Add setup ecs ssl --self-signed to create a self-signed CA and leaf cert for the ECS Server,
    scoped so it can't sign for other hosts; prints the CA's SHA-256 fingerprint for verification
  • Add login --force to start a new SSO session, resetting its duration #1455
  • Add ecs docker write-secrets
  • The ECS Server and ecs load/list/profile/unload now log a warning if the
    server's TLS cert has fewer than 5 days of validity left
  • ecs server now logs a warning at startup if --bind-ip is not 127.0.0.1, ::1, or
    169.254.170.2 -- TLS won't verify and AWS SDKs may silently drop the Bearer Token elsewhere
  • The ECS Server now logs invalid bearer-token attempts, request remote addresses, and TLS/server
    errors, and logs successful credential fetches at Info instead of Debug

Bugs

  • Fix AuthWorkflow: device_code never getting a refresh token, so sessions ended after 8 hours #1508
  • Remove --no-config-check and --sts-refresh from the documented login flags #1451
  • Fix documentation / examples related to using the ECS server with Docker Compose #1462
  • Document ssh -o ExitOnForwardFailure=yes to prevent another user on the remote host from
    hijacking the forwarded ECS server port
  • Fix the ECS server container healthcheck failing when SSL/TLS is enabled, which left the
    container permanently unhealthy and blocked depends_on: service_healthy
  • Fix the Docker Compose example provisioning an SSL cert while connecting over http://,
    and show the bearer token being passed to the client container
  • ecs docker stop no longer requires reading from the config/SecureStore
  • A SecureStore SaveEcsSslKeyPair/SaveEcsCaKeyPair that fails private key validation no longer
    caches the cert in memory, avoiding a stale cert being read as if it were stored

Changes

  • Remove setup ecs ssl --certificate, --private-key, --print; only the internal
    self-signed CA (--self-signed) is supported now
  • setup ecs ssl --delete now only deletes the SSL leaf cert/key; add setup ecs ssl --delete-ca to delete the CA, which requires the leaf to already be deleted
  • Remove ecs server --disable-ssl, ecs docker start --disable-ssl, and ecs docker write-secrets --disable-ssl -- SSL is now controlled by whether a certificate is stored

What's Changed

New Contributors

Full Changelog: v2.3.2...v2.4.0