-
-
Notifications
You must be signed in to change notification settings - Fork 6
TrustStore CRD #557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
TrustStore CRD #557
Changes from all commits
Commits
Show all changes
99 commits
Select commit
Hold shift + click to select a range
f44e0f1
first commit
9ab36c8
first commit
157460f
allow parse not support type
ed6fdd0
allow parse not support type
8762bd0
allow parse not support type
3585bc3
allow parse not support type
4be4e3c
0.1.2
55f4ead
update pbepkcs12
810faa0
update pbepkcs12
49c79c1
sdsi cert
88a4226
0.1.3
e2a7503
fix
hjiayz d750eae
switch to RustCrypto HmacSha1
Keruspe 5ef132e
switch to getrandom
Keruspe 464e982
update RustCrypto deps
Keruspe de4272f
drop unused block-cipher-trait
Keruspe b5e2e50
block-modes: update to 0.5.0
Keruspe 2e8a35a
rustfmt
Keruspe 017b50e
update rustcrypto
Keruspe 6ad0857
Merge pull request #1 from Keruspe/master
f48e223
version 0.2.0
hjiayz 02c5c97
update crypto dependencies
Keruspe e372089
update crypto dependencies
Keruspe f30063c
update yasna
Keruspe 1c6f637
rename to pkcs-12
Keruspe 1d3fbd9
version 0.3.0
Keruspe 5c0018e
require yasna with std feature
Keruspe 885484a
version 0.3.1
Keruspe dc0fad4
add CI
Keruspe 5e3179a
Merge pull request #2 from Keruspe/crypto
hjiayz e11d003
Update Cargo.toml
hjiayz dd06c31
Merge git://github.com/hjiayz/p12
Keruspe 9b6e213
v0.3.2
Keruspe 0888af5
fix fork merge
Keruspe c9d7a8e
version 0.3.3
Keruspe 46812d6
update dependencies
Keruspe c05cf02
v0.4.0
Keruspe 27f3b2e
switch to sha1
Keruspe c8eb0b6
v0.4.1
Keruspe 35102a6
update yasna
Keruspe e5a6535
v0.5.0
Keruspe f83f8bd
apply clippy suggestions
Keruspe f671118
port to cipher 0.4
Keruspe c8e573a
Merge pull request #6 from hjiayz/cipher04
Keruspe 22270e2
edition 2021
Keruspe e5c1353
fix clippy lint
Keruspe df7e97a
v0.6.0
Keruspe 88f34d1
ensure we have at least BS data (empty passwords)
ubamrein 58ff78f
Merge pull request #7 from ubamrein/master
Keruspe 8113ee5
v0.6.1
Keruspe ac90e05
update to cipher 0.4.1
Keruspe 202f08d
v0.6.2
Keruspe 45615bc
update to cipher 0.4.2
jcaesar 0f96bbc
Merge pull request #8 from jcaesar/master
Keruspe 9983420
v0.6.3
Keruspe d6ad9a5
Add TrustStore CRD and controller
nightkr 4c0c1d4
Support custom TrustStore formats
nightkr 03ef7b2
Fix clippy warnings
nightkr a9085d7
Explicitly disallow TrustStore for kerberos backend
nightkr c4e1707
Start sketching out k8s-search support
nightkr 9791bee
Configure watches for the truststore controller
nightkr 26b54eb
Optimistically try to encode truststore data as string
nightkr b3656dd
Clean up error handling
nightkr b569b05
Start factoring out truststore reference watch logic
nightkr d43274f
Factor out TrustStore dependency resolution logic
nightkr 57e3727
Log reconciliation results properly
nightkr 85b3bfc
TrustStore smoke test
nightkr 21fe8ed
Stub out pkcs12 salt for determinism
nightkr fff63d1
Add 'rust/p12/' from commit '9983420fd81ba123ee2c284c8e564734de8b5f00'
nightkr 75bb19f
Move p12 into subtree folder
nightkr 5326498
Factor out the RNG provider from p12 instead of always just stubbing …
nightkr f284c9b
Handle CSI startup errors (again)
nightkr 5092971
Docs
nightkr eac6338
Changelog
nightkr 055c732
Minor cleanup
nightkr 8cd87e4
Use ProductOperatorRun
nightkr 2674b67
Merge branch 'main' into feature/truststore-crd
nightkr 26a60f4
Fixed an import that got missing in the merge conflict
nightkr 1181174
Add CRD docs for TrustStore
nightkr ecd2fd1
Fix pre-commit errors
nightkr fd3ab95
Drop unused hex dependency
nightkr 42d423a
Update Ring for rustsec advisory
nightkr 70a809c
Ignore RUSTSEC-2025-0012 for now
nightkr 0762b44
Fix broken doclinks
nightkr cb9873a
Switch p12 to use the workspace version (to unbreak our PR build script)
nightkr 6769659
Switch truststore.adoc to line-per-sentence
nightkr b969a76
Normalize FULL_CONTROLLER_NAME
nightkr dfe6427
Propagate `secondary_object` information through backends
nightkr 6af78ec
Merge branch 'main' into feature/truststore-crd
nightkr ca0326f
Clarify error messages when loading CAs
nightkr a90f8cc
Only erase extra trust root refs lazily
nightkr 8b3645f
rustfmt
nightkr 5d4bd01
Update docs/modules/secret-operator/pages/secretclass.adoc
nightkr c1932be
Move const_format to workspace cargo.toml
nightkr 7a48c77
Merge branch 'feature/truststore-crd' of github.com:stackabletech/sec…
nightkr 71c318d
Update yanked dependencies (crossbeam-channel, tokio, openssl)
nightkr 66e731f
Merge branch 'main' into feature/truststore-crd
siegfriedweber 1360331
Apply template
siegfriedweber e30816a
Merge branch 'main' into feature/truststore-crd
siegfriedweber File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
|
@@ -17,3 +17,4 @@ spec: | |
pod: {} | ||
# or... | ||
name: my-namespace | ||
trustStoreConfigMapName: tls-ca # <4> | ||
This file contains hidden or 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,8 @@ | ||
--- | ||
apiVersion: secrets.stackable.tech/v1alpha1 | ||
kind: TrustStore | ||
metadata: | ||
name: truststore-pem # <1> | ||
spec: | ||
secretClassName: tls # <2> | ||
format: tls-pem # <3> |
This file contains hidden or 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 hidden or 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,22 @@ | ||
= TrustStore | ||
:description: A TrustStore in Kubernetes retrieves the trust anchors from a SecretClass. | ||
|
||
A _TrustStore_ is a Kubernetes resource that can be used to request the trust anchor information (such as the TLS certificate authorities) from a xref:secretclass.adoc[]. | ||
|
||
This can be used to access a protected service from other services that do not require their own certificates (or from clients running outside of Kubernetes). | ||
|
||
A TrustStore looks like this: | ||
|
||
[source,yaml] | ||
---- | ||
include::example$truststore-tls.yaml[] | ||
---- | ||
<1> Also used to name the created ConfigMap | ||
<2> The name of the xref:secretclass.adoc[] | ||
<3> The requested xref:secretclass.adoc#format[format] | ||
|
||
This will create a ConfigMap named `truststore-pem` containing a `ca.crt` with the trust root certificates. | ||
It can then either be mounted into a Pod or retrieved and used from outside of Kubernetes. | ||
|
||
NOTE: Make sure to have a procedure for updating the retrieved certificates. | ||
The Secret Operator will automatically rotate the xref:secretclass.adoc#backend-autotls[autoTls] certificate authority as needed, but all trust roots will require some form of update occasionally. |
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.