Try to verify later / Update CoreData
Add a function such that after importing a public key we try to verify mails which are signed but not correctly ( sigState = SignatureState.NoPublicKey variable exists in PersistentMail). To be able to do so, first some changes have to be made such that the signature is saved in persistent mail.
Therefore the core Data needs to be updated. New attributes needed in PersistenMail:
- attachedSignature: Data?
- isKeyImported: Bool (for the UI team)
- reverse relation between PresistentMail and SecretKey called "relatedSecretKey"
Edited by maik65