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

AWS cli plugin session-manager-plugin cannot be used on macOS without workaround #5758

Closed
2 tasks done
programmer04 opened this issue Nov 25, 2020 · 7 comments
Closed
2 tasks done
Labels
bug This issue is a bug. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. service-api This issue is due to a problem in a service API, not the SDK implementation. ssm

Comments

@programmer04
Copy link

Describe the bug
AWS cli plugin session-manager-plugin is not notarized by Apple, so after fresh installation, it cannot be open:
image
The workaround described here solves the issue and the program works, but basically, the user has to bypass macOS default security checks to get it run, which is not nice.

SDK version number
I tried with two last versions of session-manager-plugin:

  • 1.2.30.0
  • 1.2.7.0

Platform/OS/Hardware/Device

  • macOS Big Sur Version 11.0.1 (but I'm sure that on Catalina would be the same)

To Reproduce (observed behavior)
Just try to run session-manager-plugin after fresh installation (without workaround) e.g.

session-manager-plugin --version

Expected behavior
This binary should work out of the box.

Additional context
Many other projects resolved it in the past e.g.:

@programmer04 programmer04 added the needs-triage This issue or PR still needs to be triaged. label Nov 25, 2020
@programmer04 programmer04 changed the title AWS cli plugin session-manager-plugin cannot by used on macOS without workaround AWS cli plugin session-manager-plugin cannot be used on macOS without workaround Nov 25, 2020
@kdaily kdaily added the investigating This issue is being investigated and/or work is in progress to resolve the issue. label Nov 25, 2020
@kdaily kdaily self-assigned this Nov 25, 2020
@kdaily kdaily added ssm and removed needs-triage This issue or PR still needs to be triaged. labels Nov 25, 2020
@kdaily
Copy link
Member

kdaily commented Nov 25, 2020

Hi @programmer04, thanks for the report. I don't have Big Sur in order to test this, but I will check in with the SSM team.

@kdaily kdaily added service-api This issue is due to a problem in a service API, not the SDK implementation. and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Dec 3, 2020
@skyzyx
Copy link
Contributor

skyzyx commented Mar 1, 2021

This happens when its installed via Homebrew instead of manually installing it from the AWS website.

It would be wonderful if AWS could work with the Homebrew folks, so that AWS can publish the source that Homebrew uses for these packages.

It would resolve a great many issues in the ecosystem around AWS.

@programmer04
Copy link
Author

Unfortunately, this issue still exists for the current newest version 1.2.54.0

@kdaily
Copy link
Member

kdaily commented Nov 2, 2021

Is this still an issue for you, @programmer04? Can you confirm what @skyzyx noted is that it occurs when installed via Homebrew? If you install via one of the supported installation mechanisms, does it still occur?

@skyzyx, I appreciate the feedback. We have proposed a new source distribution (#6352) that addresses package maintainers ability to build from source. The Homebrew team is aware of this proposal.

@kdaily kdaily removed their assignment Nov 2, 2021
@kdaily kdaily added bug This issue is a bug. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Nov 2, 2021
@programmer04
Copy link
Author

It occurs when is not installed from pkg (which is notarized) available since version

1.2.205.0 | June 10, 2021 | Enhancement: Added support for signed macOS installer.

thanks for introducing this notarized pkg.

Hence I'm prosing changes in the formula Homebrew/homebrew-cask#113686 to install AWS session-manager-plugin from notarized pkg instead of zip. Please check it, it'll resolve this issue.

Moreover, @kdaily could the AWS team bump the version in this formula always when the new session-manager-plugin is released? It'd be very convenient to have always the newest version basically out of the box when brew is used as package manager.

@programmer04
Copy link
Author

My PR Homebrew/homebrew-cask#113686 has been already merged. Thus this issue can be considered as resolved.

@github-actions
Copy link

github-actions bot commented Nov 3, 2021

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. service-api This issue is due to a problem in a service API, not the SDK implementation. ssm
Projects
None yet
Development

No branches or pull requests

3 participants