Krista Bennett
|
4e9f418797
|
Fixes for a couple of return values adjusted in recent commits; ENGINE-354: checks now in update_identity against the user pep status field.
|
4 years ago |
Krista Bennett
|
c11cf1d3f0
|
So, uh, it turns out argument order is important. Who knew? Fixed get_identity calls which would have impacted ratings when update_identity gets called without a user_id (which means it also impacts own_identities called without an own user id or .me set)
|
4 years ago |
Krista Bennett
|
a6cbccf6b9
|
Fix for ENGINE-356
|
4 years ago |
Krista Bennett
|
6577bcb2fe
|
Added prioritisation of own ids and forgotten prioritisation of recent records, necessary for update_identity to work properly; message to self now gets green from outgoing_message_rating
|
4 years ago |
Krista Bennett
|
f3aa429f86
|
ENGINE-379 and probably other problems: was calling set_identity from within set_as_pep_user, which was called by get_trust, which is called from set_identity. So... yeah. Bad.
|
4 years ago |
Krista Bennett
|
26422fbe28
|
ADD_TO_LOG and GOTO are now simply removed everywhere.
|
4 years ago |
Krista Bennett
|
bce2dc2ebc
|
ENGINE-360 and ENGINE-373 - double free fun action.
|
4 years ago |
Roker
|
29363185cf
|
fix 3 compiler warings at once. :-)
|
4 years ago |
Krista Bennett
|
cfea00fcef
|
ENGINE-360: Let's try again, shall we? Lots of fixes related to address-only identities.
|
4 years ago |
Krista Bennett
|
7f28ce85f9
|
Fixed ENGINE-364 and some test bugs. Users now much be CERTAIN to call update_identity if they need the comm_type afte trust_personal_key (this is in accord with the API)
|
4 years ago |
Krista Bennett
|
05884d0f33
|
ENGINE-360: I *think* this should take care of the no-username problem.
|
4 years ago |
Krista Bennett
|
a975ef29c3
|
ENGINE-250: foreign keys are now on and tests pass. Be aware that with the amount of time we may have been running with them off, there may be other execution paths that cause trouble. File bugs against any DB errors.
|
4 years ago |
Krista Bennett
|
29ed86ed4b
|
ENGINE-250: fixed some things, am screaming at others. Have overcome the 'insert or update' issue at least, probably.
|
4 years ago |
Krista Bennett
|
12896c3553
|
Intermittent commit
|
4 years ago |
Krista Bennett
|
9b5b161220
|
A whole horde of trust fixes (mistrust list added, tests fixed, and sneaky null string in elect key removed)
|
4 years ago |
Krista Bennett
|
9696808ead
|
shelving mistrust investigation and fixes to fry bigger fish
|
4 years ago |
Krista Bennett
|
36a0d49071
|
ENGINE-345: fix to outgoing_message_rating - set to PEP_rating_unencrypted instead of unknown
|
4 years ago |
Krista Bennett
|
5f1dc494f9
|
Urgh. Fixing bad merge (???)
|
4 years ago |
Krista Bennett
|
b6d46abe7c
|
ENGINE-332: a few tests and some bug fixes
|
4 years ago |
Krista Bennett
|
6b87c968f3
|
ENGINE-340: fixed persistence issues caused by removing mistrusted keys as defaults in ENGINE-332 branch
|
4 years ago |
Krista Bennett
|
4fac2f5289
|
ENGINE-332: key_reset_trust and key mistrust fixed
|
4 years ago |
Krista Bennett
|
1f9c04611d
|
ENGINE-332: rewrite complete, but needs checking and testing.
|
4 years ago |
Krista Bennett
|
7d12a4ed48
|
Fixed update_identity vs. myself calls in keymanagement, plus what would have been inconsistent behaviour in trust_personal_key for quite sometime (update_identity fprs have been write_only for some time, so calling it within the function without checking meant the input FPR was effectively ignored.
|
4 years ago |
Krista Bennett
|
12795fa387
|
EMPTYSTR fixes
|
4 years ago |
Krista Bennett
|
554d3db3e3
|
Fixed empty string issues
|
4 years ago |
Krista Bennett
|
c70e557d7f
|
ENGINE_289: further status propagation fixes
|
4 years ago |
Krista Bennett
|
af2257bef2
|
ENGINE-289: added propagation of initial key retrieval failure (when != PEP_KEY_NOT_FOUND) and no good key is found - when revoked/expired, PEP_KEY_UNSUITABLE + PEP_ct_key_{expired,revoked} returned
|
4 years ago |
Krista Bennett
|
58fb3ffd5e
|
ENGINE-289: tested adn tests up to key election - that comes next. Minor bug fixes in update_identity
|
4 years ago |
Krista Bennett
|
270b86be3a
|
ENGINE-289: changed initialise_own_identities to deal with default user_id aliases
|
4 years ago |
Krista Bennett
|
d438f439e4
|
ENGINE-289: added tests for myself() default user_id aliases, fixed consts in signature, fixed blacklist test issue
|
4 years ago |
Krista Bennett
|
ebe2b1b2e9
|
ENGINE-289: added default user_id aliases to myself()
|
4 years ago |
Krista Bennett
|
fb6ec0a232
|
ENGINE-289: passing tests again. Still need to revisit the myself() in MIME_encrypt (it's been pushed into encrypt's myself with a user_id check), ensure priority of own idents over other idents in update_identity in certain circumstances (when we don't know a priori that it's an own identity), and general post-apocalyptic cleanup, plus some specific tests (most cases are exercised in the test suite, but surely not all).
|
4 years ago |
Krista Bennett
|
b1d06cb7c2
|
ENGINE-289: the nightmare continues... fixed out behaviour in MIME_encrypt/decrypt (we needed to treat identities more as if we were the app in the decoded message), fixed the ct return in find_single_keys, more debugging of my own mess in refactoring and rewriting, and, oh yeah, an expired test keypair that made me freak out when my code did exactly what it was SUPPOSED to to because I didn't know it was expired.
|
4 years ago |
Krista Bennett
|
4d9f32d6a1
|
ENGINE-289: myself() changes and related fallout. Committing to merge in default.
|
4 years ago |
Krista Bennett
|
6e67c08db0
|
ENGINE-289: Per Volker, there actually CAN be multiple own IDs because different apps may use their own. Committing before I go to explore that hot mess (and start crying).
|
4 years ago |
Krista Bennett
|
9c5eb12105
|
ENGINE-289: All old tests now pass!
|
4 years ago |
Krista Bennett
|
f4074df51f
|
ENGINE-289: empty fpr on identity input now ok. removed superfluous (and incorrect) check.
|
4 years ago |
Krista Bennett
|
2a634b1b04
|
ENGINE-289: fixed bad status carryover
|
4 years ago |
Krista Bennett
|
fc8076d0ca
|
ENGINE-289: updated test and code to deal with trust correctly on elected, not-in-DB keys after revocation
|
4 years ago |
Krista Bennett
|
9d1ae406c5
|
ENGINE-289: So it compiles, but there are sql errors before we get very far. Too tired to debug tonight.
|
5 years ago |
Krista Bennett
|
df59d0eaf8
|
ENGINE-289: intermittent commit - almost compiling cleanly (yes, it's that far away from tested. It's complicated.
|
5 years ago |
Krista Bennett
|
9c615b23f1
|
ENGINE-289: intermittent commit
|
5 years ago |
Krista Bennett
|
eb3ea89deb
|
ENGINE-289: Intermittent commit - need to refactor some logic big-time.
|
5 years ago |
Krista Bennett
|
e9a85b7ea3
|
ENGINE_289: intermittent commit - shelving changes
|
5 years ago |
Krista Bennett
|
60d15e1f0a
|
ENGINE-320: intermittent commit
|
5 years ago |
Krista Bennett
|
7113ca08d8
|
ENGINE-289: shelving to work on another bug
|
5 years ago |
Krista Bennett
|
773f93278d
|
ENGINE-293: initialise_own_identities (cheap myself() only keygen/retrieval) + additional internal fprless get_identity function added so that temporary identities w/o fpr can be retrieved
|
5 years ago |
Krista Bennett
|
245b6e192e
|
ENGINE-293: Compiles and runs SOME tests. SQL and myself() fixes.
|
5 years ago |
Krista Bennett
|
7c9c55e259
|
ENGINE-293: compiling again. Need to fix test cases and see what I have wrought with the PEP_OWN_USERID removals. After that, next step is to really fix myself()
|
5 years ago |
Krista Bennett
|
42a4895cc9
|
ENGINE-293: Intermittent commit. Probably not compiling yet, but PEP_OWN_USERID is out from src where it needs to be.
|
5 years ago |