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

Add entitlements support #4

Open
wagoodman opened this issue Oct 16, 2022 · 5 comments
Open

Add entitlements support #4

wagoodman opened this issue Oct 16, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@wagoodman
Copy link
Contributor

What would you like to be added:
Support the same ability as cosign --entitlements <xml-file> where the input would be an XML Plist which entitlements the app needs to run.

@wagoodman wagoodman added the enhancement New feature or request label Oct 16, 2022
@wagoodman wagoodman changed the title Support entitlements Add entitlements support Oct 16, 2022
@gedw99
Copy link

gedw99 commented Oct 29, 2022

Dumb question. Is this for example to access the camera or microphone?

@spiffcs
Copy link
Contributor

spiffcs commented Dec 8, 2022

Yep!

For more information on entitlements see:
https://developer.apple.com/documentation/bundleresources/entitlements

For the documentation on formatting them and common notarization issues see:
https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3561456

@gedw99
Copy link

gedw99 commented Mar 10, 2023

Thanks @spiffcs

wil try this out and try to extend to support entitlements

@gedw99
Copy link

gedw99 commented May 8, 2023

So depending on what’s in the entitlements some extra signing needs to occur ? Sorry I am not that family with Mac and signing .

i have a .app with entitlement plist to a access things like camera and mic .

thanks in advance .

@cfergeau
Copy link
Contributor

To avoid duplicated work/efforts, I've started adding entitlement support in https://github.com/cfergeau/quill/tree/entitlements
This is working well enough for codesign -d --entitlements to be able to parse and display the entitlements - but they are currently hardcoded.

cfergeau added a commit to cfergeau/quill that referenced this issue Mar 1, 2024
With the abstraction work done in the previous commit, adding support
for entitlements is now fairly straightforward, just need to build the
entitlements blob and hashes using user-provided XML data.

This fixes anchore#4

Signed-off-by: Christophe Fergeau <[email protected]>
cfergeau added a commit to cfergeau/quill that referenced this issue Apr 18, 2024
With the abstraction work done in the previous commit, adding support
for entitlements is now fairly straightforward, just need to build the
entitlements blob and hashes using user-provided XML data.

This fixes anchore#4

Signed-off-by: Christophe Fergeau <[email protected]>
cfergeau added a commit to cfergeau/quill that referenced this issue Apr 18, 2024
With the abstraction work done in the previous commit, adding support
for entitlements is now fairly straightforward, just need to build the
entitlements blob and hashes using user-provided XML data.

This fixes anchore#4

Signed-off-by: Christophe Fergeau <[email protected]>
cfergeau added a commit to cfergeau/quill that referenced this issue Apr 19, 2024
With the abstraction work done in the previous commit, adding support
for entitlements is now fairly straightforward, just need to build the
entitlements blob and hashes using user-provided XML data.

This fixes anchore#4

Signed-off-by: Christophe Fergeau <[email protected]>
@spiffcs spiffcs reopened this Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants