Property 'verified' is not set after successful signature verification #1491
Replies: 2 comments 8 replies
-
The verified flag was converted to a symbol in v5, and it is not meant to be externally accessible. That said, we've also changed What's the intended use for the result of |
Beta Was this translation helpful? Give feedback.
-
@larabr Also, if export class SignaturePacket extends BasePacket {
...
public verified: null | boolean;
...
} |
Beta Was this translation helpful? Give feedback.
-
Following code in
async verify(key, signatureType, data, ...
breaks following use case (Typescript, source code origin: https://github.com/FlowCrypt/flowcrypt-ios/, please note: this code is "source available", but not open source):
After calling
await key.getExpirationTime(); // will force all sigs to be verified
we expect signatures to be verified, however when enumerating signatures,verified
is not set.I could solve it by changing all
this[verified]
intothis.verified
.Additional info:
Extra stuff used here:
Beta Was this translation helpful? Give feedback.
All reactions