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

External commits: add additional checks #2852

Merged
merged 4 commits into from
Nov 21, 2022
Merged

Conversation

smatting
Copy link
Contributor

@smatting smatting commented Nov 18, 2022

This PR affects external comits:

  • adds requirement of Z-Client
  • adds a check that Z-Client matches the client identity in the keypackage that is added
  • adds a check that Z-User matches the client identity in the keypackage that is added
  • removes a duplicated call to addKeyPackageRef

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@smatting smatting temporarily deployed to cachix November 18, 2022 15:44 Inactive
@smatting smatting temporarily deployed to cachix November 18, 2022 15:44 Inactive
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Nov 18, 2022
@smatting smatting temporarily deployed to cachix November 21, 2022 10:00 Inactive
@smatting smatting temporarily deployed to cachix November 21, 2022 10:00 Inactive
@mdimjasevic
Copy link
Contributor

mdimjasevic commented Nov 21, 2022

I approve the PR, but it'd be good for someone else that hasn't been involved in it to take a look too.

@smatting smatting changed the title External Commits: Add keypackage checks and simplify ref update External commits: add additional checks Nov 21, 2022
@smatting smatting marked this pull request as ready for review November 21, 2022 10:04
@mdimjasevic mdimjasevic self-requested a review November 21, 2022 10:05
Copy link
Contributor

@pcapriotti pcapriotti left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines 717 to 718
-- for_ senderClient $ \senderClient' ->
-- pure ()
Copy link
Contributor

Choose a reason for hiding this comment

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

Leftover code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah forgot to push

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants