thaler icon indicating copy to clipboard operation
thaler copied to clipboard

Problem: mismatch between certificate validity and expiration

Open tomtau opened this issue 5 years ago • 3 comments

it'll be ideally verified they match / are equal to a compile-time constant

tomtau avatar Jul 27 '20 07:07 tomtau

@tomtau By verified, do you mean runtime verification or compile time verification?

devashishdxt avatar Jul 27 '20 11:07 devashishdxt

runtime.

one other thing is that for enclave-to-enclave communication, one can't use Utc::now(), so should be either genesis time or last block time from light client. one one needs to check "valid_from" which would indicate there are newer blocks / later time, but it wasn't fed into the enclave

tomtau avatar Jul 28 '20 02:07 tomtau

this can also improve the naming of struct fields

tomtau avatar Aug 26 '20 08:08 tomtau