feat: adds cert-utility templates and documentation.#889
Conversation
|
i think this is ready for 👀 now. just a couple of notes.
i think that about covers it, i have some basic readme/documentation above as well. cc @haydentherapper |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #889 +/- ##
==========================================
- Coverage 52.85% 44.73% -8.12%
==========================================
Files 20 55 +35
Lines 1209 3657 +2448
==========================================
+ Hits 639 1636 +997
- Misses 509 1881 +1372
- Partials 61 140 +79 ☔ View full report in Codecov by Sentry. |
|
nudge for 👀 / thanks y'all cc @haydentherapper / @bobcallaway |
Hayden-IO
left a comment
There was a problem hiding this comment.
Related to the comment I just left on the other PR, I wonder if we can reduce duplication between these two. The only difference between the two is 1) the templates, and 2) that the TSA needs a leaf certificate and Fulcio doesn't.
In the Fulcio codebase, could we have certificate_maker have leaf be optional? Then in this repo, just have a readme pointing to the fulcio codebase and the templates for the TSA?
yeah, that's what i was thinking / i think that totally works.
heh, it's the end of the day here and i didn't connect the dots. |
|
Roots are always required, intermediates are optional, and leafs are optional (for a CA vs TSA). |
perfect / should i create a new issue in fulcio for this work or ? |
|
Feel free to just create a PR in Fulcio making the leaf optional, then update this PR to be just the templates plus README. Thanks! |
Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
…escriptive. Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
… consistent w/ flags. Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
…e flag to gcp-credentials-file. Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
…son error. Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
…per, and other PR fb. Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
…vements. Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
|
this is ready for 👀 cc @haydentherapper |
Hayden-IO
left a comment
There was a problem hiding this comment.
Thanks, just a few minor comments!
Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
done and done / thanks for the 👀. |
closes #886, closes sigstore/fulcio#1930
Summary
currently, there is no standard method for creating cert chains for fulcio or tsa. the community has used an assortment of open source scripts/tools, but i thought it would be nice to have a small cloud agnostic go app to create/sign (via awskms, gcpkms, or azurekms) certificates. the smallstep crypto library is fairly comprehensive in its kms/cert capabilities.
@haydentherapper / @bobcallaway gave the go ahead in proceeding w/ this work.
Release Note
Documentation
added docs to
./docsfolder and updatedREADME.mdto point to docs.