Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to add AES_256_CBC #24390

Closed
victorpng opened this issue Mar 17, 2020 · 2 comments
Closed

Request to add AES_256_CBC #24390

victorpng opened this issue Mar 17, 2020 · 2 comments

Comments

@victorpng
Copy link

Hi,

I'm having issue with the SSH of Terraform when the server only allows AES_256_CBC cipher.

I had searched past issue and also raised the issue on terraform-providers. Understand that it is due to the cipher missing from golang.
golang/go#36647

Current Terraform Version

Terraform v0.11.7
+provider.aws v2.45.0
+provider.panos v1.6.2

Uses-case
To allow ssh client to work on server that only allow CBC cipher

Attempted Solution
Nil. I currently using another script to handle the setup of the server that requires SSH/SCP.

Proposal
There was this issue raise - #5279
I'm unable to replicate what he did, but I hope his method will works as the solution.

@jbardin
Copy link
Member

jbardin commented Mar 17, 2020

Hi @victorpng,

Terraform relies on the Go SSH implemention, which does not support that particular cipher suite due to security questions and the prevalence of other more widely adopted cipher suites. The current standard cipher set for openssh does not include any CBC mode ciphers at all:

[email protected],
aes128-ctr,aes192-ctr,aes256-ctr,
[email protected],[email protected]

Since the SSH client implementation does not support that particular cipher, support for it is not something we can add.

Thanks!

@jbardin jbardin closed this as completed Mar 17, 2020
@ghost
Copy link

ghost commented Apr 17, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants