teleport/lib/secret
Russell Jones 59ae3fd722 Allow tsh to connect to legacy clusters.
While moving from lemma (NaCl based) to the new internal secret package
(AES-GCM based), Teleport was updated to allow older tsh clients to
connect to newer proxies. Support to allow newer tsh clients to connect
to older proxies was omitted.

To allow newer tsh clients to connect to older proxies, Teleport
attempts to decrypt the response payload using the new secret
package, and if it fails, attempts to use the legacy lemma package.

In addition, the secret key that tsh generates is encoded in the new as
well as older format when submitting the client submits the request to
Teleport.
2019-06-24 13:39:31 -07:00
..
secret.go Allow tsh to connect to legacy clusters. 2019-06-24 13:39:31 -07:00
secret_test.go Replace NaCl with AES-GCM. 2019-03-18 14:55:43 -07:00