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

Under Strict Confinement - AzIoTIdentity integration #429

Merged
merged 3 commits into from
Mar 24, 2023

Conversation

shiyi-peng
Copy link
Contributor

Merging to feature/snap

Copy link
Contributor

@nihemstr nihemstr left a comment

Choose a reason for hiding this comment

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

Need justification for the commented out sections

@@ -1395,6 +1395,8 @@ int main(int argc, char** argv)

ADUC_Logging_Init(launchArgs.logLevel, "du-agent");

printf("Current UID : %d\n", geteuid());
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Do we need to keep the UID in the log?

* @param[in] filePath the path of the EIS response named pipe
* returns EISErr value
*/
// EISErr EISIdentitiesFileWriter(uint32_t timeoutMS, const char* filePath)
Copy link
Contributor

Choose a reason for hiding this comment

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

why are we checking in large blocks of commented out code?

// * @returns on success a null terminated connection string, otherwise NULL
// */
// EISUtilityResult RequestConnectionStringFromEISWithExpiry(
// const time_t expirySecsSinceEpoch, uint32_t timeoutMS, ADUC_ConnectionInfo* provisioningInfo)
Copy link
Contributor

Choose a reason for hiding this comment

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

More commented out code...

@shiyi-peng shiyi-peng marked this pull request as draft March 21, 2023 00:20
Copy link
Contributor

@nihemstr nihemstr left a comment

Choose a reason for hiding this comment

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

Approving changes to remove block

@shiyi-peng shiyi-peng closed this Mar 21, 2023
author Shiyi Peng <shiyipeng@microsoft.com> 1679043264 -0700
committer Shiyi Peng <shiyipeng@microsoft.com> 1679564684 -0700

EIS integration

snapcraft.yaml

named pipe not working

change back to file

revert back to file

fix UT

tested working

add support strict confinement

fix

tested working EIS with strict confinement
@shiyi-peng shiyi-peng reopened this Mar 23, 2023
@shiyi-peng shiyi-peng marked this pull request as ready for review March 23, 2023 09:53
@shiyi-peng shiyi-peng changed the title Ubuntu Core Snap - AzIoTIdentity integration Under Strict Confinement - AzIoTIdentity integration Mar 23, 2023
@shiyi-peng shiyi-peng merged commit ab0c1a6 into feature/snap Mar 24, 2023
@Nox-MSFT Nox-MSFT deleted the user/shiyipeng/eis-snap-new branch January 24, 2024 13:24
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