Skip to content
Open
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
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ updates:
- package-ecosystem: "gomod"
directory: "/"
target-branch: "develop"
cooldown:
default-days: 7
exclude:
- "github.com/essentialkaos/*"
- "golang.org/x/*"
schedule:
interval: "daily"
timezone: "Etc/UTC"
Expand All @@ -22,6 +27,8 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "develop"
cooldown:
default-days: 7
schedule:
interval: "daily"
timezone: "Etc/UTC"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cd-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
fetch-depth: 0

- name: Login to DockerHub
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:

- name: Build and push Docker images (Docker)
if: ${{ steps.build_check.outputs.build == 'true' }}
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
push: true
context: .
Expand All @@ -146,7 +146,7 @@ jobs:

- name: Build and push Docker images (GHCR)
if: ${{ steps.build_check.outputs.build == 'true' }}
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
push: true
context: .
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
uses: actions/checkout@v6

- name: Login to DockerHub
uses: docker/login-action@v3
uses: docker/login-action@v4
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
if: ${{ env.DOCKERHUB_USERNAME != '' }}
Expand All @@ -52,7 +52,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
uses: actions/checkout@v6

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<p align="center"><a href="#readme"><img src=".github/images/card.svg"/></a></p>

<p align="center">
<a href="https://kaos.sh/r/sslcli"><img src="https://kaos.sh/r/sslcli.svg" alt="GoReportCard" /></a>
<a href="https://kaos.sh/y/sslcli"><img src="https://kaos.sh/y/cb0c9951ae5c4ac89ea6192e9bfb170f.svg" alt="Codacy badge" /></a>
<a href="https://kaos.sh/w/sslcli/ci-push"><img src="https://kaos.sh/w/sslcli/ci-push.svg" alt="GitHub Actions CI Status" /></a>
<a href="https://kaos.sh/w/sslcli/codeql"><img src="https://kaos.sh/w/sslcli/codeql.svg" alt="GitHub Actions CodeQL Status" /></a>
<a href="https://kaos.sh/r/sslcli"><img src="https://goreportcard.com/badge/github.com/essentialkaos/sslcli" alt="GoReportCard" /></a>
<a href="https://kaos.sh/y/sslcli"><img src="https://app.codacy.com/project/badge/Grade/cb0c9951ae5c4ac89ea6192e9bfb170f" alt="Codacy badge" /></a>
<a href="https://kaos.sh/w/sslcli/ci-push"><img src="https://github.com/essentialkaos/sslcli/actions/workflows/ci-push.yml/badge.svg" alt="GitHub Actions CI Status" /></a>
<a href="https://kaos.sh/w/sslcli/codeql"><img src="https://github.com/essentialkaos/sslcli/actions/workflows/codeql.yml/badge.svg" alt="GitHub Actions CodeQL Status" /></a>
<a href="#license"><img src=".github/images/license.svg"/></a>
</p>

Expand All @@ -25,7 +25,7 @@

#### From source

