Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/codeChecks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
max-parallel: 2
matrix:
go-version: ["1.27.0"]
go-version: ["1.27.1"]
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand All @@ -47,7 +47,7 @@ jobs:
strategy:
max-parallel: 2
matrix:
go-version: ["1.27.0"]
go-version: ["1.27.1"]

steps:
- name: Checkout
Expand All @@ -74,7 +74,7 @@ jobs:
strategy:
max-parallel: 2
matrix:
go-version: ["1.27.0"]
go-version: ["1.27.1"]

steps:
- name: Checkout
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: "1.27.0"
go-version: "1.27.1"

- name: generate test coverage
run: go test ./... -coverprofile=./cover.out -covermode=atomic -coverpkg=./...
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
env:
CGO_ENABLED: 0
DOCKER_CLI_EXPERIMENTAL: "enabled"
GO_VERSION: "1.27.0"
GO_VERSION: "1.27.1"

jobs:
code-checks:
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
<!-- markdownlint-disable MD024 -->

# https-wrench - changelog

## Unreleased

### CI

switch to Go 1.27.1

### Tests

Certinfo: GetRemoteCerts tests apply SetTLSInsecure before SetTLSEndpoint so endpoint certificate retrieval uses the intended TLS verification mode.

## 0.15.1 (2026-09-03)

### Feat
Expand Down
61 changes: 0 additions & 61 deletions Taskfile.yml

This file was deleted.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/xenos76/https-wrench

go 1.27.0
go 1.27.1

require (
github.com/MicahParks/jwkset v0.11.3
Expand Down
12 changes: 12 additions & 0 deletions internal/certinfo/certinfo_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@ import (
"github.com/xenos76/https-wrench/internal/style"
)

// defaultCurvePreferences lists Go 1.27 TLS hybrids plus classical fallbacks.
// Explicit CurvePreferences keeps PQ on when GODEBUG=tlsmlkem=0 / tlssecpmlkem=0.
var defaultCurvePreferences = []tls.CurveID{
tls.X25519MLKEM768,
tls.SecP256r1MLKEM768,
tls.SecP384r1MLKEM1024,
tls.X25519,
tls.CurveP256,
tls.CurveP384,
}

// PrintData prints all collected certificate and key information (local files and remote endpoints)
// to the provided writer in a human-readable format.
//
Expand Down Expand Up @@ -202,6 +213,7 @@ func (c *Config) GetRemoteCerts(ctx context.Context) error {
tlsConfig := &tls.Config{
RootCAs: c.CACertsPool,
InsecureSkipVerify: c.TLSInsecure,
CurvePreferences: slices.Clone(defaultCurvePreferences),
}

verifyName := c.TLSServerName
Expand Down
Loading
Loading