[pmg-devel] [PATCH pmg-api 0/2] fix clusterjoin with ssh-keys !=2048 bits
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Jul 14 18:02:43 CEST 2021
On 14.07.21 16:44, Stoiko Ivanov wrote:
> currently it's not possible to join a PMG cluster if the joining node (or
> its root user) has a ssh-rsa key larger (or !=2048 bits)
>
> noticed the glitch while trying to join a PMG container based on
> debian-bullseye.
>
> mid-term I'd like to also allow for other key-formats (ed25519) to work, but
> since this needs a bit more work it can be postponed.
>
or drop using ssh completely ;-)
> tested the patches on the same container (joining was successful)
>
> Stoiko Ivanov (2):
> cluster: refactor ssh pubkey verification
> cluster: add '=' to ssh pubkey pattern
>
> src/PMG/Cluster.pm | 5 +++--
> src/PMG/ClusterConfig.pm | 8 ++++++--
> 2 files changed, 9 insertions(+), 4 deletions(-)
>
applied both patches, added the missing space in the return statement and suffixed
the method name with the _regex
More information about the pmg-devel
mailing list