To build the SSLScan Client from scratch, make sure you have a working Go [1.23+](https://github.com/essentialkaos/.github/blob/master/GO-VERSION-SUPPORT.md) workspace ([instructions](https://go.dev/doc/install)), then:
To build the SSLScan Client from scratch, make sure you have a working Go [1.25+](https://github.com/essentialkaos/.github/blob/master/GO-VERSION-SUPPORT.md) workspace ([instructions](https://go.dev/doc/install)), then:

```
go install github.com/essentialkaos/sslcli/v3@latest
Expand Down Expand Up @@ -90,8 +90,8 @@ sslcli --update=quiet

| Branch | Status |
|------------|--------|
| `master` | [![CI](https://kaos.sh/w/sslcli/ci-push.svg?branch=master)](https://kaos.sh/w/sslcli/ci-push?query=branch:master) |
| `develop` | [![CI](https://kaos.sh/w/sslcli/ci-push.svg?branch=develop)](https://kaos.sh/w/sslcli/ci-push?query=branch:develop) |
| `master` | [![CI](https://github.com/essentialkaos/sslcli/actions/workflows/ci-push.yml/badge.svg?branch=master)](https://kaos.sh/w/sslcli/ci-push?query=branch:master) |
| `develop` | [![CI](https://github.com/essentialkaos/sslcli/actions/workflows/ci-push.yml/badge.svg?branch=develop)](https://kaos.sh/w/sslcli/ci-push?query=branch:develop) |

### Contributing

Expand Down
40 changes: 20 additions & 20 deletions cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ import (
"strings"
"time"

"github.com/essentialkaos/ek/v13/fmtc"
"github.com/essentialkaos/ek/v13/fmtutil"
"github.com/essentialkaos/ek/v13/fsutil"
"github.com/essentialkaos/ek/v13/options"
"github.com/essentialkaos/ek/v13/pager"
"github.com/essentialkaos/ek/v13/req"
"github.com/essentialkaos/ek/v13/strutil"
"github.com/essentialkaos/ek/v13/support"
"github.com/essentialkaos/ek/v13/support/deps"
"github.com/essentialkaos/ek/v13/terminal"
"github.com/essentialkaos/ek/v13/terminal/tty"
"github.com/essentialkaos/ek/v13/timeutil"
"github.com/essentialkaos/ek/v13/usage"
"github.com/essentialkaos/ek/v13/usage/completion/bash"
"github.com/essentialkaos/ek/v13/usage/completion/fish"
"github.com/essentialkaos/ek/v13/usage/completion/zsh"
"github.com/essentialkaos/ek/v13/usage/man"
"github.com/essentialkaos/ek/v13/usage/update"
"github.com/essentialkaos/ek/v14/fmtc"
"github.com/essentialkaos/ek/v14/fmtutil"
"github.com/essentialkaos/ek/v14/fsutil"
"github.com/essentialkaos/ek/v14/options"
"github.com/essentialkaos/ek/v14/pager"
"github.com/essentialkaos/ek/v14/req"
"github.com/essentialkaos/ek/v14/strutil"
"github.com/essentialkaos/ek/v14/support"
"github.com/essentialkaos/ek/v14/support/deps"
"github.com/essentialkaos/ek/v14/terminal"
"github.com/essentialkaos/ek/v14/terminal/tty"
"github.com/essentialkaos/ek/v14/timeutil"
"github.com/essentialkaos/ek/v14/usage"
"github.com/essentialkaos/ek/v14/usage/completion/bash"
"github.com/essentialkaos/ek/v14/usage/completion/fish"
"github.com/essentialkaos/ek/v14/usage/completion/zsh"
"github.com/essentialkaos/ek/v14/usage/man"
"github.com/essentialkaos/ek/v14/usage/update"

sslscan "github.com/essentialkaos/sslscan/v14"
)
Expand All @@ -41,7 +41,7 @@ import (

const (
APP = "SSLScan Client"
VER = "3.1.0"
VER = "3.2.0"
DESC = "Command-line client for the SSL Labs API"
)

Expand Down Expand Up @@ -164,7 +164,7 @@ func Run(gitRev string, gomod []byte) {

if !errs.IsEmpty() {
terminal.Error("Options parsing errors:")
terminal.Error(errs.Error(" - "))
terminal.Error(errs.ErrorWithPrefix(" - "))
os.Exit(1)
}

Expand Down
16 changes: 8 additions & 8 deletions cli/details.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ package cli

import (
"fmt"
"net/http"
"slices"
"strings"
"time"

"github.com/essentialkaos/ek/v13/fmtc"
"github.com/essentialkaos/ek/v13/fmtutil"
"github.com/essentialkaos/ek/v13/httputil"
"github.com/essentialkaos/ek/v13/pluralize"
"github.com/essentialkaos/ek/v13/strutil"
"github.com/essentialkaos/ek/v13/terminal"
"github.com/essentialkaos/ek/v13/timeutil"
"github.com/essentialkaos/ek/v14/fmtc"
"github.com/essentialkaos/ek/v14/fmtutil"
"github.com/essentialkaos/ek/v14/pluralize"
"github.com/essentialkaos/ek/v14/strutil"
"github.com/essentialkaos/ek/v14/terminal"
"github.com/essentialkaos/ek/v14/timeutil"

sslscan "github.com/essentialkaos/sslscan/v14"
)
Expand Down Expand Up @@ -1194,7 +1194,7 @@ func printTestInfo(info *sslscan.EndpointInfo) {
fmtc.Printfn(
" %-24s {s}|{!} %d {s-}(%s){!}", "HTTP status code",
details.HTTPStatusCode,
httputil.GetDescByCode(details.HTTPStatusCode),
http.StatusText(details.HTTPStatusCode),
)
}
}
Expand Down
12 changes: 6 additions & 6 deletions cli/with_selfupdate.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ package cli
import (
"strings"

"github.com/essentialkaos/ek/v13/fmtc"
"github.com/essentialkaos/ek/v13/options"
"github.com/essentialkaos/ek/v13/selfupdate"
"github.com/essentialkaos/ek/v13/selfupdate/interactive"
storage "github.com/essentialkaos/ek/v13/selfupdate/storage/basic"
"github.com/essentialkaos/ek/v13/terminal"
"github.com/essentialkaos/ek/v14/fmtc"
"github.com/essentialkaos/ek/v14/options"
"github.com/essentialkaos/ek/v14/selfupdate"
"github.com/essentialkaos/ek/v14/selfupdate/interactive"
storage "github.com/essentialkaos/ek/v14/selfupdate/storage/basic"
"github.com/essentialkaos/ek/v14/terminal"
)

// ////////////////////////////////////////////////////////////////////////////////// //
Expand Down
8 changes: 6 additions & 2 deletions common/sslcli.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

Summary: Pretty awesome command-line client for public SSLLabs API
Name: sslcli
Version: 3.1.0
Version: 3.2.0
Release: 0%{?dist}
Group: Applications/System
License: Apache License, Version 2.0
Expand All @@ -22,7 +22,7 @@ Source100: checksum.sha512

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: golang >= 1.24
BuildRequires: golang >= 1.25

Provides: %{name} = %{version}-%{release}

Expand Down Expand Up @@ -103,6 +103,10 @@ fi
################################################################################

%changelog
* Wed May 06 2026 Anton Novojilov <andy@essentialkaos.com> - 3.2.0-0
- Migrated to ek.v14
- Dependencies update

* Tue Jan 20 2026 Anton Novojilov <andy@essentialkaos.com> - 3.1.0-0
- Dependencies update

Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module github.com/essentialkaos/sslcli/v3

go 1.24.11
go 1.25.10

require (
github.com/essentialkaos/ek/v13 v13.38.3
github.com/essentialkaos/sslscan/v14 v14.1.4
github.com/essentialkaos/ek/v14 v14.2.0
github.com/essentialkaos/sslscan/v14 v14.2.0
)

require (
github.com/essentialkaos/depsy v1.3.1 // indirect
golang.org/x/sys v0.40.0 // indirect
golang.org/x/sys v0.45.0 // indirect
)
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ github.com/essentialkaos/check v1.4.1 h1:SuxXzrbokPGTPWxGRnzy0hXvtb44mtVrdNxgPa1
github.com/essentialkaos/check v1.4.1/go.mod h1:xQOYwFvnxfVZyt5Qvjoa1SxcRqu5VyP77pgALr3iu+M=
github.com/essentialkaos/depsy v1.3.1 h1:00k9QcMsdPM4IzDaEFHsTHBD/zoM0oxtB5+dMUwbQa8=
github.com/essentialkaos/depsy v1.3.1/go.mod h1:B5+7Jhv2a2RacOAxIKU2OeJp9QfZjwIpEEPI5X7auWM=
github.com/essentialkaos/ek/v13 v13.38.3 h1:gQVNC6RdSBBYFhmtN9QOCZbshm+ib0PO2b9O0C7JMWc=
github.com/essentialkaos/ek/v13 v13.38.3/go.mod h1:qS5hOA6BaVYCS+nstm6l502Ehkb8i5PaN5nd40fbUg0=
github.com/essentialkaos/sslscan/v14 v14.1.4 h1:gtVs4OyiA7yyy7og3meVL9WTlo5C21d8WR2TkV3RGEo=
github.com/essentialkaos/sslscan/v14 v14.1.4/go.mod h1:MD8HhNo9gDH/ko9vHTyzapAOixEZraYyjmSgulPr/ac=
github.com/essentialkaos/ek/v14 v14.2.0 h1:KriJq12lP5YkC21cLFw/YMR+/CBQYEt49wd0tKKCBkE=
github.com/essentialkaos/ek/v14 v14.2.0/go.mod h1:+hQ3unv4RW17r3BIiBNu/ZSJwziUndvXBQBkhym/ARg=
github.com/essentialkaos/sslscan/v14 v14.2.0 h1:65OT+0kotjZG2NAN27XMrqV89Y8IRe1g3NZvFyzGtHk=
github.com/essentialkaos/sslscan/v14 v14.2.0/go.mod h1:HGGaVtIHN3tPx8eo/LNauxwGMf6QrzSkT3ZwSlE/fFI=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
golang.org/x/sys v0.40.0 h1:DBZZqJ2Rkml6QMQsZywtnjnnGvHza6BTfYFWY9kjEWQ=
golang.org/x/sys v0.40.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
golang.org/x/sys v0.45.0 h1:dO4czNzziLiiXplLQgBCEpCvXQ3dnkn0SdaZSYdQ+FY=
golang.org/x/sys v0.45.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=