From aa0cffe71a7cfb1ea09598fc75f395dd1031d04c Mon Sep 17 00:00:00 2001 From: Ross MacLean Date: Fri, 3 Feb 2023 10:39:13 +0000 Subject: [PATCH] Add deprecation warning for DSA Co-authored-by: Lucas Bajolet <105649352+lbajolet-hashicorp@users.noreply.github.com> --- communicator/ssh/key_pair.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/communicator/ssh/key_pair.go b/communicator/ssh/key_pair.go index de511128f..522a552d8 100644 --- a/communicator/ssh/key_pair.go +++ b/communicator/ssh/key_pair.go @@ -60,7 +60,7 @@ type KeyPair struct { // KeyPairFromPrivateKey returns a KeyPair loaded from an existing private key. // // Supported key pair types include: -// - DSA +// - DSA (NOTE: deprecated from Go as DSA is not regarded as secure anymore, please consider RSA or ED25519 instead) // - ECDSA // - ED25519 // - RSA