-
-
Notifications
You must be signed in to change notification settings - Fork 105
Key-contacts #6796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Key-contacts #6796
Changes from all commits
Commits
Show all changes
394 commits
Select commit
Hold shift + click to select a range
23c90df
fix receive_imf::receive_imf_tests::test_chat_assignment_adhoc
link2xt d37274d
fix test_only_minimal_data_are_forwarded
link2xt 5f0dee0
fix receive_imf::receive_imf_tests::test_no_op_member_added_is_trash
link2xt 570b767
assign incomplete messages to whatever PGP chat
link2xt e4648e9
fix receive_imf::receive_imf_tests::test_create_group_with_big_msg
link2xt 5b12fd3
clippy
link2xt 15256c9
ignore unencrypted chat-group-id
link2xt dec8cf9
fix receive_imf::receive_imf_tests::test_chat_assignment_private_chat…
link2xt e931a05
remove test_read_receipt_and_unarchive
link2xt 96e821f
fixed receive_imf::receive_imf_tests::test_unencrypted_group_id_no_re…
link2xt f308ed2
remove update_helper::tests::test_out_of_order_group_name
link2xt 7923748
remove receive_imf::receive_imf_tests::test_prefer_chat_group_id_over…
link2xt b777f28
indentation
link2xt c06e1f2
fix receive_imf::receive_imf_tests::test_rfc1847_encapsulation
link2xt 387f968
remove receive_imf::receive_imf_tests::test_chat_assignment_chat_grou…
link2xt 7876f09
remove receive_imf::receive_imf_tests::test_in_reply_to_two_member_group
link2xt 7e04f61
fix receive_imf::receive_imf_tests::test_mua_user_adds_member
link2xt de03339
clippy
link2xt a692d6d
fix test_verified_group_member_added_recovery
link2xt 0f67efd
remove test_verified_group_recovery
link2xt 23796c0
fix test_securejoin_after_contact_resetup
link2xt a997484
fix test_rename_synchronization
link2xt 914fd42
fix tests/test_0_complex_or_slow.py::test_verified_group_vs_delete_se…
link2xt ba8eccd
add is_encrypted to chatlist items
link2xt 5ba0e52
port test_name_changes from Python to Rust
link2xt 9150631
fix test_send_and_receive_will_encrypt_decrypt
link2xt e932872
fix tests/test_3_offline.py::TestOfflineChat::test_audit_log_view_wit…
link2xt 990c189
fix tests/test_3_offline.py::TestOfflineChat::test_group_chat_creation
link2xt 81bf41f
fix test_create_chat_flexibility
link2xt fde8d0c
remove test_group_chat_many_members_add_remove
link2xt 30357de
remove test_undecipherable_group
link2xt a09ae9c
fix test_synchronize_member_list_on_group_rejoin
link2xt 1acedaa
fix test_removing_blocked_user_from_group
link2xt 51e3c47
remove test_add_remove_member_remote_events
link2xt e4e8bcf
cleanup
link2xt 18f7b1a
resolve todo
link2xt 1028fa2
remove aeap_addr_changed
link2xt 7bfe247
fixes
link2xt d46bda1
format python
link2xt ec91fc0
fix thunderbird tests and clippy
link2xt 9a79edc
make clippy happy
link2xt d71d9a9
python lint
link2xt 2e5664c
rustfmt
link2xt b839ba4
python formatting
link2xt 29e0e3c
python lint
link2xt 4f4e22f
remove group tracking not working with pgp-contacts
link2xt d50795a
fixup
link2xt 3a1ddba
resolve thunderbird tests TODO
link2xt 64538fa
fix test_profile_data_on_group_leave
link2xt 16e3bf1
[WIP] Migration for PGP-contacts
Hocuri e345f97
Try to implement everything, but of course things still fail
Hocuri 8fceae4
Add a test and make it pass
Hocuri 7e8a003
formatting
Hocuri c169712
Add another test & fix problems I found
Hocuri e94b635
Migrate verifications, migration should be completely implemented now
Hocuri dae62b1
Add two more tests, without finding any bugs
Hocuri 42e7d17
Fix some things, now my personal database is correctly migrated now
Hocuri 544f23c
fix: Don't create PGP chat if none of the members can encrypt
Hocuri f160d68
feat: On error, report which SQL statement failed
Hocuri 6e2f30e
feat: Allow to open context even though migrations failed
Hocuri 0d47538
feat: Set migration error instead of re-using last_error
Hocuri 72881b2
Remove outdated TODOs
Hocuri d76237d
fix test compilation
Hocuri ca3d132
Make debug=1 again for test builds
Hocuri 4e5efc8
feat: If it's unclear who verified a contact, mark it as verified by …
Hocuri aefb1c8
Resolve TODO
Hocuri d93556b
Add one more info statement
Hocuri 952c259
clippy, formatting
Hocuri b8de6af
Small test improvements
Hocuri 640035f
fix: Prefer peerstate with newer last_seen if multiple keys have the …
Hocuri c8fb0c9
small style tweaks
Hocuri 3b22df4
fix: Keep email email contact in 1:1 chat if PGP contact has a differ…
Hocuri 24e798a
remove TODO
link2xt 0505cba
unprotect 1:1 chats with email contacts
link2xt 8fd4499
deal with NULL verifier in acpeerstates
link2xt ab94b88
mark device chat as encrypted
link2xt 303c6f6
hide non-pgp contacts from contact list
link2xt 443f75e
rustfmt
link2xt 806f067
fix python tests
link2xt 9891ca7
test fixup
link2xt b82c054
Add doc comment for get_migration_error()
Hocuri cf8a30c
typo fix
link2xt 4050d8d
typo fix
link2xt 078fde0
remove dots from errors
link2xt 8c6d12b
failing test for chat assignment
link2xt 6cb4d43
assign outgoing chat messages by references
link2xt eef17f9
comment why we dont assign the message to chat before recipient lookup
link2xt 501010a
remove TODO
link2xt 3e8e540
remove FIXME
link2xt 463f524
missingkey
link2xt 2f55190
remove securejoin timeout
link2xt 1205d09
clippy
link2xt 46752cd
Remove peerstate references
Hocuri 56a1dba
merge main
link2xt 25d9520
Update src/contact.rs
Hocuri 8946ef3
Update src/imap.rs
Hocuri 2b9b6aa
Update src/headerdef.rs
Hocuri 088746c
Update src/contact.rs
Hocuri 514c116
Update src/chat.rs
link2xt af11af9
Update src/chat.rs
link2xt c43645a
fmt
link2xt 2e9531d
move parent message lookup
link2xt c9493e7
add debug assertion
link2xt f7e609d
trash undecryptable messages before chat assignment
link2xt cf0ae7b
clippy
link2xt f89e2c0
merge main into pgp-contacts
link2xt af4e3fe
test fixup after merge
link2xt 2db72ae
rename get_pgp_chat into get_chat
link2xt b7a1538
replace ref with &
link2xt b0d52c2
replace parse with from_str
link2xt 7f29744
remove outdated comment
link2xt 1e89784
check that fingerprint is non-empty
link2xt a28670e
merge main into pgp-contacts
link2xt 207d601
Update src/tests/aeap.rs
link2xt ba65f29
fix: Assign encrypted message to PGP chat if any PGP contacts found (…
iequidoo c2a2035
merge main into pgp-contacts
link2xt 72614b0
test: add failing test where email contacts are added to PGP-chat
link2xt 224f4d0
fix: Encrypt broadcast list in PGP-contacts migration (#6858)
Hocuri 4dc0674
fix mailinglist reason, no broadcast there
link2xt ee53a54
Add ChatAssignment enum
link2xt 0c35aa3
No need to check for 1 recpient once we decided on 1:1
link2xt 3acfbe6
pass chat_assignment to add_parts
link2xt fd1eb7d
WIP: use chat assignment in add_parts
link2xt 546e0ea
some ChatAssignment for outgoing messages
link2xt 6a5df61
move parent message filtering out of add_parts
link2xt 0d3e6f0
trash MDNs early
link2xt 02bdff1
never allow chat creation by MDN
link2xt 7afcd7d
remove outdated comment
link2xt 48e840d
trash DSN early
link2xt 200248f
trash more messages early
link2xt fb78402
trash webxdc status updates early
link2xt dfe9d7e
trash outgoing undecryptable messages early
link2xt 1073b0b
doc comment
link2xt b8fe657
ChatAssignment::Trash
link2xt 75ce32a
rustfmt
link2xt eda5f56
simplify allow_creation
link2xt 15ba0a1
move trash chat assignment
link2xt 91ae9d8
don't disallow trash chat creation
link2xt cc8bc70
clippy
link2xt d5b70ca
unused field
link2xt 2cd6d3f
clippy
link2xt 2dd96f8
is_probably_private_reply not called for messages with group ID
link2xt 9cb5e09
encrypt test_send_reaction_multidevice
link2xt e9f198d
less contact IDs
link2xt c3db92b
simplify lookup_chat_by_reply
link2xt 7dc1754
remove special case for alias support
link2xt aef2029
pass non-optional message into lookup_chat_by_reply
link2xt 324204b
remove some dead code
link2xt 44f0045
lookup_chat_by_reply refactor
link2xt 62ccdb7
factoring out chat lookup by references
link2xt e679932
not too many arguments
link2xt da60ab6
ChatAssignment::ExistingChat
link2xt 9a7078e
derive debug for chat assignment
link2xt 99a2185
no non-members in 1:1 chats
link2xt 85edc8d
trash classic emails early
link2xt 792cf23
remove always-true check
link2xt 98fcd09
process ChatAssignment::MailingList
link2xt e70b5ce
no wildcard match on ChatAssignment
link2xt e3f2946
unblock any chats for outgoing messages
link2xt 66a3dfc
group chat assignment
link2xt 279640b
refactoring
link2xt 9ba0ad0
do not unassign messages from chats
link2xt 205c8a2
group chat assignment
link2xt 6f60473
assign chat_id_blocked
link2xt 588b85b
move chat assignment closer to the beginnig for add_parts
link2xt 329c36e
group group_changes
link2xt 950f9a3
group chat assignment more
link2xt d49e8ba
direct check for has_chat_version
link2xt 6fb0596
almost immutable chat_id
link2xt 081204c
immutable chat_id
link2xt 9bf73ad
immutable needs_delete_job
link2xt d5d1d39
more stuff after chat assignment
link2xt d27e850
prevent_rename after chat assignment
link2xt e717183
remove restore_protection
link2xt fba5ca3
factor out do_chat_assignment
link2xt 552d86d
clippy
link2xt e6a79fb
call do_chat_assignment from receive_imf
link2xt b31b935
clippy
link2xt 3d1d1e4
log chat assignment
link2xt 5d456f0
lookup pgp contacts for existing PGP-chat
link2xt 65bd25b
test fixup
link2xt 6525a24
remove test_protected_group_reply_from_mua
link2xt e0b84b7
encrypt test_subject_in_group
link2xt b3adddc
Allow to assign partial downloads to encrypted chats
link2xt 827e39c
do not lookup adhoc group for 1:1 chat
link2xt 430cfe3
cleanup
link2xt 881f8ff
do not ignore unencrypted Chat-Group-ID
link2xt b3ead8c
clippy
link2xt be41b24
merge main into pgp-contacts
link2xt 839630f
merge pgp-contacts into chat-assignment
link2xt 7ddbc19
Update src/receive_imf.rs
link2xt 780afc4
Update src/receive_imf.rs
link2xt d72fcb9
Update src/receive_imf.rs
link2xt 6deff15
document ExistingChat
link2xt eef4c63
Test assigning unencrypted messages with Chat-Group-ID to adhoc groups
link2xt f449f08
remove comment about OutDelivered
link2xt 0455463
Update src/receive_imf.rs
link2xt 10020f7
adjust GroupChat comment
link2xt 4688b0b
Update src/receive_imf.rs
link2xt 5bbe565
extract decide_chat_assignment
link2xt ba267d4
clippy
link2xt 239174f
Update src/receive_imf.rs
link2xt fd225ca
Update src/receive_imf.rs
link2xt 67add91
lint/fmt
link2xt 6d764a4
Merge pull request #6868 from chatmail/link2xt/chat-assignment
link2xt 3abcc3a
merge main into pgp-contacts
link2xt 8774505
perf: Cache self fingerprint instead of loading it every time (#6865)
Hocuri e4cb2f4
Update deltachat-jsonrpc/src/api/types/chat_list.rs
link2xt f920d67
Update deltachat-jsonrpc/src/api/types/chat.rs
link2xt 70ce56c
Update deltachat-jsonrpc/src/api/types/chat.rs
link2xt b93ce5a
deprecate DC_STR_E2E_PREFERRED
link2xt 5445712
deprecate more strings
link2xt 4aeb2a7
rustfmt
link2xt 67fea3a
rename add_or_lookup_pgp_contact into add_or_lookup_contact_no_key
link2xt d811d7d
Rename is_partial_download into find_pgp_contact_by_addr
link2xt 7b32523
test
link2xt 8adce32
Lookup PGP contacts only for multipart/encrypted messages
link2xt a6b5645
make lookup_pgp_contact_by_fingerprint safer
link2xt ce995bc
remove TODO
link2xt e4d7229
merge main into pgp-contacts
link2xt a594978
Update src/mimefactory.rs
link2xt 0658fd8
Update src/securejoin.rs
link2xt 1602b66
rustfmt
link2xt 24edee8
check if the key is available in encryption info
link2xt cbd4662
add key missing note to chat encryption info
link2xt 7f9c6b9
comment for None to_id
link2xt e0607b3
feat: If any group member is in RESET peerstate, downgrade to Ad-Hoc…
Hocuri 4eb1a5e
feat: Show an email-avatar for email-contacts and email-chats (#6916)
Hocuri 9909fb8
doc: Adapt the comment on `MessageObject.showPadlock` (#6925)
Hocuri 2e78116
merge main into pgp-contacts
link2xt e519b62
merge again
link2xt 54ca1c5
feat: increase DCBACKUP_VERSION with PGP-contacts (#6929)
Hocuri 4f160a6
feat: get_showpadlock() returns true for device messages (#6931)
Hocuri c0cf4e7
fix: Also migrate messages in PGP-contacts migration (#6921)
Hocuri 7ccab83
add TODOs for cases where group has multiple members with same address
link2xt c7074b0
clippy fix
link2xt 4ebb230
extract get_to_and_past_contact_ids
link2xt 167dd26
comment fixes
link2xt 3fd47dc
extend test_get_contacts
link2xt ad8b322
add warnings for ignored securejoin messages
link2xt fa3f53a
merge main into pgp-contacts
link2xt 43fe599
rustfmt
link2xt b647868
compress email contact png
link2xt 3a32cc7
reword pgp_contacts to key_contacts
r10s 1716505
update golden tests
r10s 55e6835
reword email_contacts to address_contacts
r10s 733675e
stay specific in the docs
r10s 55ba1e8
also change to add_or_lookup_address_contact*(), even if referenced i…
r10s 08443f1
Merge pull request #6938 from chatmail/r10s/key-contacts
link2xt 877cf0f
encrypted chat
link2xt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unable to render rich display
Invalid image source.
Unable to render rich display
Invalid image source.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
BEGIN:VCARD | ||
VERSION:4.0 | ||
EMAIL:self_reporting@testrun.org | ||
FN:Statistics bot | ||
KEY:data:application/pgp-keys;base64,xjMEZbfBlBYJKwYBBAHaRw8BAQdABpLWS2PUIGGo4pslVt4R8sylP5wZihmhf1DTDr3oCMPNHDxzZWxmX3JlcG9ydGluZ0B0ZXN0cnVuLm9yZz7CiwQQFggAMwIZAQUCZbfBlAIbAwQLCQgHBhUICQoLAgMWAgEWIQTS2i16sHeYTckGn284K3M5Z4oohAAKCRA4K3M5Z4oohD8dAQCQV7CoH6UP4PD+NqI4kW5tbbqdh2AnDROg60qotmLExAEAxDfd3QHAK9f8b9qQUbLmHIztCLxhEuVbWPBEYeVW0gvOOARlt8GUEgorBgEEAZdVAQUBAQdAMBUhYoAAcI625vGZqnM5maPX4sGJ7qvJxPAFILPy6AcDAQgHwngEGBYIACAFAmW3wZQCGwwWIQTS2i16sHeYTckGn284K3M5Z4oohAAKCRA4K3M5Z4oohPwCAQCvzk1ObIkj2GqsuIfaULlgdnfdZY8LNary425CEfHZDQD5AblXVrlMO1frdlc/Vo9z3pEeCrfYdD7ITD3/OeVoiQ4= | ||
REV:20250412T195751Z | ||
END:VCARD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.