teleport/lib
Andrew Lytvynov 5ce5e1c525
mfa: implement management commands in tsh (#5473)
* mfa: implement management commands in tsh

New commands are:
- tsh mfa ls
- tsh mfa add
- tsh mfa rm

There are 2 problems intentionally left in this PR to keep it small:

1. TOTP registration requires user to manually enter the secret in the
app. When there's free time, I'll add platform-specific QR code display
to make this easier.

2. U2F authentication only checks one of the registered devices. This is
a limitation of the u2f-host binary, which can't check multiple devices
at once (even if spawning multiple u2f-host commands in parallel). In
the next PR, I'll replace u2f-host with a Go library that supports this.

* Address review feedback
2021-02-03 16:06:42 -08:00
..
asciitable Remove 'var _ = fmt.Printf' from *_test.go files (#5438) 2021-01-29 17:01:10 -08:00
auth mfa: implement management commands in tsh (#5473) 2021-02-03 16:06:42 -08:00
backend Test flakes: make tests reentrant (#5343) 2021-02-03 13:49:28 +01:00
benchmark Fix coordinated omission bug (#4643) 2020-12-01 11:04:31 -08:00
bpf Remove 'var _ = fmt.Printf' from *_test.go files (#5438) 2021-01-29 17:01:10 -08:00
cache api dependency reduction - marshalers (#5384) 2021-02-01 10:26:50 -08:00
cgroup Remove 'var _ = fmt.Printf' from *_test.go files (#5438) 2021-01-29 17:01:10 -08:00
client mfa: implement management commands in tsh (#5473) 2021-02-03 16:06:42 -08:00
config Remove 'var _ = fmt.Printf' from *_test.go files (#5438) 2021-01-29 17:01:10 -08:00
defaults api dependency reduction - oidc and predicate (#5366) 2021-01-29 10:00:59 -08:00
events Use fake clock to avoid time skews. 2021-02-02 14:32:23 -08:00
fixtures Session streaming 2020-09-28 23:08:56 -07:00
fuzz Minor update to fuzzing README (#4889) 2020-11-18 11:56:01 -04:00
httplib Make k8s errors responses decode-able by kubectl (#5166) 2020-12-18 15:27:45 -08:00
jwt API Dependency Reduction - lib/jwt (#5295) 2021-01-19 14:16:25 -08:00
kube Refactor API Dependencies - tlsca and gosaml2 (#5242) 2021-01-20 17:30:03 -08:00
labels flaky tests: consistent logging (#4849) 2020-12-07 15:35:15 +01:00
limiter flaky tests: consistent logging (#4849) 2020-12-07 15:35:15 +01:00
modules Test flakes: make tests reentrant (#5343) 2021-02-03 13:49:28 +01:00
multiplexer u2f: restructure MFA backend to support multiple devices (#5404) 2021-02-01 17:30:39 -08:00
pam flaky tests: consistent logging (#4849) 2020-12-07 15:35:15 +01:00
reversetunnel api dependency reduction - marshalers (#5384) 2021-02-01 10:26:50 -08:00
secret Remove 'var _ = fmt.Printf' from *_test.go files (#5438) 2021-01-29 17:01:10 -08:00
service api dependency reduction - utils constants (#5363) 2021-01-29 09:37:01 -08:00
services mfa: implement management commands in tsh (#5473) 2021-02-03 16:06:42 -08:00
session Fix reported data races in lib/backend unit tests. 2021-02-02 15:07:25 -08:00
shell Ensure all tests run exactly once per package 2020-04-30 16:35:35 +00:00
srv Guard server session with a mutex to prevent races when the session is (#5365) 2021-02-03 13:47:49 +01:00
sshca Create single instance of keygen per process. Use cache of precomputed 2018-02-15 21:23:30 +00:00
sshutils Remove 'var _ = fmt.Printf' from *_test.go files (#5438) 2021-01-29 17:01:10 -08:00
system Map error to errno value and log it 2018-03-26 23:28:58 +02:00
teleagent Don't log error on tunnel node after its serving agent is stopped (#5042) 2020-12-11 17:39:19 +01:00
tlsca api dependency reduction - utils constants (#5363) 2021-01-29 09:37:01 -08:00
utils mfa: implement management commands in tsh (#5473) 2021-02-03 16:06:42 -08:00
web u2f: restructure MFA backend to support multiple devices (#5404) 2021-02-01 17:30:39 -08:00
runtimeflags.go Correct various typos 2017-10-20 10:20:26 +02:00