Commit Graph

319 Commits (7e039df16aa987bcb24ff76d841904c53a6404c1)

Author SHA1 Message Date
positron 7e039df16a remove keyserver lookup
Remove keyserver functionality in keymanagement.c and in the API, including
now useless callbacks.
2 years ago
Krista Bennett 0948a3c4a2 ENGINE-952: ownership transfer instead of strdup 2 years ago
Krista Bennett 101d40207e ENGINE-939: If we're not going to import keys from 2.0 messages, we need to guarantee it's not the default setting anywhere for new pEp users. (This was changed as a last minute fix before KER was checked in and unfortunately didn't trigger test failures.) 2 years ago
Krista Bennett b176506d3e ENGINE-811: Removed blacklisting. Tables won't be removed, but all statements and functions accessing them are now gone. 2 years ago
Krista Bennett efde49fb78 ENGINE-828: removed username from matching heuristics in update_identity 2 years ago
Krista Bennett 6e055fc73b commit to transfer to other machine - in the middle of removing username checks on update_identity 2 years ago
Krista Bennett c0d9704475 ENGINE-928: Ported set_comm_partner_key() from Release_2.1 2 years ago
Krista Bennett 2ce7baab83 ENGINE-633: Fixed error with update_identity - now, if a default key is unsuitable and there is no other available key in the trust db (meaning it's been assigned as a default at some time) for this identity, we return no key, PEP_ct_key_not_found, and PEP_STATUS_OK, *not* PEP_KEY_UNSUITABLE, since there is no key returned. key-related functions will still return that status. 2 years ago
Krista Bennett 276aca5030 ENGINE-878: forgot new sql would impact myself under the kinda-spec, so fixed this. Again, see https://dev.pep.foundation/Engine/UserPseudonymity 2 years ago
Krista Bennett 445986871c Merge branch 'master' into ENGINE-633 - 63 broken tests now, which, you know, is probably 20 broken group encryption tests plus the 43 broken before I abandoned this branch 200 years ago... 2 years ago
Krista Bennett ce6bc5822d Oops. ENGINE-911: forgot to add files. 2 years ago
Krista Bennett e560a80d3e ENGINE-606 squash commit 2 years ago
Sofia 3268aaace0 merge in master 2 years ago
Krista Bennett 38ed5b5f25 ENGINE-866 feature branch merge (squashed commit) of functionality to set the sticky bit for manually imported keys, to query for that bit in the trust database, and prevention of automatic reset of sticky keys by key reset when devices leave a device group.
Squashed commit of the following:

commit c64d850dc4
Author: Krista Bennett <krista@pep.foundation>
Date:   Fri Feb 26 15:29:32 2021 +0100

    ENGINE-866: doc'd bit getter function

commit ad725b5b7c
Author: Krista Bennett <krista@pep.foundation>
Date:   Fri Feb 26 15:23:49 2021 +0100

    ENGINE-866: Key reset tested on mixed sticky and not sticky keys and does what it should.

commit 0ffbdde7b5
Author: Krista Bennett <krista@pep.foundation>
Date:   Fri Feb 26 15:13:53 2021 +0100

    ENGINE-866: Add boolean for whether to set the sticky bit or not with set_own_imported_key. the adapter should filter this out for apps, I guess, according to Volker

commit 23fec59a9a
Author: Krista Bennett <krista@pep.foundation>
Date:   Fri Feb 26 14:53:19 2021 +0100

    ENGINE-866: Test and use the sticky bit

commit 562239fda8
Author: Krista Bennett <krista@pep.foundation>
Date:   Thu Feb 25 16:47:47 2021 +0100

    ENGINE-866: moved bit from key to trust, created set_own_imported_key to replace set_own_key FOR MAIL APPS (does NOT replace it for key reset, as the new function can generate a passphrase error, whereas set_own_key cannot), and did an initial test to ensure the setter/getter functions work on the DB.

commit 594133cfde
Author: Krista Bennett <krista@pep.foundation>
Date:   Wed Feb 24 11:16:21 2021 +0100

    Commented out the or'd identity.flags / pgp_keypair.flags in the sql code for the get_identity functions; we've never HAD a pgp_keypair flag before, so it never hurt before, but at this point, we're going to introduce them, and I don't want trouble. If fdik wants them or'd, fine, we'll have to change the values in the keyflags to be disjoint from the identity flags so they can coexist, but for now, they are out.

commit 99831445b3
Merge: 8ba53ece d1664cf5
Author: Krista Bennett <krista@pep.foundation>
Date:   Wed Feb 24 10:15:53 2021 +0100

    Merge branch 'master' into ENGINE-866

commit 8ba53ece06
Merge: 168e2cf9 c52f4d39
Author: Krista Bennett <krista@pep.foundation>
Date:   Mon Feb 22 20:06:08 2021 +0100

    Merged in engine_sql changes

commit 168e2cf957
Author: Krista Bennett <krista@pep.foundation>
Date:   Mon Feb 22 19:03:35 2021 +0100

    ENGINE-866: Added sticky bit in database for manually set keys
2 years ago
Sofia Balicka ce528b3c46 more comments 2 years ago
Krista 'DarthMama' Bennett 4429fa0292 Merged in default - still have lots of failing tests, but can't fix that until Volker specifies whatever it was he was supposed to specify here, the thread has definitely been lost. Again. 2 years ago
Krista 'DarthMama' Bennett 9c2a11633e merged in default 2 years ago
Krista 'DarthMama' Bennett cef2e66d10 ENGINE-832: fixed eval of return values. In these cases, the only relevant error status is OUT_OF_MEMORY; otherwise, we continue. 2 years ago
Krista 'DarthMama' Bennett d3653c695c ENGINE-835 ENGINE-840: Memory leaks in update_identity + identity_dup missing enc_format in copy 2 years ago
Krista 'DarthMama' Bennett 890bdf2aa2 ENGINE-834: NULL checks 2 years ago
Krista 'DarthMama' Bennett 2b4f0761b9 ENGINE-836: handle enomem return from elect_pubkey 2 years ago
Krista 'DarthMama' Bennett 8a7fc79a3a internal function comment stubs 3 years ago
Krista 'DarthMama' Bennett 052c158447 ENGINE-633: fixed some bugs with key removal for pEp users if expired, but am stuck on some TOFU cases, so progress is stalled somewhat. 3 years ago
Krista 'DarthMama' Bennett 6741a6c735 ENGINE-633: little bugs make big problems (argument order screwed up in import_keys_from_decrypted_message, failure to initialise comm_type in validate_fpr) 3 years ago
Krista 'DarthMama' Bennett 14a4e15ab0 ENGINE-633: fixed some storage behaviour. More to go. 3 years ago
Krista 'DarthMama' Bennett adb2ac3566 ENGINE-633: allow update_identity to merge and return record when all other conditions are met but name matching fails because both names are 'weak' (either NULL or a copied in address) 3 years ago
Krista 'DarthMama' Bennett 2588ddf638 ENGINE-633: copy-paste failure 3 years ago
Krista 'DarthMama' Bennett 9ada278ffd ENGINE-633: merged in second refactoring try. 3 years ago
Krista 'DarthMama' Bennett ebf4d7dde0 some comments 3 years ago
Krista 'DarthMama' Bennett 24b49f390e Ok, second try at update_identity refactor. This time, with the power of logic minimization tools... 3 years ago
Krista 'DarthMama' Bennett 97156fcbe4 ENGINE-633: Hrmph, fixed part of a bug, but strange things are afoot at the Circle K. Committing to get tasty branch diff editing action. 3 years ago
Krista 'DarthMama' Bennett d57f63d1dd ENGINE-633: compiles, but tons of tests fail. First major refactor of update_identity; that it fails is not a surprise, especially since many tests must explicitly set key now 3 years ago
Krista 'DarthMama' Bennett be2ebdf804 ENGINE-633: we don't remove keys for the time being with election, so we have to expect different behaviour in the tests. 3 years ago
Krista 'DarthMama' Bennett aac1844f16 added ENGINE-781 3 years ago
Krista 'DarthMama' Bennett b036c8f14b ENGINE-781: hey, at least it doesn't break stuff. Existing tests pass. 3 years ago
Krista 'DarthMama' Bennett 1327a2d5ad merged in default 3 years ago
Krista 'DarthMama' Bennett 746d1ecc54 Fixed weird _myself username overwrite. 3 years ago
Krista 'DarthMama' Bennett 8ec97efd89 Fixed problem with cleaning up bad user default keys. 3 years ago
Krista 'DarthMama' Bennett 1281ebc358 merge heads 3 years ago
Krista 'DarthMama' Bennett 5c105f2a82 ENGINE-775: _myself, validate_fpr, update_identity, etc, updated to only renew when safe to do so. Recip lists will no longer trigger renewal or keygen 3 years ago
Volker Birk eabc9bb7f2 signal SynchronizeGroupKeys on set_own_key() 3 years ago
Krista 'DarthMama' Bennett d0fd825b5e ENGINE-775: encrypt_message, identity_rating, set_own_key, trust_personal_key, update_identity, get_valid_pubkey 3 years ago
Krista 'DarthMama' Bennett f5cc07bb10 ENGINE-775: myself 3 years ago
Krista 'DarthMama' Bennett b7fd1a067b ENGINE-775: validate_fpr 3 years ago
Krista 'DarthMama' Bennett a460195780 merged in default 3 years ago
Krista 'DarthMama' Bennett 868d5d188b clean_own_key_defaults moved to DYNAMIC_API - to be called by adapter on first session and not by init() 3 years ago
Krista 'DarthMama' Bennett 591c699e40 merged in default 3 years ago
Krista 'DarthMama' Bennett e313786dbc inconsistent state, but I have to stop shelving this 3 years ago
Krista 'DarthMama' Bennett 956baab8e2 ENGINE-767: fixed get_identities/update_identity stuff - doouble check more in the morning. Partial test. 3 years ago
Krista 'DarthMama' Bennett 6d33475435 some doxygen stuff. might not be kept. 3 years ago