Files
teleport/lib/utils
Ev Kontsevoy bcfcefa8e5 Fixed issue #126
Summary:

Sasha proposed to use the certificate principal instead of the host name
when establishing new SSH connections.

What I did:

Replaced `ReadKeys()` function in `auth/init.go` with `ReadIdentity()`
which, instead of a simple "key signer" returns a more comprehensive
structure called "Identity"

The structure has the `Cert` field which can be used to obtain "valid
principals".

The first principal is used as an SSH username, instead of the hostname
like before.
2016-02-13 18:47:58 -08:00
..
2016-02-13 18:47:58 -08:00
2015-10-31 11:56:49 -07:00
2016-01-20 18:52:25 +03:00
2016-01-20 18:52:25 +03:00
2016-01-20 18:52:25 +03:00
2015-10-31 11:56:49 -07:00
2016-01-20 18:52:25 +03:00
2016-02-05 02:03:05 +03:00