Skip to content

bump packer sdk version to address legacy SSH key algorithms in SSH communicator#78

Merged
outscale-hmi merged 1 commit intooutscale:mainfrom
outscale-hmi:sshKey
Sep 13, 2022
Merged

bump packer sdk version to address legacy SSH key algorithms in SSH communicator#78
outscale-hmi merged 1 commit intooutscale:mainfrom
outscale-hmi:sshKey

Conversation

@outscale-hmi
Copy link
Copy Markdown
Contributor

The issue is when connecting with Packer to the instance with SSH, we face removal of ssh-rsa from PubKeyAcceptedTypes:
RSA-2048 keys do still work in general, as long as your SSH client is using sha256 signatures
The issue is that the Go library used by Packer (and others) does not.

OpenSSH migrated the ssh-rsa key type, which historically used the ssh-rsa signature algorithm based on SHA-1, to the new rsa-sha2-256 and rsa-sha2-512 signature algorithms. (Golang issues: golang/go#49952)

Packer SDK PR : hashicorp/packer-plugin-sdk#107

So we need to bump packer sdk version to use this fix

…ommunicator

Signed-off-by: Ubuntu <outscale@ip-10-9-21-61.eu-west-2.compute.internal>
@outscale-hmi outscale-hmi merged commit 25f4a7d into outscale:main Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants