-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Readme update and tooling fixes (#1)
Co-authored-by: J.C. Jones <[email protected]>
- Loading branch information
Showing
834 changed files
with
75,436 additions
and
20,708 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
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,2 @@ | ||
*.old | ||
*/tmp.* |
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,38 @@ | ||
# Overview | ||
|
||
We decided to store the issuer files with human readable names, rather than the serial or fingerprint. This decision is completely arbitrary. | ||
|
||
Issuer file names are broken down as follows: | ||
|
||
* Default to `organization - common name.crt` | ||
* If the `organization` field is unset, the filename will be `common name.crt` | ||
* If the `common name` field is unset, the filename will be `organization.crt` | ||
|
||
To use the tooling in this folder, you will need [certigo](https://github.com/square/certigo). | ||
|
||
# Usage | ||
|
||
Create a new accepted roots file from the root certificates in each respective logs folder. This will not apply the change to a running shard. That work is done in another repository and requires SRE change control. | ||
``` | ||
./assemble-accepted-roots.sh | ||
``` | ||
|
||
Add a root certificate to all accepted roots files for all shards in a log. This will not apply the change to the running shards. | ||
``` | ||
./add-root-to-log.sh | ||
``` | ||
|
||
To get all root certificates currently applied to a log shard: | ||
|
||
``` | ||
./pull-roots-from-all-shards.sh | ||
``` | ||
|
||
To perform analysis on roots pulled from each shard: | ||
``` | ||
./diff-accepted-roots.sh oak/tmp.FOO-2023 oak/tmp.BAR-2024h1 | ||
``` | ||
|
||
## Notes | ||
|
||
When adding a new shard, the scripts will need to be updated to account for the new shard. |
Oops, something went wrong.