Skip to content

Commit

Permalink
VA: Add a method for performing MPIC compliant CAA checks
Browse files Browse the repository at this point in the history
  • Loading branch information
beautifulentropy committed Nov 13, 2024
1 parent 6722e0e commit bae7b73
Show file tree
Hide file tree
Showing 5 changed files with 1,211 additions and 264 deletions.
270 changes: 233 additions & 37 deletions va/proto/va.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions va/proto/va.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ service VA {

service CAA {
rpc IsCAAValid(IsCAAValidRequest) returns (IsCAAValidResponse) {}
rpc CheckCAA(CheckCAARequest) returns (CheckCAAResult) {}
}

message IsCAAValidRequest {
Expand Down Expand Up @@ -52,3 +53,17 @@ message ValidationRequest {
string authzID = 4;
string keyAuthorization = 5;
}

message CheckCAARequest {
core.Identifier identifier = 1;
core.Challenge challenge = 2;
int64 regID = 3;
string authzID = 4;
bool isRecheck = 5;
}

message CheckCAAResult {
core.ProblemDetails problem = 1;
string perspective = 3;
string rir = 4;
}
Loading

0 comments on commit bae7b73

Please sign in to comment.