-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security: move constants to certnames package
This breaks an import dependency cycle. Release note: None
- Loading branch information
Marius Posta
committed
Aug 8, 2022
1 parent
662d1f9
commit 7357589
Showing
24 changed files
with
111 additions
and
87 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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Copyright 2022 The Cockroach Authors. | ||
// | ||
// Use of this software is governed by the Business Source License | ||
// included in the file licenses/BSL.txt. | ||
// | ||
// As of the Change Date specified in that file, in accordance with | ||
// the Business Source License, use of this software will be governed | ||
// by the Apache License, Version 2.0, included in the file | ||
// licenses/APL.txt. | ||
|
||
package certnames | ||
|
||
// EmbeddedCertsDir is the certs directory inside embedded assets. | ||
// Embedded*{Cert,Key} are the filenames for embedded certs. | ||
const ( | ||
EmbeddedCertsDir = "test_certs" | ||
EmbeddedCACert = "ca.crt" | ||
EmbeddedCAKey = "ca.key" | ||
EmbeddedClientCACert = "ca-client.crt" | ||
EmbeddedClientCAKey = "ca-client.key" | ||
EmbeddedUICACert = "ca-ui.crt" | ||
EmbeddedUICAKey = "ca-ui.key" | ||
EmbeddedNodeCert = "node.crt" | ||
EmbeddedNodeKey = "node.key" | ||
EmbeddedRootCert = "client.root.crt" | ||
EmbeddedRootKey = "client.root.key" | ||
EmbeddedTestUserCert = "client.testuser.crt" | ||
EmbeddedTestUserKey = "client.testuser.key" | ||
) | ||
|
||
// Embedded certificates specific to multi-tenancy testing. | ||
const ( | ||
EmbeddedTenantCACert = "ca-client-tenant.crt" // CA for client connections | ||
EmbeddedTenantCAKey = "ca-client-tenant.key" // CA for client connections | ||
) |
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.