Skip to content

Commit

Permalink
Restore didx509 time validation, update test's sample SNP report (#5888)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyashton authored Jan 5, 2024
1 parent d95a0ce commit 43feda0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 27 deletions.
6 changes: 1 addition & 5 deletions src/node/uvm_endorsements.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,11 +282,7 @@ namespace ccf

const auto& did = phdr.iss;

auto did_document_str = didx509::resolve(
pem_chain,
did,
true // Ignore time validation (allow expired certs)
);
auto did_document_str = didx509::resolve(pem_chain, did);
did::DIDDocument did_document = nlohmann::json::parse(did_document_str);

if (did_document.verification_method.empty())
Expand Down
Loading

0 comments on commit 43feda0

Please sign in to comment.