-
Notifications
You must be signed in to change notification settings - Fork 3
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 hpke public key #337
Merged
+579
−390
Merged
Add hpke public key #337
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
8cfe572
Validation service scaffold (#320)
neekolas 4367d64
Add more MLS methods (#321)
neekolas a9fae2f
Fix migrations
neekolas 79d1e55
refactor: walletaddress->accountaddress (#325)
richardhuaaa 0853311
go mod tidy
0210936
Assume KeyPackages are always last resort. (#329)
Bren2010 b4e6195
refactor: move api/message/v3 to mls/api/v1 (#332)
snormore 5a2ad34
Decouple MLS messages from messagev1 (#333)
snormore ab05559
Generate protos in repo (#335)
neekolas c67cf48
Update protos
neekolas 04e8704
Add hpke pub key
neekolas 7110743
Specify column
neekolas 372fecb
Fix field name
neekolas 15c213d
Fix migration
neekolas b510fe9
Add data to test
neekolas 62ac14b
Do more validations on welcome messages
neekolas e802136
Simplify check
neekolas 07e52b5
Fix insert statement
neekolas 3e6947b
Push up mls image
neekolas e05899a
Merge branch 'main' into nm/add-hpke-public-key
neekolas bc240c5
Merge branch 'mls' into nm/add-hpke-public-key
neekolas eb71746
Add new generated file
neekolas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Push MLS Container | ||
on: | ||
push: | ||
branches: | ||
# - mls | ||
- nm/add-hpke-public-key | ||
jobs: | ||
deploy: | ||
concurrency: main | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: Login to Docker Hub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: xmtpeng | ||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | ||
|
||
- name: Git Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version-file: go.mod | ||
|
||
- name: Push | ||
id: push | ||
run: | | ||
export DOCKER_IMAGE_TAG=mls-dev | ||
IMAGE_TO_DEPLOY=xmtp/node-go@$(dev/docker/build) | ||
echo Successfully pushed $IMAGE_TO_DEPLOY | ||
echo "docker_image=${IMAGE_TO_DEPLOY}" >> $GITHUB_OUTPUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
SET statement_timeout = 0; | ||
|
||
ALTER TABLE welcome_messages | ||
DROP COLUMN IF EXISTS hpke_public_key BYTEA; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
SET statement_timeout = 0; | ||
|
||
ALTER TABLE welcome_messages | ||
ADD COLUMN hpke_public_key BYTEA; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: s/Hpke/HPKE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might add more confusion than it's worth. The generated protos are always going to be
Hpke
, so changing the model would give the DB the same field name with different casing.