Skip to content

Commit 34263c4

Browse files
authored
Merge pull request #90 from smallstep/mariano/revocation-reason
Add reason to certificate status
2 parents 2e5816a + b9749eb commit 34263c4

File tree

2 files changed

+49
-28
lines changed

2 files changed

+49
-28
lines changed

majordomo.pb.go

Lines changed: 43 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec/linkedca/majordomo.proto

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,9 @@ message GetCertificateStatusRequest {
251251

252252
message GetCertificateStatusResponse {
253253
RevocationStatus status = 1;
254-
RevocationReasonCode reason_code = 2;
255-
google.protobuf.Timestamp revoked_at = 3;
254+
string reason = 2;
255+
RevocationReasonCode reason_code = 3;
256+
google.protobuf.Timestamp revoked_at = 4;
256257
}
257258

258259
message GetSSHCertificateStatusRequest {
@@ -261,6 +262,7 @@ message GetSSHCertificateStatusRequest {
261262

262263
message GetSSHCertificateStatusResponse {
263264
RevocationStatus status = 1;
264-
RevocationReasonCode reason_code = 2;
265-
google.protobuf.Timestamp revoked_at = 3;
265+
string reason = 2;
266+
RevocationReasonCode reason_code = 3;
267+
google.protobuf.Timestamp revoked_at = 4;
266268
}

0 commit comments

Comments
 (0)