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 operate entitlement #57

Merged
merged 1 commit into from
Jun 18, 2024
Merged

Conversation

loic1
Copy link
Contributor

@loic1 loic1 commented Jun 18, 2024

Changes:

  • Add Operate entitlement to PackIssuer & PDS admin methods to better reflect that the methods are not meant to be exposed publicly.
    • Note: This was already the case even when declared with access(all) as long as the critical security assumption that no capability has been published for the concerned resources is met. The change to access(Operate) makes the security assumption more restrictive (i.e., there shouldn't be any published capability with Operate authorization) but doesn't eliminate it altogether (i.e., the change to access(Operate) doesn't guarantee in itself that the security assumption cannot be violated).
  • Use more restrictive access(contract) modifier for methods in SharedCapabilities and DistInfo to better reflect the access control in place; these objects were already only accessible from within the contract.

@loic1 loic1 requested a review from judezhu June 18, 2024 17:45
@loic1 loic1 requested review from a team as code owners June 18, 2024 17:45
Copy link
Collaborator

@judezhu judezhu left a comment

Choose a reason for hiding this comment

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

great work!

@loic1 loic1 merged commit 8d85cf5 into judez/added-embed-pds Jun 18, 2024
1 check passed
@loic1 loic1 deleted the loic/add-operate-entitlement branch June 18, 2024 18:10
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.

3 participants