-
Notifications
You must be signed in to change notification settings - Fork 935
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lxc: Prevent accept-certificate flag when using trust token (#14149)
This PR prevents `--accept-certificate` to be used with a trust token. Whenever the token is provided, the fingerprint from the token is compared to the remote certificate fingerprint. In addition, validation for mutually exclusive flags is added, more specifically trust token cannot be used with public remotes or when auth-type is OIDC. Finally, two minor fixes; do not stop interactive mode on wrong input, and do not fail if remote is already trusting us. Closes #13973 Closes #13891
- Loading branch information
Showing
51 changed files
with
9,753 additions
and
8,877 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.