Commit graph

7125 commits

Author SHA1 Message Date
Joel 074dbe7f5d
Fix the buildbox (again) (#8892)
* remove toolchain

* don't force env

* Revert "don't force env"

This reverts commit 1e216365f3.

* linter fix and update bindings

* spec toolchain version

* resolve perms
2021-11-08 14:54:07 -07:00
Marek Smoliński f92c5d8f90
Fix ACME strict ALPN (#8869) 2021-11-08 10:09:15 +01:00
Joel f12408fadd
Add RFD 43: Kubernetes Access Multiparty Sessions (#8510) 2021-11-06 17:44:42 +01:00
Russell Jones 754a9c70f4 Don't allow running Desktop Access in FIPS mode.
Return an error if Desktop Access is requested in FIPS mode until Rust
is updated to use BoringCrypto instead of OpenSSL.
2021-11-05 16:20:29 -07:00
Joel ea64d9db29
Fix Rust buildbox (#8881) 2021-11-05 14:05:19 -07:00
Joel a833907647
Rust & Desktop Access fixes (#8822)
* update deps in manifest and lockfile

* fixes and updates to docker and profiles

* lint rust

* fix typo

* resolve clippy lints

* fix typo

* mark risk functions unsafe

* fmt + clean up the last lints#

* verify lockfile up to date

* disable lto since it doesn't work with two rust libs

* merge lock check and lint

* Add missing license header to Rust files

And update Makefile to ensure they are checked

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2021-11-05 12:35:20 -07:00
Zac Bergquist 9e6c7a0de7 Use cgo.Handle for passing client refs between Rust/Go
Go 1.17 introduces a new utility for passing a pointer to a Go
value into CGo and back. Now that we're on 1.17, we can use this
feature rather than maintaining our own mapping of integer values
to Go structures.
2021-11-05 12:28:29 -06:00
Isaiah Becker-Mayer aeaa14854c
clarifying facet examples (#8705)
* clarifying facet examples

* keeping quotations consistent
2021-11-05 09:08:19 -07:00
Zac Bergquist 6fa8834b62 Fix heartbeat for LDAP hosts
The LDAP search returns a `[]*ldap.Entry`, so make a copy of the entry
that we can close over when setting up heartbeats.

Fixes #8846
2021-11-05 09:10:56 -06:00
Justinas Stankevičius 9522415b61
Disable desktop access in Web UI in Cloud clusters (#8858) 2021-11-05 07:31:46 -07:00
Marek Smoliński c335534e02
Fix tsh ssh proxy (#8826) 2021-11-05 13:30:10 +01:00
Marek Smoliński cc3c38d780
Fix MFA for DB Access (#8796) 2021-11-05 01:35:40 -07:00
Roman Tkachenko e1774a8f8b
Add dynamic registration and discovery guides (#8694) 2021-11-04 15:52:35 -07:00
Zac Bergquist 7535fb0880 integration: name our subtests
Stop using t.Run("", ..), as it makes it impossible to tell which
subtest failed.
2021-11-04 15:50:25 -06:00
Brian Joerger a8e31aa963
Fix typo in error check. (#8810) 2021-11-04 14:13:36 -07:00
Steven Martin 31a38110d1
output of config is being included in copy/paste (#8855) 2021-11-04 07:46:14 -07:00
rosstimothy 5cd7c3c294
Split auth.AccessPoint into variant specific interfaces (#8471) 2021-11-04 09:42:14 -04:00
Jane Quintero 52bf810398
Update workflow files to run workflows in the context of master (#8728) 2021-11-03 11:31:48 -07:00
Lisa Kim 9a10edc26b
Bring back previous u2f challenge response for web terminal (#8830) 2021-11-03 10:42:40 -07:00
Joel 9c7ab58a2b
Update Go badge to 1.17 (#8841) 2021-11-03 16:06:51 +01:00
Zac Bergquist e281f2c50d Fix the client idle disconnect audit event for desktops
We were attempting to use the desktop name as the server ID,
but in order to publish audit events we must use the HostUUID
of the windows_desktop_service.

Updates #8665
2021-11-03 08:52:43 -06:00
Zac Bergquist fa21858d80 Fix trailing whitespace 2021-11-02 17:48:22 -06:00
Isaiah Becker-Mayer 2ac8ba6a5a Adds a test for scroll wheel 2021-11-02 17:48:22 -06:00
Isaiah Becker-Mayer 0545c976ef updates keyboard test plan 2021-11-02 17:48:22 -06:00
Zac Bergquist a2038cb5d2 Include desktop access in test plan 2021-11-02 17:48:22 -06:00
Roman Tkachenko d87ee8f640
Fix mongo access with mfa and add tests (#8799) 2021-11-02 12:06:58 -07:00
Marek Smoliński 6cf111b241
Fix reverse tunnel web ping call log severity (#8775) 2021-11-02 15:47:34 +01:00
Lisa Kim 49227507b4
Update e-ref (#8819) 2021-11-01 19:58:57 -07:00
Lisa Kim 092e3ab72e
Remove checking for error from session end in web terminal (#8797)
Removes the call for wait for ssh.Session end to check for errors
in web terminal which fixes a regression bug where typing "exit" 
in web terminal does not return session end event. 
PR #8081 removed the need to check for errors as it correctly 
returns exit errors whereas before it returned nil.
2021-11-01 20:55:59 -04:00
Zac Bergquist 878539bf49 Update rdp-rs to fix horizontal scroll + extended keys
This pulls in the fixes from gravitational/rdp-rs#4

Updates #8742

Backport to v8 required.
2021-11-01 15:59:52 -06:00
Jeff Anderson ba908da2b0
update to syntax change in terraform provider (#8782)
As of the 7.1.0 version of the terraform provider, kube_groups is now kubernetes_groups:

191ebbb043 (diff-945482f9602d8a0ad1775753261e0e5b1e7ddbb64dad8b4af6d61bdaab27be40L22-R23)
2021-11-01 16:44:10 -04:00
Gus Luxton 3cedd55338
[helm] Change path -> mountPath under extraVolumeMounts (#8806) 2021-11-01 11:33:35 -07:00
Gus Luxton 4a0e1e64d8
[ami] Get wildcard DNS cert when using certbot/Letsencrypt with Terraform AMI (#8792) 2021-11-01 09:47:44 -07:00
Roman Tkachenko 9bf88bef01
URL-encode Postgres username in connection string (#8771) 2021-11-01 08:40:06 -07:00
Lisa Kim c5b2da13b7
Return created date with new recovery codes (#8777) 2021-10-29 20:14:56 -07:00
Russell Jones 912704bb51 [auto] Update AMI IDs for 7.3.2 2021-10-29 17:18:42 -07:00
Zac Bergquist 2d34ab4402 Update mac builds
Download Rust and Go per-build to ensure that the right version is used
and that builds do not step on each other.

Also rungs cbindgen in quiet mode to suppress the annoying output it
spews for non-public symbols.
2021-10-29 16:55:53 -06:00
Lisa Kim 14cf9f6d23
Update test plan (#8794) 2021-10-29 14:34:16 -07:00
Alan Parra 41b6ae7b63
Set user verification to "discouraged" for WebAuthn (#8759)
The default user verification setting, "preferred", leaves it open for
client-side implementations whether to to perform verification checks.
In theory it sounds reasonable, but in practice it takes a variety of
forms: Chrome will perform PIN checks if a PIN is configured, a
redundant check in face of our existing password checks. Windows goes a
step further and directs user to set a PIN, a further deviation from the
usual security key workflow.

The traditional workflow is achieved by setting user verification to
discouraged, implemented here.

Reference:
- https://chromium.googlesource.com/chromium/src/+/refs/heads/main/content/browser/webauth/uv_preferred.md

* Set user verification to "discouraged" for WebAuthn
* Add user verification to CredentialAssertion proto
* Add authenticator selection to CredentialCreation proto
2021-10-29 14:06:11 -07:00
Andrew Burke 71ea32fbae
Add '+' to key sanitizer whitelist (#8396) 2021-10-28 16:02:55 -07:00
Isaiah Becker-Mayer e6339821d8
flips struct ordering to match with tdp spec (#8753) 2021-10-28 13:36:48 -07:00
Andrew Burke e8f06b0cce
Fix error message when direct dial fails (#8678)
New error message no longer refers to reverse tunnel when the error is for direct dials.
2021-10-28 12:53:41 -07:00
Forrest Marshall 596e0cbf88 set packer version 2021-10-28 11:54:34 -07:00
Brian Joerger 20da22ca35
API release automation with go script (#8484) 2021-10-28 10:15:47 -07:00
Trent Clarke 5463c799ea
Fix race condition in PipeNetCon (#8643)
The race condition detector is being tripped by a concurrent `Write` and
`Close` in the `PipeNetCon` in several integration tests. This is a naive
fix to serialize the write and close operations to resolve the race
condition.

The affected tests were also not handling asynchronous error reporting
correctly (i.e. it's not legal to call `require.XYZ()` from a goroutine
other than the one executing the test function.). This patch introduces
some plumbing to marshal asynchronous errors back into the main test
routine before failing the test.
2021-10-28 09:38:51 +11:00
Zac Bergquist 8101a3d2aa Update e 2021-10-27 14:36:33 -06:00
Zac Bergquist 4685e6ba1b Ensure that Rust libraries are cleaned 2021-10-27 14:36:33 -06:00
Alan Parra 26e2809cee
Update and mark WebAuthn RFD as implemented (#8751) 2021-10-27 12:36:27 -07:00
Marek Smoliński cf16212411
Update TLS routing test plan scenarios (#8731) 2021-10-27 20:59:44 +02:00
Nic Klaassen f884cdd7e3
Make RegisterUsingTokenRequest a Protobuf type (#8690) 2021-10-27 10:59:44 -07:00