Conversation
|
@tomholub it's ready for review |
FlowCrypt/src/androidTest/java/com/flowcrypt/email/util/PrivateKeysManager.kt
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/security/pgp/PgpMsg.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/security/pgp/PgpMsg.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/security/pgp/PgpMsg.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/security/pgp/PgpMsg.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/security/pgp/PgpMsg.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/security/pgp/PgpMsg.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/security/pgp/PgpMsg.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/security/pgp/PgpMsg.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/security/pgp/PgpMsg.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/security/pgp/PgpMsg.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/security/pgp/PgpMsg.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/security/pgp/PgpSignature.kt
Outdated
Show resolved
Hide resolved
tomholub
left a comment
There was a problem hiding this comment.
looks good - a few details + you also checked in some docker .log and .cache files by accident - should be gitignored. There is many of them
FlowCrypt/src/main/java/com/flowcrypt/email/security/pgp/PgpMsg.kt
Outdated
Show resolved
Hide resolved
| ignoreMdcErrors = true | ||
| ) |
There was a problem hiding this comment.
Ignoring MDC errors should only happen after user confirmed that they want to take the risk. Or do you pre-decrypt it while ignoring MDC but don't render first?
Should add a comment as this is security sensitive.
There was a problem hiding this comment.
@tomholub
Please look at these screenshots
Or do you pre-decrypt it while ignoring MDC but don't render first?
It was simpler to do
Ignoring MDC errors should only happen after user confirmed that they want to take the risk.
Should I change the logic to use this way?
There was a problem hiding this comment.
@tomholub What about this one? It seems it's the last one for the current PR.
| content = resultWithIgnoredMDCErrors.content.toString(), | ||
| content = String(resultWithIgnoredMDCErrors.content?.toByteArray() ?: byteArrayOf()), |
FlowCrypt/src/main/java/com/flowcrypt/email/ui/activity/fragment/MessageDetailsFragment.kt
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/ui/activity/fragment/MessageDetailsFragment.kt
Show resolved
Hide resolved
Do you mean |
You can definitely gitignore .log files in that dir - why not? |
It seems dovecot uses it. After moving to a new mailbox format manual changing any things in https://doc.dovecot.org/developer_manual/design/indexes/mail_index_api/#view-syncing |
|
I think log files could definitely be gitignored, it's logs after all. Won't break anything. But I'll merge it. |

This PR added verification for signed messages(inband). It means we added support for the following cases:
and
close #1097
Tests (delete all except exactly one):
To be filled by reviewers
I have reviewed that this PR... (tick whichever items you personally focused on during this review):