Skip to content

Fix endpoint file path retrieval in get_endpoint function#50

Open
yf23 wants to merge 1 commit into
Azure:mainfrom
yf23:dev/yfu/fix_uri_table_path
Open

Fix endpoint file path retrieval in get_endpoint function#50
yf23 wants to merge 1 commit into
Azure:mainfrom
yf23:dev/yfu/fix_uri_table_path

Conversation

@yf23

@yf23 yf23 commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

This pull request improves the robustness of the endpoint file lookup logic in the get_endpoint function. The function now searches multiple directories for the attestation URI table file, ensuring it can be found regardless of the script's execution context.

File lookup improvements:

  • Updated get_endpoint in attest.py to search for the attestation URI table file (attestation_uri_table.json or attestation_uri_table_usgov.json) in multiple directories: the directory of the current file, the directory of the script being executed, and the current working directory. If the file is not found, an exception is raised.

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.

1 participant