-
Notifications
You must be signed in to change notification settings - Fork 10
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
problems with sharing a repo's encryption key #225
Comments
Update: After a first deployment of the plural bundle (kubeflow) we tried again with sharing the repo and we observed something curious. Performing the following command we now saw indeed changes in the dev2-at-onplural-sh on main [!] on ☁️ at-kf1 (eu-central-1) on ☁️
❯ plural crypto share --email [email protected] This added an identity to repokey: xxx
identities:
- key: xxx
email: [email protected]
- key: xxx
email: [email protected] This is probably expected behaviour. After pushing the generated changes to the remote repo Rostislav was indeed able to unlock the repo on his local clone performing Now the curious bit. dev2-at-onplural-sh on main [!] on ☁️ at-kf1 (eu-central-1) on ☁️
❯ plural crypto share --email [email protected] I expected the identity to be added to the repokey: xxx
identities:
- key: xxx
email: [email protected] I tried with the documented suggestion of multiple email addresses, too, but that had the same effect: dev2-at-onplural-sh on main [!] on ☁️ at-kf1 (eu-central-1) on ☁️
❯ plural crypto share --email [email protected] --email [email protected] For all of the steps I was logged in as the SA we used for the deployment: dev2-at-onplural-sh on main [!?] on ☁️ at-kf1 (eu-central-1) on ☁️
❯ plural profile show
apiVersion: platform.plural.sh/v1alpha1
kind: Config
metadata:
name: dev2.at
spec:
email: [email protected]
token: plrl-xxxxxxxxx
namespacePrefix: ""
endpoint: ""
lockProfile: ""
reportErrors: true Plural CLI version used: dev2-at-onplural-sh on main on ☁️ at-kf1 (eu-central-1) on ☁️
❯ plural version
Plural CLI:
Version: v0.4.4-60-gf9ab40e
Git Commit: f9ab40e
Compiled At: 2022-08-24 14:25:45.874807 +0200 CEST m=+0.034057539
OS: darwin
Arch: amd64 |
Summary
We were trying to share access to an encrypted deployment repository using
plural crypto share
as per https://docs.plural.sh/advanced-topics/security/secret-management#share-a-repoIt does not work as expected though as it's not possible for any other user (logged in correctly with the mentioned accounts) to clone and decrypt the repo.
Reproduction
With a deployment SA
[email protected]
we created the repo, and after installing thekubeflow-aws
we followed the following steps:setup:
On the other end the user
[email protected]
should have been able to decrypt the repo but that was unsuccessful:There is also no public key listed in app.plural.sh after this process.
Plural UI/UX Issue Screenshots
Message from the maintainers:
Impacted by this bug? Give it a 👍. We factor engagement into prioritization.
The text was updated successfully, but these errors were encountered: