Uh oh!
There was an error while loading. Please reload this page.
verify signed messages(inband) - #1601
Conversation
DenBond7
commented
Dec 14, 2021
@tomholub it's ready for review |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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
Uh oh!
There was an error while loading. Please reload this page.
| 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()), |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
DenBond7
commented
Dec 15, 2021
Do you mean |
tomholub
commented
Dec 15, 2021
You can definitely gitignore .log files in that dir - why not? |
DenBond7
commented
Dec 15, 2021
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 |
tomholub
commented
Dec 15, 2021
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):