File tree Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 77 - name : Set up Go
88 uses : actions/setup-go@v4
99 with :
10- go-version : " 1.23 "
10+ go-version : " 1.24 "
Original file line number Diff line number Diff line change 5353 # Require: The version of golangci-lint to use.
5454 # When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
5555 # When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
56- version : v1.60
56+ version : v1.64
5757 # args: --build-tags yubikey
5858 args : --timeout 3m
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ It supports both REST API and KMIP protocol.
3232<!-- TOC --> <a name =" prerequisites " ></a >
3333# Prerequisites
3434
35- 1 . Go 1.23
35+ 1 . Go 1.24
36362 . ** (Optional)** In linux, install libpcsc-dev if building with yubikey support enabled
3737
3838<!-- TOC --> <a name =" build " ></a >
Original file line number Diff line number Diff line change @@ -21,6 +21,13 @@ func ToInt32[N Integer](n N) int32 {
2121 return int32 (n )
2222}
2323
24+ func ToUint64 [N Integer ](n N ) uint64 {
25+ if n < 0 {
26+ panic ("Integer overflow: must not be negative" )
27+ }
28+ return uint64 (n )
29+ }
30+
2431// func ToUint32[N Integer](n N) uint32 {
2532// if n < 0 || uint64(n) > math.MaxUint32 {
2633// panic("Integer overflow")
Original file line number Diff line number Diff line change 11module github.com/ovh/okms-cli
22
3- go 1.23 .0
3+ go 1.24 .0
44
55require (
66 github.com/go-piv/piv-go/v2 v2.3.0
You can’t perform that action at this time.
0 commit comments