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

migtd default policy for SVN does not work #22

Closed
jyao1 opened this issue Aug 9, 2023 · 1 comment · Fixed by #27
Closed

migtd default policy for SVN does not work #22

jyao1 opened this issue Aug 9, 2023 · 1 comment · Fixed by #27
Assignees

Comments

@jyao1
Copy link
Contributor

jyao1 commented Aug 9, 2023

https://github.com/intel/MigTD/blob/main/config/policy.json

Currently, below is using greater-or-equal.

            "TEE_TCB_SVN.SEAM":{
                "operation":"greater-or-equal",
                "reference":"self"
            },

The meaning is: the data in destination is greater-or-equal to the data in source.
But the current flow is the data in peer is greater-or-equal to the data in local. (https://github.com/intel/MigTD/blob/main/src/policy/src/config.rs#L132)

@jyao1 jyao1 changed the title migtd default policy should use equal for all migtd default policy for SVN does not work Aug 9, 2023
@gaojiaqi7
Copy link
Contributor

if the reference is a numerical value and operation is greater-or-equal, it means peer >= value or dst >= value?

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 a pull request may close this issue.

2 participants