зеркало из https://github.com/microsoft/CCF.git
Ignore time validation in UVM endorsements when resolving `didx509` (#5885)
This commit is contained in:
Родитель
076ec8b2d9
Коммит
1a6c9581e7
|
@ -1,4 +1,5 @@
|
|||
-^- ___ ___
|
||||
(- -) (= =) | Y & +--?
|
||||
( V ) / . \ | +---=---'
|
||||
/--x-m- /--n-n---xXx--/--yY------>>>----<<<>>]]{{}}---||-/\---..
|
||||
/--x-m- /--n-n---xXx--/--yY------>>>----<<<>>]]{{}}---||-/\---..
|
||||
2024
|
|
@ -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())
|
||||
|
|
Загрузка…
Ссылка в новой задаче