SCM and SSHJ

606 views
Skip to first unread message

Xavier Humbert

unread,
Sep 2, 2022, 4:08:58 AM9/2/22
to rundeck-discuss
Hi,

Since upgrade to 4.5.0, one of our users report that she/he cannot
access to SCM repository :

> "Failed fetch from the repository:
> git@gitlabssh.*****:piad-rundeck/rundeck_pp_bobj.git: remote hung up
> unexpectedly; org/bouncycastle/openssl/EncryptionException;
> org.bouncycastle.openssl.EncryptionException
>
> Plugin was not enabled for SCM export: git-export: An error occurred:
> Failed fetch from the repository:
> git@gitlabssh.****:piad-rundeck/rundeck_pp_bobj.git: remote hung
> up unexpectedly; org/bouncycastle/openssl/EncryptionException;
> org.bouncycastle.openssl.EncryptionException"
>
AFAIK, the keypair is generated with the default of ssh-keygen, which is
rsa-sha-512

How can I check, then fix this ?

Regards,

Xavier

--
Xavier Humbert
CRT Supervision et Exploitation de Niveau 1
Rectorat de Nancy-Metz
03 83 86 27 39

Xavier Humbert

unread,
Sep 2, 2022, 4:15:39 AM9/2/22
to rundeck...@googlegroups.com
The key is actually sha-256 not 512. Is this the problem ?

> ssh-keygen -l -f <private key backup>
> 2048 SHA256:jOqn34h6kJ7RTpv2csNbQAufXMc8Vr/HdnVcGreZG3M rundeck@p (RSA)
Xavier

Le 9/2/22 10:08, 'Xavier Humbert' via rundeck-discuss a écrit :

rac...@rundeck.com

unread,
Sep 2, 2022, 9:06:01 AM9/2/22
to rundeck-discuss
Hi Xaver, it seems that your user is facing this. Could you try this?

Greetings.

Xavier Humbert

unread,
Sep 2, 2022, 9:21:27 AM9/2/22
to rundeck...@googlegroups.com

Hi Rainer,

A new RSA pair unfortunately didn't work. However, it's worth noting that a a new ed25519 pair did the job.

Thanks,

Xavier

Le 9/2/22 15:06, rac...@rundeck.com a écrit :
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/fecb82a0-eef7-4e20-a5cf-dd4581be8287n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages