[pmg-devel] [PATCH pmg-api 0/2] fix clusterjoin with ssh-keys !=2048 bits

Stoiko Ivanov s.ivanov at proxmox.com
Wed Jul 14 16:44:28 CEST 2021

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

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.

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(-)


More information about the pmg-devel mailing list