diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 80bd4bc..de3ee9b 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -15,10 +15,10 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@v6 + - uses: actions/setup-go@v6 with: - go-version: '1.21' + go-version: '1.23' cache: false - name: golangci-lint uses: golangci/golangci-lint-action@v6 diff --git a/RELEASE.md b/RELEASE.md index da3cb79..b8b399e 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -9,7 +9,7 @@ https://github.com/tillitis/tkeyclient/security/advisories/GHSA-4w7r-3222-8h6v Complete -[changelog](https://github.com/tillitis/tkeyclient/compare/v1.1.0...v1.2.0). +[changelog](https://github.com/tillitis/tkeyclient/compare/v1.2.0...v1.3.0). - Adds new option function WithFullUss() for use with Connect(). diff --git a/tkeyclient.go b/tkeyclient.go index f9b2c7a..9fb83b2 100644 --- a/tkeyclient.go +++ b/tkeyclient.go @@ -300,7 +300,7 @@ func (tk TillitisKey) LoadAppFromFile(fileName string, secretPhrase []byte) erro // LoadApp sends a device app in bin and optionally a User Supplied // Secret digest to the TKey. // -// After succesfully sending the device app it computes a digest over +// After successfully sending the device app it computes a digest over // bin and compares it to what was returned from the TKey, returning // an error if it isn't equal. // @@ -327,7 +327,7 @@ func (tk TillitisKey) LoadApp(bin []byte, secretPhrase []byte) error { return err } - if err := tk.loadApp(binLen, secretPhrase, udi.ProductID); err != nil { + if err = tk.loadApp(binLen, secretPhrase, udi.ProductID); err != nil { return err }