Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add tspclient package #18

Merged
merged 53 commits into from
Jun 27, 2024
Merged

Conversation

Two-Hearts
Copy link
Contributor

@Two-Hearts Two-Hearts commented Jan 19, 2024

This PR adds the tspclient package to the repo. It's an implementation of RFC 3161.

Related unit tests and conformance tests are included in this PR as well.

Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
@Two-Hearts Two-Hearts requested review from JeyJeyGao, shizhMSFT and a team as code owners January 19, 2024 05:14
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
timestamp/request.go Outdated Show resolved Hide resolved
timestamp/request.go Outdated Show resolved Hide resolved
timestamp/request.go Outdated Show resolved Hide resolved
timestamp/request.go Outdated Show resolved Hide resolved
timestamp/response.go Outdated Show resolved Hide resolved
timestamp/http.go Outdated Show resolved Hide resolved
timestamp/token.go Outdated Show resolved Hide resolved
timestamp/token.go Outdated Show resolved Hide resolved
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
@Two-Hearts Two-Hearts changed the title feat: add timestamp feat: add tspclient package Jan 22, 2024
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
token.go Outdated Show resolved Hide resolved
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
@Two-Hearts Two-Hearts requested a review from JeyJeyGao January 29, 2024 06:20
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
http.go Outdated Show resolved Hide resolved
response.go Show resolved Hide resolved
response.go Show resolved Hide resolved
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
@Two-Hearts Two-Hearts reopened this Jan 31, 2024
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
@Two-Hearts Two-Hearts requested a review from JeyJeyGao February 1, 2024 08:06
@Two-Hearts Two-Hearts mentioned this pull request Mar 21, 2024
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Copy link

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the PR except response.go and token.go.

internal/oid/hash.go Outdated Show resolved Hide resolved
internal/oid/oid.go Outdated Show resolved Hide resolved
pki/pki.go Outdated Show resolved Hide resolved
pki/pki.go Outdated Show resolved Hide resolved
pki/pki.go Outdated Show resolved Hide resolved
http.go Outdated Show resolved Hide resolved
http.go Outdated Show resolved Hide resolved
request.go Show resolved Hide resolved
request.go Show resolved Hide resolved
request.go Outdated Show resolved Hide resolved
Copy link

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the rest of the files.

response.go Outdated Show resolved Hide resolved
response.go Outdated Show resolved Hide resolved
response.go Show resolved Hide resolved
response.go Outdated Show resolved Hide resolved
token.go Outdated Show resolved Hide resolved
token.go Outdated Show resolved Hide resolved
token.go Show resolved Hide resolved
token.go Outdated Show resolved Hide resolved
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
@Two-Hearts Two-Hearts requested a review from shizhMSFT June 17, 2024 05:35
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
pki/pki.go Outdated Show resolved Hide resolved
pki/pki.go Outdated Show resolved Hide resolved
request.go Outdated Show resolved Hide resolved
response.go Outdated Show resolved Hide resolved
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
@Two-Hearts Two-Hearts requested a review from shizhMSFT June 18, 2024 02:23
shizhMSFT
shizhMSFT previously approved these changes Jun 18, 2024
Copy link

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
@Two-Hearts Two-Hearts requested a review from shizhMSFT June 25, 2024 05:12
Copy link

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@JeyJeyGao JeyJeyGao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@priteshbandi priteshbandi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Two-Hearts Two-Hearts merged commit dcff9b7 into notaryproject:main Jun 27, 2024
9 checks passed
@Two-Hearts Two-Hearts deleted the timestamp branch June 27, 2024 05:04
@Two-Hearts Two-Hearts mentioned this pull request Jul 9, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants