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

Return an error when the node quote cannot be found #1594

Merged
merged 6 commits into from
Sep 9, 2020

Conversation

achamayou
Copy link
Member

Fix #1571

@achamayou achamayou requested a review from a team as a code owner September 9, 2020 14:20
@ghost
Copy link

ghost commented Sep 9, 2020

error_when_quote_unknown@12528 aka 20200909.42 vs master ewma over 50 builds from 11973 to 12518
images

def test_no_quote(network, args, notifications_queue=None, verify=True):
primary, _ = network.find_nodes()
untrusted_node = network.create_and_add_pending_node(args.package, "localhost", args)
with untrusted_node.client(ca=os.path.join(untrusted_node.common_dir, f"{untrusted_node.node_id}.pem")) as uc:
Copy link
Member Author

Choose a reason for hiding this comment

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

client() otherwise defaults to the network identity as the root CA.

@achamayou achamayou force-pushed the error_when_quote_unknown branch from 098aab9 to bb4b823 Compare September 9, 2020 16:57
@achamayou achamayou merged commit 5edc3f8 into microsoft:master Sep 9, 2020
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.

/node/quote return code is incorrect before node is trusted
2 participants