Compare commits

..

4 Commits

Author SHA1 Message Date
Junjie Gao 6c337f1e30
chore: update maintainer list: Junjie Gao retired (#46)
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
2025-06-30 17:46:13 +08:00
Patrick Zheng 4f55b14d9f
bump: upgrade go version to v1.23.0 (#44)
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
2025-03-06 14:37:39 +08:00
Patrick Zheng 543cd58803
chore: add patch to codecov (#42)
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
2024-12-30 08:44:48 +08:00
Junjie Gao 63a40da507
fix(test): unit test failed on GOARCH=386 (#41)
**What this PR does / why we need it**:
To fix the failed test on 32bit platforms

**Which issue(s) this PR resolves**:
Resolves #40 

**Please check the following list**:
- [x]  Does the affected code have corresponding tests, e.g. unit test?
- [ ] Does this introduce breaking changes that would require an
announcement or bumping the major version?
- [ ]  Do all new files have an appropriate license header?

<!-- If this is a security issue, please do not discuss on GitHub.
Please report any suspected or confirmed security issues directly to
https://github.com/notaryproject/tspclient-go/blob/main/CODEOWNERS. -->

Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
2024-12-23 09:41:54 +08:00
5 changed files with 10 additions and 5 deletions

View File

@ -14,5 +14,8 @@
coverage: coverage:
status: status:
project: project:
default:
target: 80%
patch:
default: default:
target: 80% target: 80%

View File

@ -1,3 +1,3 @@
# Repo-Level Owners (in alphabetical order) # Repo-Level Owners (in alphabetical order)
# Note: This is only for the notaryproject/tspclient-go repo # Note: This is only for the notaryproject/tspclient-go repo
* @gokarnm @JeyJeyGao @niazfk @priteshbandi @shizhMSFT @toddysm @Two-Hearts @vaninrao10 @yizha1 * @gokarnm @niazfk @priteshbandi @shizhMSFT @toddysm @Two-Hearts @vaninrao10 @yizha1

View File

@ -10,10 +10,12 @@ Yi Zha <yizha1@microsoft.com> (@yizha1)
# Repo-Level Maintainers (in alphabetical order) # Repo-Level Maintainers (in alphabetical order)
# Pattern: [First Name] [Last Name] <[Email Address]> ([GitHub Handle]) # Pattern: [First Name] [Last Name] <[Email Address]> ([GitHub Handle])
# Note: This is for the notaryproject/tspclient-go repo # Note: This is for the notaryproject/tspclient-go repo
Junjie Gao <junjiegao@microsoft.com> (@JeyJeyGao)
Patrick Zheng <patrickzheng@microsoft.com> (@Two-Hearts) Patrick Zheng <patrickzheng@microsoft.com> (@Two-Hearts)
Shiwei Zhang <shizh@microsoft.com> (@shizhMSFT) Shiwei Zhang <shizh@microsoft.com> (@shizhMSFT)
# Emeritus Org Maintainers (in alphabetical order) # Emeritus Org Maintainers (in alphabetical order)
Justin Cormack <justin.cormack@docker.com> (@justincormack) Justin Cormack <justin.cormack@docker.com> (@justincormack)
Steve Lasker <StevenLasker@hotmail.com> (@stevelasker) Steve Lasker <StevenLasker@hotmail.com> (@stevelasker)
# Emeritus Repo-Level Maintainers (in alphabetical order)
Junjie Gao <junjiegao@microsoft.com> (@JeyJeyGao)

2
go.mod
View File

@ -1,3 +1,3 @@
module github.com/notaryproject/tspclient-go module github.com/notaryproject/tspclient-go
go 1.21 go 1.23.0

View File

@ -19,7 +19,7 @@ import (
) )
func TestConvertToDER(t *testing.T) { func TestConvertToDER(t *testing.T) {
var testBytes = make([]byte, 0xFFFFFFFF+8) var testBytes = make([]byte, 0x7FFFFFFF)
// primitive identifier // primitive identifier
testBytes[0] = 0x1f testBytes[0] = 0x1f
testBytes[1] = 0xa0 testBytes[1] = 0xa0