-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Refactor repository and CA code to support BGPsec CSRs. #210
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f065663
Move CSR module under ca.
partim c79f3d0
Refactor ... everything to be able to deal with BGPsec CSRs.
partim 3451dbc
Clippy-suggested code improvements.
partim 8299700
Actually disable oid module if bcder is not available.
partim 916b5a0
Enable ca feature for Windows CI.
partim 59c5800
Add missing methods to allow making router certs and add a round-trip…
partim 3de1721
Drop an allow attribute.
partim 55eecc1
This is definitely a breaking PR now.
partim b3a2e19
Merge branch 'main' into bgpsec-csr
partim dff1f21
Add function to create extended key usage for router certificates.
e97b23a
Support serde for PublicKey
1f38b7a
Use Serial instead of u128 for consistency.
832a41f
Use TbsCert rather than CertBuilder for now.
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 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "rpki" | ||
version = "0.14.3-dev" | ||
version = "0.15.0-dev" | ||
edition = "2018" | ||
authors = ["The NLnet Labs RPKI Team <[email protected]>"] | ||
description = "A library for validating and creating RPKI data." | ||
|
@@ -43,7 +43,8 @@ default = [] | |
|
||
# Main components of the crate. | ||
ca = [ "repository", "serde-support" ] | ||
repository = [ "bcder", "ring", "untrusted", "routecore/bcder" ] | ||
crypto = [ "bcder", "ring", "untrusted" ] | ||
repository = [ "bcder", "crypto", "routecore/bcder" ] | ||
rrdp = [ "xml", "ring" ] | ||
rtr = [ "futures-util", "tokio", "tokio-stream" ] | ||
slurm = [ "serde-support", "serde_json" ] | ||
|
@@ -62,7 +63,7 @@ extra-debug = [ "bcder/extra-debug" ] | |
|
||
# Dummy features for Windows CI runs where we don’t want to have to deal | ||
# with OpenSSL | ||
__windows_ci_all = [ "repository", "rrdp", "rtr", "serde-support", "extra-debug" ] | ||
__windows_ci_all = [ "ca", "rrdp", "rtr", "serde-support", "extra-debug" ] | ||
|
||
[[bin]] | ||
name = "readcer" | ||
|
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If
repository
includescrypto
does it still needbcder
? Also, I am not sure why it needs bothbcder
androutecore/bcder
- though that is not related to this PR.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, I wonder if we can make
repository
not requirecrypto
.I’m not sure if enabling
bcder
here also enables it forroutecore
, so I decided to play it safe. This all is going to change eventually with the new way of dealing with features and dependencies stablised in a recent Rust release, but I don’t want to jump MSRVs too quickly.