Luca Saiu
7e039df16a
remove keyserver lookup
Remove keyserver functionality in keymanagement.c and in the API, including
now useless callbacks.
9 months ago
Krista Bennett
0948a3c4a2
ENGINE-952: ownership transfer instead of strdup
10 months 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.)
11 months ago
Krista Bennett
b176506d3e
ENGINE-811: Removed blacklisting. Tables won't be removed, but all statements and functions accessing them are now gone.
11 months ago
Krista Bennett
efde49fb78
ENGINE-828: removed username from matching heuristics in update_identity
11 months ago
Krista Bennett
6e055fc73b
commit to transfer to other machine - in the middle of removing username checks on update_identity
11 months ago
Krista Bennett
c0d9704475
ENGINE-928: Ported set_comm_partner_key() from Release_2.1
12 months 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.
1 year 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
1 year ago
Krista Bennett
ce6bc5822d
Oops. ENGINE-911: forgot to add files.
1 year ago
Krista Bennett
a54046cbd7
.
1 year ago
Krista Bennett
e560a80d3e
ENGINE-606 squash commit
1 year 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
1 year ago
Sofia Balicka
ce528b3c46
more comments
1 year 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
2 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.
2 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)
2 years ago
Krista 'DarthMama' Bennett
14a4e15ab0
ENGINE-633: fixed some storage behaviour. More to go.
2 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)
2 years ago
Krista 'DarthMama' Bennett
2588ddf638
ENGINE-633: copy-paste failure
2 years ago
Krista 'DarthMama' Bennett
ebf4d7dde0
some comments
2 years ago
Krista 'DarthMama' Bennett
24b49f390e
Ok, second try at update_identity refactor. This time, with the power of logic minimization tools...
2 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.
2 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
2 years ago
Krista 'DarthMama' Bennett
b036c8f14b
ENGINE-781: hey, at least it doesn't break stuff. Existing tests pass.
2 years ago
Krista 'DarthMama' Bennett
746d1ecc54
Fixed weird _myself username overwrite.
2 years ago
Krista 'DarthMama' Bennett
8ec97efd89
Fixed problem with cleaning up bad user default keys.
2 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
2 years ago
Volker Birk
eabc9bb7f2
signal SynchronizeGroupKeys on set_own_key()
2 years ago
Krista 'DarthMama' Bennett
d0fd825b5e
ENGINE-775: encrypt_message, identity_rating, set_own_key, trust_personal_key, update_identity, get_valid_pubkey
2 years ago
Krista 'DarthMama' Bennett
f5cc07bb10
ENGINE-775: myself
2 years ago
Krista 'DarthMama' Bennett
b7fd1a067b
ENGINE-775: validate_fpr
2 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()
2 years ago
Krista 'DarthMama' Bennett
e313786dbc
inconsistent state, but I have to stop shelving this
2 years ago
Krista 'DarthMama' Bennett
956baab8e2
ENGINE-767: fixed get_identities/update_identity stuff - doouble check more in the morning. Partial test.
2 years ago
Krista 'DarthMama' Bennett
6d33475435
some doxygen stuff. might not be kept.
2 years ago
Krista 'DarthMama' Bennett
0e0be8865d
ENGINE-750: added myself() call - will adjust tests, which fail for a good (but invalid) reason now
2 years ago
Krista 'DarthMama' Bennett
b5ae1c5320
ENGINE-750: left join to allow get_identity to return records when there are no keys
2 years ago
Krista 'DarthMama' Bennett
d9e7085056
ENGINE-750: Untested as yet.
2 years ago
Volker Birk
de1bb2ad84
allow default PEP_OWN_USERID in _myself()
2 years ago
Krista 'DarthMama' Bennett
3abc859b37
ENGINE-716: moved fix into pgp_sequoia.c, now check for address==username
2 years ago
Krista 'DarthMama' Bennett
961d702ddc
gnupg, netpgp purged from code
2 years ago
Volker Birk
bf825cd941
removing comment, which is not true any more
2 years ago
Krista 'DarthMama' Bennett
785ea9a8d1
Fix for empty usernames and URI addresses - we now allow passing NULL into generate_keypair. Underlying crypto wrappers will have to deal with the need for a username by their implementations individually (sequoia will deal with this if it's NULL, but not if we feel it an explicit URI)
2 years ago
Volker Birk
72ee5f8f6f
cleanup
2 years ago
Volker Birk
f9aca64aba
clearer
2 years ago