mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 00:35:03 +02:00
add specific challenge types, multiple challenge data fields
This commit is contained in:
@@ -5,10 +5,10 @@ message chocolatemessage {
|
|||||||
message SigningRequest {
|
message SigningRequest {
|
||||||
required int64 timestamp = 2;
|
required int64 timestamp = 2;
|
||||||
required string recipient = 3;
|
required string recipient = 3;
|
||||||
required string nonce = 4;
|
// required string nonce = 4;
|
||||||
required string csr = 5;
|
required string csr = 4;
|
||||||
required bytes sig = 6;
|
required bytes sig = 5;
|
||||||
optional string clientpuzzle = 7;
|
optional string clientpuzzle = 6;
|
||||||
/* server can specify difficulty? */
|
/* server can specify difficulty? */
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ message chocolatemessage {
|
|||||||
message Failure {
|
message Failure {
|
||||||
required FailureReason cause = 1;
|
required FailureReason cause = 1;
|
||||||
optional string URI = 2; /* for more human-readable information */
|
optional string URI = 2; /* for more human-readable information */
|
||||||
optional string affectedrequest = 3; /* nonce of the SigningRequest that provoked this failure */
|
// optional string affectedrequest = 3; /* nonce of the SigningRequest that provoked this failure */
|
||||||
}
|
}
|
||||||
|
|
||||||
message Proceed {
|
message Proceed {
|
||||||
@@ -41,16 +41,17 @@ message chocolatemessage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
enum ChallengeType {
|
enum ChallengeType {
|
||||||
DomainValidate = 0;
|
DomainValidateSNI = 0;
|
||||||
EmailValidate = 1;
|
DomainValidateTLSExt = 1;
|
||||||
Payment = 2;
|
EmailValidate = 2;
|
||||||
|
Payment = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message Challenge {
|
message Challenge {
|
||||||
required ChallengeType type = 1;
|
required ChallengeType type = 1;
|
||||||
required int32 challengeid = 2;
|
required int32 challengeid = 2;
|
||||||
optional string name = 3;
|
optional string name = 3;
|
||||||
optional string data = 4;
|
repeated bytes data = 4;
|
||||||
optional string URI = 5;
|
optional string URI = 5;
|
||||||
optional bool succeeded = 6;
|
optional bool succeeded = 6;
|
||||||
/* from server: true if server ACK success,
|
/* from server: true if server ACK success,
|
||||||
|
|||||||
Reference in New Issue
Block a user