Skip to content

Commit

Permalink
Ignore time validation in UVM endorsements when resolving didx509 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyashton authored Jan 4, 2024
1 parent 076ec8b commit 1a6c958
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .daily_canary
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
-^- ___ ___
(- -) (= =) | Y & +--?
( V ) / . \ | +---=---'
/--x-m- /--n-n---xXx--/--yY------>>>----<<<>>]]{{}}---||-/\---..
/--x-m- /--n-n---xXx--/--yY------>>>----<<<>>]]{{}}---||-/\---..
2024
6 changes: 5 additions & 1 deletion src/node/uvm_endorsements.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,11 @@ namespace ccf

const auto& did = phdr.iss;

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

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

0 comments on commit 1a6c958

Please sign in to comment.