Scheduled service maintenance on November 22
On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.
We apologize for any inconvenience.
Dear all,
I have taken a look at the issue board, and does not seem to be able find the issue address there.
I would like to be able to use the
deploy keys
feature of repository to allow some of our workflow to be automated. I understand this differs from personalssh keys
, asdeploy keys
, in principle, only allow read access to the affected repository, whereasssh keys
can be used to have read/write rights on all repositories.My current attempt at adding a deploy key and
git clone
with the correct private key results insteps to reproduce
1/ create new ssh key on local machine with:
2/ create a new private repo on g-node, optionally add some content
3/ save the deploy key
cat ~/.ssh/tmp.pub
to theprivate repo
>settings
>deploy keys
>add deploy keys
4/ attempt to clone the repo with the newly created crendential
expected behaviour
clones repo
actual behaviour
Hello Xiao. I see the same issue. Let me look into it and get back to you.
Hi again Xiao.
I've pinpointed the cause of the issue and this is a bug in GIN that was introduced with some changes made a while ago. The fix is rather straightforward, but I need to make sure it wont introduce any other issues, so it might take a while to test before deploying the fix.
In the meantime, I'd like to offer a workaround for your use case: You could create a user for your automated deployments, set a public SSH key for that user and add them as a read-only collaborator to the repository. I hope this isn't a big inconvenience.
Please don't close this issue. I'd like to keep it open so I can update it and close it when the fix is deployed. It will also be visible to anyone who might have the same issue before it's fixed.
Thank you for reporting this.
Dear Achilleas,
Thanks for the clarification and the quick response.
I believe in the meantime, I can just create a personal SSH key. The automated pipeline we are running should be secure.
I will leave this issue open, also to remind myself to swap the SSH keys when the issue is resolved.
Kind regards,
Xiao