| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \
| |/ /
|/| |
| | |
| | | |
Release 14.11.0
See merge request gitlab-org/gitlab-shell!677
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
Update Gitaly to v15
See merge request gitlab-org/gitlab-shell!676
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit also excludes gitlab-shell from dependencies:
Gitaly specifies Gitlab Shell as a dependency as well in order
to use gitlabnet client to perform API endpoints to Gitlab Rails.
As a result, Gitlab Shell requires Gitaly -> Gitaly requires an
older version of Gitlab Shell -> that version requires an older
version of Gitlab Shell, etc. Let's use exclude to break the
chain earlier
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
Fixed extra slashes in API request paths generated for geo
See merge request gitlab-org/gitlab-shell!673
|
| |/ |
|
|\ \
| |/
|/|
| |
| | |
Fix failing TestGitReceivePackSuccess
See merge request gitlab-org/gitlab-shell!675
|
|/
|
|
|
|
|
|
|
| |
After https://gitlab.com/gitlab-org/gitaly/-/merge_requests/4766
has been introduced, the test started fail because we basically
cancel the git-receive-pack after the output is received
This commit gracefully closes the connection to make the test
pass
|
|\
| |
| |
| |
| | |
Add simple_roulette to Dangerfile
See merge request gitlab-org/gitlab-shell!672
|
|/ |
|
|\
| |
| |
| |
| | |
Release v14.10.0
See merge request gitlab-org/gitlab-shell!671
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
'main'
Implement Push Auth support for 2FA verification
Closes #506
See merge request gitlab-org/gitlab-shell!454
|
| |
| |
| |
| | |
Use a single channel to handle both Push Auth and OTP results
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When `2fa_verify` command is executed:
- A user is asked to enter OTP
- A blocking call for push auth is performed
Then:
- If the push auth request fails, the user is still able to enter
OTP
- If OTP is invalid, the `2fa_verify` command ends the execution
- If OTP is valid or push auth request succeeded, then the user is
successfully authenticated
- If 30 seconds passed while no OTP or Push have been provided,
then the `2fa_verify` command ends the execution
|
|\
| |
| |
| |
| |
| |
| | |
Fix flaky race test
Closes #590
See merge request gitlab-org/gitlab-shell!670
|
| |
| |
| |
| |
| |
| |
| |
| | |
`ignoredError.err` was being used in a Goroutine handler, but the
value of `ignoredError` changes with each test case. To avoid a race,
make a local copy of the error before each Goroutine runs.
Closes https://gitlab.com/gitlab-org/gitlab-shell/-/issues/590
|
|\ \
| |/
|/|
| |
| | |
Release v14.9.0
See merge request gitlab-org/gitlab-shell!669
|
|/
|
|
|
| |
- Update LabKit library to v1.16.0 !668
(https://gitlab.com/gitlab-org/labkit/-/releases/v1.16.0)
|
|\
| |
| |
| |
| | |
Update LabKit library to v1.16.0
See merge request gitlab-org/gitlab-shell!668
|
|/
|
|
|
|
|
| |
* include original address in correlation CIDR checks ([ae96001](https://gitlab.com/gitlab-org/labkit/commit/ae9600163a6f5fa2ad06676a00b310af36573df4))
* run make recipes in parallel during backward compat check ([efa9c71](https://gitlab.com/gitlab-org/labkit/commit/efa9c71e13ef2bfe4415278e6b1e5c5ee8cc8022))
See https://gitlab.com/gitlab-org/labkit/-/releases/v1.16.0
|
|\
| |
| |
| |
| | |
Release v14.8.0
See merge request gitlab-org/gitlab-shell!667
|
|/
|
|
|
|
|
| |
- go: Bump major version to v14 !666
- Pass original IP from PROXY requests to internal API calls !665
- Fix make install copying the wrong binaries !664
- gitlab-sshd: Add support for configuring host certificates !661
|
|\
| |
| |
| |
| |
| |
| | |
go: Bump major version to v14
Closes #593
See merge request gitlab-org/gitlab-shell!666
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
While gitlab-shell currently has a major version of v14, the module path
it exposes is not using that major version like it is required by the Go
standard. This makes it impossible for dependents to import gitlab-shell
as a dependency without using a commit as version.
Fix this by changing the module path of gitlab-shell to instead be
`gitlab.com/gitlab-org/gitlab-shell/v14` and adjust all imports
accordingly.
Changelog: fixed
|
|\
| |
| |
| |
| | |
Pass original IP from PROXY requests to internal API calls
See merge request gitlab-org/gitlab-shell!665
|
|/ |
|
|\
| |
| |
| |
| | |
gitlab-sshd: Add support for configuring host certificates
See merge request gitlab-org/gitlab-shell!661
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds support for specifying host certificates via the
`host_cert_files` option and advertises the signed key to the
client. This acts similarly to OpenSSH's `HostCertificate` parameter:
gitlab-sshd attempts to match a host key to its certificate, and then
substitutes the matching host key with a certificate signed by a
trusted certificate authority's key.
This is the first requirement to supporting SSH certificates. This
will enable the client to trust the server if both trust a common
certificate authority. The `TrustedUserCAKeys` option will need to be
supported later for the server to trust all user keys signed by this
certificate authority.
Relates to https://gitlab.com/gitlab-org/gitlab-shell/-/issues/495
|
|\
| |
| |
| |
| | |
Fix make install copying the wrong binaries
See merge request gitlab-org/gitlab-shell!664
|
|/
|
|
|
|
|
|
|
|
|
|
| |
While testing
https://gitlab.com/gitlab-org/build/CNG/-/merge_requests/1062, we
found `make install` was not copying the right binaries, such as
`gitlab-shell-authorized-keys-check`.
This might have originally been written with a single binary in mind
(https://gitlab.com/gitlab-org/gitlab-shell/-/issues/207).
Changelog: fixed
|
|\
| |
| |
| |
| | |
Release v14.7.4
See merge request gitlab-org/gitlab-shell!663
|
|/
|
|
| |
- Update crypto module to fix RSA keys with old gpg-agent
|
|\
| |
| |
| |
| | |
gitlab-sshd: Update crypto module to fix RSA keys with old gpg-agent
See merge request gitlab-org/gitlab-shell!662
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When we put gitlab-sshd in production, we noticed a number of clients
using RSA keys would fail to login. The server would report:
```
ssh: signature "ssh-rsa" not compatible with selected algorithm "rsa-sha2-512"
```
This is reproducible on Ubuntu 18.04, which ships gpg-agent v2.2.4 and
OpenSSH v7.6. That version of gpg-agent does not support
`rsa-sha2-256` or `rsa-sha2-512`, but OpenSSH does. As a result,
OpenSSH specifies `rsa-sha-512` as the public key algorithm to use in
the user authentication request message, but gpg-agent includes an
`ssh-rsa` signature. OpenSSH servers tolerates this discrepancy, but
the Go implementation fails because it expects a strict match.
This commit pulls in
https://gitlab.com/gitlab-org/golang-crypto/-/merge_requests/9 to fix
the problem.
Relates to:
1. https://github.com/golang/go/issues/53391
2. https://gitlab.com/gitlab-org/gitlab-shell/-/issues/587
Changelog: fixed
|
|\
| |
| |
| |
| |
| |
| | |
Set BUNDLE_FROZEN to true
Closes #562
See merge request gitlab-org/gitlab-shell!659
|
|/
|
|
|
| |
To follow rubygems' security adisory
https://github.com/rubygems/rubygems.org/security/advisories/GHSA-hccv-rwq6-vh79:
|
|\
| |
| |
| |
| | |
Upgrade Gemfile.lock to use bundler to v2.3.15
See merge request gitlab-org/gitlab-shell!658
|
| |
| |
| |
| |
| |
| |
| |
| | |
This is just to minimize the versions of bundler used for development.
The GDK runs `support/bundle-install` in this directory to obtain the
version of bundler needed.
This relates to https://gitlab.com/gitlab-org/gitlab/-/issues/364373.
|
|\ \
| | |
| | |
| | |
| | | |
Release v14.7.3
See merge request gitlab-org/gitlab-shell!657
|
|/ /
| |
| |
| | |
- Ignore "not our ref" errors from gitlab-sshd error metrics
|
|\ \
| |/
|/|
| |
| | |
Ignore "not our ref" errors from gitlab-sshd error metrics
See merge request gitlab-org/gitlab-shell!656
|
|/
|
|
|
|
|
|
|
|
|
|
| |
If a client requests a ref that cannot be found in the repository,
previously gitlab-sshd would record it as part of its service level
indicator metric. This is really an application error between the
client and the Git repository, so we exclude it from our metrics.
Relates to
https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/15848
Changelog: fixed
|
|\
| |
| |
| |
| | |
Release 14.7.2
See merge request gitlab-org/gitlab-shell!655
|
|/
|
|
| |
- Exclude disallowed command from error rate
|
|\
| |
| |
| |
| | |
Exclude disallowed command from error rate
See merge request gitlab-org/gitlab-shell!654
|
|/ |
|
|\
| |
| |
| |
| | |
Release 14.7.1
See merge request gitlab-org/gitlab-shell!652
|
|/
|
|
|
| |
- Log gitlab-sshd session level indicator errors !650
- Improve establish session duration metrics !651
|
|\
| |
| |
| |
| | |
Calculate session start after the connection is established
See merge request gitlab-org/gitlab-shell!653
|