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

Add support for WASI port #1089

Merged
merged 1 commit into from
Jun 1, 2023
Merged

Conversation

flavio
Copy link
Contributor

@flavio flavio commented May 31, 2023

Fix building when the new wasip1 port is being used.
This is a new target that will be introduced by go 1.21.

For more details golang/go#58141

Checklist

Fix building when the new `wasip1` port is being used.
This is a new target that will be introduced by go 1.21.

For more details golang/go#58141

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
@flavio flavio requested a review from a team as a code owner May 31, 2023 17:33
@flavio flavio requested review from mhutchinson and removed request for a team May 31, 2023 17:33
@mhutchinson mhutchinson merged commit 37ba9ac into google:master Jun 1, 2023
@flavio flavio deleted the add-wasip1-support branch June 1, 2023 12:50
breadyzhang pushed a commit to breadyzhang/certificate-transparency-go that referenced this pull request Jun 2, 2023
Fix building when the new `wasip1` port is being used.
This is a new target that will be introduced by go 1.21.

For more details golang/go#58141

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
breadyzhang pushed a commit to breadyzhang/certificate-transparency-go that referenced this pull request Jun 2, 2023
Fix building when the new `wasip1` port is being used.
This is a new target that will be introduced by go 1.21.

For more details golang/go#58141

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
breadyzhang pushed a commit to breadyzhang/certificate-transparency-go that referenced this pull request Jun 2, 2023
Fix building when the new `wasip1` port is being used.
This is a new target that will be introduced by go 1.21.

For more details golang/go#58141

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
breadyzhang pushed a commit to breadyzhang/certificate-transparency-go that referenced this pull request Jun 2, 2023
Fix building when the new `wasip1` port is being used.
This is a new target that will be introduced by go 1.21.

For more details golang/go#58141

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
breadyzhang pushed a commit to breadyzhang/certificate-transparency-go that referenced this pull request Jun 2, 2023
Fix building when the new `wasip1` port is being used.
This is a new target that will be introduced by go 1.21.

For more details golang/go#58141

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
phbnf pushed a commit that referenced this pull request Jun 23, 2023
* Create additional conditions to determine log results and if a log should be submitted when minInclusions > 0.

* modify chromeLike unit test to better fit the actual use case and refine how safeSubmissionState decides which SCTs to insert in the results

* update changelog

* Remove MaxSubmissions and set maxSubmissionsPerGroup from the minGroups value

* Set max submissions per operator in ctpolicy package

* Removed  to reduce complexity and confusion.

* Resolving comments

- move base into switch expression

- change maxSubmissionsPerGroup to maxSubmissionsPerOperator

* Use MinDistinctOperators instead of MaxSubmissionsPerOperator to reduce confusion

* Add zOS build support (#1088)

* Add support for WASI port (#1089)

Fix building when the new `wasip1` port is being used.
This is a new target that will be introduced by go 1.21.

For more details golang/go#58141

Signed-off-by: Flavio Castelli <fcastelli@suse.com>

* update changelog

* fix changelog merge issues

* My merge conflict mishap reverted the change to have groups be a map[string]int so I am reverting it back to the updated state

* replace groupNeeds with minSubmissions and change the name of groups to groupsSubmitted

groupNeeds was used for the old chrome policy when we required SCTs from specific groups. It's not necessary anymore with the new policies so a single integer (minSubmissions) should be suffice.

groups is changed to groupsSubmitted to make it easier to understand upon a glance.

* change minSubmissions since it gets changed after initialization

* Change dayDuration to use time.Hour for easier understanding

* Resolve comments

* add comments to clarify reservedSubmissions

---------

Co-authored-by: Freddy Zhang <zhangfreddy@google.com>
Co-authored-by: onlywork1984 <102848417+onlywork1984@users.noreply.github.com>
Co-authored-by: Flavio Castelli <flavio@castelli.me>
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.

2 participants