Skip to content

wip: add an API of plugins to retrieve authentication information #7150

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Nov 30, 2023

motivation: some plugins need authentication information, having an API to retrieve it from SwiftPM is helpful to abstract different authentication providers

changes:

  • create a new API for plugins to request authentication information from SwiftPM
  • implement the IPC encoding/decoding for the API

TODO:

  • encrypt IPC so that auth info cannot be man-in-the-middle
  • add plugin privilege to signal a plugin would access auth information
  • add tests

rdar://116226961

@MaxDesiatov
Copy link
Contributor

cc @euanh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants