cdk-ec2-key-pair icon indicating copy to clipboard operation
cdk-ec2-key-pair copied to clipboard

Add support type of Key: RSA or ed25519

Open vechorko opened this issue 3 years ago • 2 comments

In a current moment Key pairs support 2 types: RSA and ed25519.

If it possible I want to ask to add opportunity to choose key type

vechorko avatar Jan 14 '22 18:01 vechorko

Hi Dmitry,

I looked into this for quite some time but wasn't able to figure it out. I created #39, which so far is a partial implementation.

The problem is, the forge library seems to have limited support for ed25519 keys. I haven't found a way to generate the public key from the key pair.

Maybe in a future version of forge.

Cheers, Daniel

udondan avatar Jan 22 '22 12:01 udondan

@udondan we need this feature for Amazon Linux 2023 https://docs.aws.amazon.com/linux/al2023/ug/ssh-host-keys-disabled.html

AllanOricil avatar Dec 03 '23 04:12 AllanOricil