Skip to content

Releases: silinternational/serverless-mfa-api-go

increase log retention to 60 days

30 Aug 04:18
6300324
Compare
Choose a tag to compare

Changed

  • Increased log retention to 60 days

use GitHub Actions

01 Mar 17:34
4993ce1
Compare
Choose a tag to compare

Changed

  • Use GitHub Actions instead of Codeship for test and deploy

change to the Amazon Linux 2 Lambda runtime

21 Nov 22:28
ce9367f
Compare
Choose a tag to compare
Merge pull request #70 from silinternational/develop

Release 2.3.0 - change to the Amazon Linux 2 Lambda runtime

Return hash of the key handle from login endpoint

17 Oct 18:02
d94260f
Compare
Choose a tag to compare

Added

  • Return the hash of the key handle, which is what the registration endpoint returns. This allows the caller to look up the credential by the same token that it had at registration time.

Remove CORS

28 Aug 20:05
a5d9b36
Compare
Choose a tag to compare

Changed (non-breaking)

  • Remove the CORS middleware since it is not required for this application.

Cleanup IAM policy, update webauthn Go library

21 Aug 20:22
0bbfb3c
Compare
Choose a tag to compare

Changed (non-breaking)

  • Replace deprecated duo-labs/webauthn with go-webauthn/webauthn.

Fixed

  • Whitespace formatting using go fmt and gofumpt.
  • Remove the duplicate "..._global" resource from the Lambda Role's policy
    • The api_key_table and webauthn_table values now include the full table name, so this transitional additional resource name (where we manually appended the "_global" suffix) is no longer needed.

Improve DNS failover using intermediate CNAME records

08 Aug 18:33
7b8e066
Compare
Choose a tag to compare

Added

  • Add intermediate CNAMEs for easier failover
  • Output domain names used by DNS CNAME failover records

Fixed

  • Wait for certificate to be issued before trying to use it

Note: If desired, you could use terraform state mv to reduce the amount of deletion-and-recreation that some included terraform module-renames and resource-renames will cause (if that matters to you):

terraform state mv module.dns_for_failover.module.fail_over_cname module.dns_for_failover.module.fail_over_cnames
terraform state mv module.dns_for_failover.module.custom_domains module.dns_for_failover.module.api_gateway_domains_and_certs

Use GlobalTables, add DNS for failover

08 Aug 15:48
1be7aa8
Compare
Choose a tag to compare

Changed (BREAKING)

  • Change Cloudflare zone/domain name variable
  • Switch to using global table for api-keys
  • Switch to using global table for u2f/webauthn records

Changed (non-breaking)

  • Restrict IAM permissions by AWS account, not region

Added

  • Add CNAME DNS records for failover

Fixed

  • Fix api_name values to match code in codeship/deploy.sh
  • Use calculate API stage as serverless_stage as well