Skip to content

Commit

Permalink
Merge pull request #57 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Version 2.6.0
  • Loading branch information
andyone authored May 6, 2020
2 parents 6749eb6 + 72b8be6 commit e418773
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 26 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
language: go

go:
- 1.11.x
- 1.12.x
- 1.13.x
- 1.14.x
- tip

os:
Expand All @@ -19,7 +19,7 @@ branches:

env:
global:
- IMAGE=essentialkaos/perfecto:centos7
- IMAGE=essentialkaos/perfecto:centos7 HADOLINT_VERSION=1.17.5

matrix:
fast_finish: true
Expand All @@ -29,7 +29,7 @@ matrix:
before_install:
- docker pull "$IMAGE"
- wget https://kaos.sh/perfecto/perfecto-docker
- wget -O hadolint https://github.com/hadolint/hadolint/releases/download/v1.17.4/hadolint-Linux-x86_64
- wget -O hadolint https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64
- chmod +x perfecto-docker
- chmod +x hadolint
- ./hadolint --version
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ git-config: ## Configure git redirects for stable import path services
git config --global http.https://pkg.re.followRedirects true

deps: git-config ## Download dependencies
go get -d -v pkg.re/essentialkaos/ek.v11
go get -d -v pkg.re/essentialkaos/ek.v12
go get -d -v pkg.re/essentialkaos/sslscan.v12

fmt: ## Format source code with gofmt
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Before the initial install allows git to use redirects for [pkg.re](https://gith
git config --global http.https://pkg.re.followRedirects true
```

To build the SSLScan Client from scratch, make sure you have a working Go 1.11+ workspace ([instructions](https://golang.org/doc/install)), then:
To build the SSLScan Client from scratch, make sure you have a working Go 1.12+ workspace ([instructions](https://golang.org/doc/install)), then:

```
go get github.com/essentialkaos/sslcli
Expand Down
24 changes: 12 additions & 12 deletions cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cli

// ////////////////////////////////////////////////////////////////////////////////// //
// //
// Copyright (c) 2009-2019 ESSENTIAL KAOS //
// Copyright (c) 2009-2020 ESSENTIAL KAOS //
// Apache License, Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0> //
// //
// ////////////////////////////////////////////////////////////////////////////////// //
Expand All @@ -17,16 +17,16 @@ import (
"strings"
"time"

"pkg.re/essentialkaos/ek.v11/fmtc"
"pkg.re/essentialkaos/ek.v11/fmtutil"
"pkg.re/essentialkaos/ek.v11/fsutil"
"pkg.re/essentialkaos/ek.v11/options"
"pkg.re/essentialkaos/ek.v11/strutil"
"pkg.re/essentialkaos/ek.v11/usage"
"pkg.re/essentialkaos/ek.v11/usage/completion/bash"
"pkg.re/essentialkaos/ek.v11/usage/completion/fish"
"pkg.re/essentialkaos/ek.v11/usage/completion/zsh"
"pkg.re/essentialkaos/ek.v11/usage/update"
"pkg.re/essentialkaos/ek.v12/fmtc"
"pkg.re/essentialkaos/ek.v12/fmtutil"
"pkg.re/essentialkaos/ek.v12/fsutil"
"pkg.re/essentialkaos/ek.v12/options"
"pkg.re/essentialkaos/ek.v12/strutil"
"pkg.re/essentialkaos/ek.v12/usage"
"pkg.re/essentialkaos/ek.v12/usage/completion/bash"
"pkg.re/essentialkaos/ek.v12/usage/completion/fish"
"pkg.re/essentialkaos/ek.v12/usage/completion/zsh"
"pkg.re/essentialkaos/ek.v12/usage/update"

"pkg.re/essentialkaos/sslscan.v12"
)
Expand All @@ -35,7 +35,7 @@ import (

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

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

// ////////////////////////////////////////////////////////////////////////////////// //
// //
// Copyright (c) 2009-2019 ESSENTIAL KAOS //
// Copyright (c) 2009-2020 ESSENTIAL KAOS //
// Apache License, Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0> //
// //
// ////////////////////////////////////////////////////////////////////////////////// //
Expand All @@ -12,12 +12,12 @@ import (
"strings"
"time"

"pkg.re/essentialkaos/ek.v11/fmtc"
"pkg.re/essentialkaos/ek.v11/fmtutil"
"pkg.re/essentialkaos/ek.v11/pluralize"
"pkg.re/essentialkaos/ek.v11/sliceutil"
"pkg.re/essentialkaos/ek.v11/strutil"
"pkg.re/essentialkaos/ek.v11/timeutil"
"pkg.re/essentialkaos/ek.v12/fmtc"
"pkg.re/essentialkaos/ek.v12/fmtutil"
"pkg.re/essentialkaos/ek.v12/pluralize"
"pkg.re/essentialkaos/ek.v12/sliceutil"
"pkg.re/essentialkaos/ek.v12/strutil"
"pkg.re/essentialkaos/ek.v12/timeutil"

"pkg.re/essentialkaos/sslscan.v12"
)
Expand Down Expand Up @@ -1126,6 +1126,7 @@ func print0RTTStatus(status int) {
func printPolicyInfo(policy *sslscan.HPKPPolicy) {
if policy == nil {
fmtc.Println("No")
return
}

switch policy.Status {
Expand Down
6 changes: 5 additions & 1 deletion common/sslcli.spec
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

Summary: Pretty awesome command-line client for public SSLLabs API
Name: sslcli
Version: 2.5.0
Version: 2.6.0
Release: 0%{?dist}
Group: Applications/System
License: EKOL
Expand Down Expand Up @@ -119,6 +119,10 @@ fi
################################################################################

%changelog
* Wed May 06 2020 Anton Novojilov <[email protected]> - 2.6.0-0
- Fixed panic if HPKPPolicy is empty
- ek package updated to v12

* Fri Jan 03 2020 Anton Novojilov <[email protected]> - 2.5.0-0
- Updated for compatibility with the latest version of SSLLabs API

Expand Down
2 changes: 1 addition & 1 deletion sslcli.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package main

// ////////////////////////////////////////////////////////////////////////////////// //
// //
// Copyright (c) 2009-2019 ESSENTIAL KAOS //
// Copyright (c) 2009-2020 ESSENTIAL KAOS //
// Apache License, Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0> //
// //
// ////////////////////////////////////////////////////////////////////////////////// //
Expand Down

0 comments on commit e418773

Please sign in to comment.