Meta framework for providing digital provenance and integrity to documents.
55
stars
19
forks
source link
Signed documents with OCSP Responder revocation is returning false when using the utils.isDocumentRevokable function. #242
Closed
jedtravis closed 2 years ago
When using the
utils.isDocumentRevokable
on a signed document with OCSP Responder revocation, it returns false instead of true.After looking into the code, I realize that it will only return true in 3 situations.
certificateStore
key in the issuers objectdocumentStore
key in the issuers objectrevocation
key in the issuers object, and the value oftype
key isREVOCATION_STORE
in the revocation objectTo account for OCSP Responder, please add another situation whereby the value of
type
key isOCSP_RESPONDER
in the revocation object.Current
utils.isDocumentRevokable
function,case isWrappedV2Document(document)
portionProposed
utils.isDocumentRevokable
function,case isWrappedV2Document(document)
portion