File tree 5 files changed +11
-4
lines changed
5 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 7
7
- name : Set up Go
8
8
uses : actions/setup-go@v4
9
9
with :
10
- go-version : " 1.23 "
10
+ go-version : " 1.24 "
Original file line number Diff line number Diff line change 53
53
# Require: The version of golangci-lint to use.
54
54
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
55
55
# 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
57
57
# args: --build-tags yubikey
58
58
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.
32
32
<!-- TOC --> <a name =" prerequisites " ></a >
33
33
# Prerequisites
34
34
35
- 1 . Go 1.23
35
+ 1 . Go 1.24
36
36
2 . ** (Optional)** In linux, install libpcsc-dev if building with yubikey support enabled
37
37
38
38
<!-- 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 {
21
21
return int32 (n )
22
22
}
23
23
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
+
24
31
// func ToUint32[N Integer](n N) uint32 {
25
32
// if n < 0 || uint64(n) > math.MaxUint32 {
26
33
// panic("Integer overflow")
Original file line number Diff line number Diff line change 1
1
module github.com/ovh/okms-cli
2
2
3
- go 1.23 .0
3
+ go 1.24 .0
4
4
5
5
require (
6
6
github.com/go-piv/piv-go/v2 v2.3.0
You can’t perform that action at this time.
0 commit comments