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
6 changes: 3 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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().

Expand Down
4 changes: 2 additions & 2 deletions tkeyclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand All @@ -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
}

Expand Down
Loading