Commit Graph

231 Commits (7e039df16aa987bcb24ff76d841904c53a6404c1)

Author SHA1 Message Date
Krista Bennett 864b46d597 Fixed Engine Version - convention should be last release +1 on the patch release number. This needs to be done when releasing.
5 years ago
Krista Bennett f49d137edb Merged in default (including ENGINE-463) - tests pass
5 years ago
Krista Bennett 35a17cf8d3 ENGINE-463: get_trust_by_userid
5 years ago
Krista Bennett f3a44b18b0 ENGINE-463 - get_identities_by_userid
5 years ago
Krista Bennett eb03140c2d ENGINE-463 - delete person
5 years ago
Krista Bennett dcdb628692 ENGINE-398: merging key reset into sync; key reset needs some adjustments. Not compiling yet.
5 years ago
Krista Bennett da985ff3a3 ENGINE-398: removal of key from db after reset
5 years ago
Krista Bennett 6e4456a1f1 ENGINE-398: Moved key_reset into its own files
5 years ago
Krista Bennett 158f6efbd6 ENGINE-398: removed key_reset functionality from key_mistrust; need to adjust a test or two.
5 years ago
Krista Bennett 886f8bb94a ENGINE-398:key_reset in, and compiling again.
5 years ago
Volker Birk b67cd478bf ...
5 years ago
Volker Birk c9b8b3c33f ...
5 years ago
Volker Birk 5eed70d884 ...
5 years ago
Volker Birk c6c73fef61 ...
5 years ago
Volker Birk 6e51602c03 ...
5 years ago
Volker Birk dc0a6e7325 ...
5 years ago
Krista Bennett fe04c71b27 ENGINE-398: reset notification (outgoing)
5 years ago
Krista Bennett dcdbc706a8 Removed ENGINE-427 from default - agreed on testing protocol with Claudio
5 years ago
Krista Bennett f71220e4d2 ENGINE-450 - added gpg-agent.conf to hotfix. This will be the last 1.0.441 commit if there are not other bugs.
5 years ago
Krista Bennett 9e04369641 ENGINE-427: Always commit all your compilation errors is what I say. (Nobody listen to what I say, please.)
5 years ago
Krista Bennett 414bc5bb26 ENGINE-427: Hoorah, I crossed the streams. Didn't they say never cross the streams? (I hate that movie.) Anyway, wrong branch, so committing so I can graft.
5 years ago
Krista Bennett 47a3f7d53d ENGINE-434: version ints
5 years ago
Krista Bennett 08ace7a490 shelving to debug other things
5 years ago
Krista Bennett eaa1db8006 ENGINE-398: added social graph, but of course sqlite3 is complaining.
5 years ago
Krista Bennett 93a9bf8934 Pseudo-grafted updated test code from ENGINE-434, since it seems it may be a while til those discussions take place.
5 years ago
Krista Bennett 097b196755 ENGINE-423: partial implementation of reencrypt functionality. Stashing changes to check another bug.
5 years ago
Krista Bennett 503bc6ae78 Deprecated and replaced misspellings of 'compromised' and 'secret' in the API and constants. Nothing should be broken for existing implementations.
5 years ago
Volker Birk 476e31491a explicit conversions
5 years ago
Krista Bennett ec3552830e ENGINE-294: blacklisting is now only checked in identity_rating, outgoing_message_rating and encrypt_message, and then only for OpenPGP comm_types.
5 years ago
Krista Bennett cca3499098 set_pep_user also updates all of its trust values in the DB; validate_fpr also upgrades to pEp it what it returns when there's a pep user
5 years ago
Krista Bennett 26422fbe28 ADD_TO_LOG and GOTO are now simply removed everywhere.
5 years ago
Krista Bennett d528a5bfa8 ENGINE-250: Pretty sure the current bugs are now actual bugs and not sql-related. But will check. insert-or-replace for identity-based set functions is now replaced with a slightly convoluted callback mechanism which does a check for existence and then updates or inserts appropriately, with optional transaction guards (to be set to false if they're called in what's already a transaction, e.g. set_identity)
5 years ago
Krista Bennett 29ed86ed4b ENGINE-250: fixed some things, am screaming at others. Have overcome the 'insert or update' issue at least, probably.
5 years ago
Krista Bennett 59c117acf6 Merged in ENGINE-352
5 years ago
Krista Bennett 9b5b161220 A whole horde of trust fixes (mistrust list added, tests fixed, and sneaky null string in elect key removed)
5 years ago
Krista Bennett 482e5cc642 ENGINE-352: put in the mechanism to attach an is_pep mechanism for the user; tacking pEp messages is complicated, however, as it seems we've also always fouled up when we checked on that (we don't check what key it's encrypted with before we declare whatever key gets retrieved by update_identity is the same, and then set the comm_type on that, which could be the wrong key.) So that's the next fix.
5 years ago
Krista Bennett 9696808ead shelving mistrust investigation and fixes to fry bigger fish
5 years ago
Krista Bennett 5f1dc494f9 Urgh. Fixing bad merge (???)
5 years ago
Krista Bennett 2d9248e70b missed ifdef for Outlook for pEp subj
5 years ago
Krista Bennett 02771169d5 SYNC HAS RETURNED. Keysync still removed from Engine.
5 years ago
Krista Bennett 6b51966b22 Removed all 2-party keysync components from engine.
5 years ago
Krista Bennett 2cdb226e0f ENGINE-288: now generating exciting (and different) message IDs for the external envelope when sending a 2.0 message
5 years ago
Krista Bennett e590c3cff2 New engine minor version in for release
6 years ago
Krista Bennett 5bddee0064 merged in default
6 years ago
Krista Bennett c550cdb776 ENGINE-254: ENGINE-266: undo function now in pEpEngine for last mistrust action
6 years ago
Krista Bennett ee4e838e17 ENGINE_214: intermittent commit
6 years ago
Krista Bennett 4f3ba9e8b0 ENGINE-214: actually works, but will need to be changed due to need to encapsulate message version in protected part of message. Infrastructure to do that comes in with this commit, but we need to refactor _decrypt_message in order to do everything cleanly. Branching for ENGINE-262 and will return to this branch once done with refactor.
6 years ago
Krista Bennett 70429c8a6c merged in default
6 years ago
Krista Bennett d67823f2e8 Added NOLOG define so that -DNOLOG can be used to shut down debug logs when not using -NDEBUG (we still need our asserts in testing even when we don't want logs ;)
6 years ago
Krista Bennett defbd7c8fe ENGINE-247: Initial commit - tests need to be cleaned up and are failing for weird reasons.
6 years ago
Damiano Boppart 9603f39bfd Add make variable to select os-provided sqlite3 library
6 years ago
Edouard Tisserant b84a7282f1 ENGINE-226 identity->me => _identity_me()
6 years ago
Roker 1db08290d8 rename macro ERROR(x) into ADD_TO_LOG(x) to avoid problems on MSVC
6 years ago
Volker Birk 528b11853b extending logging features
6 years ago
Krista Bennett 05af81498a ENGINE-209: commit before travel. Updated a lot of mistakes, but need to fix a compiler error.
6 years ago
Krista Bennett 51a5b10a16 ENGINE-209: compiling again
6 years ago
Krista Bennett c5a93381de ENGINE-209: shelving changes quickly
6 years ago
Roker 3fa5af32a6 merge "default" into my branch
6 years ago
Roker 07ce93a741 merge "default" into "ENGINE-199"
6 years ago
Edouard Tisserant 3a5010ac24 ENGINE-183 remove session.use_only_own_private_keys, and add existing priv keys to own_keys table at initial startup. Also added fpr from own_keys to own_key_is_listed, influencing result of ellect_own_key.
6 years ago
Edouard Tisserant 72e7770638 Factorized and reworked fingerprint comparison code
6 years ago
Roker 0b1e124322 use ERROR() and GOTO() to fill the error stack.
6 years ago
Roker de260127c3 add stringlist_t errorstack to session and functions to deal with it, when -DDEBUG_ERRORSTACK
6 years ago
Edouard Tisserant 72a8ae0f0a merged
6 years ago
Krista Grothoff 6e01c347d8 gpg and internal API changes for ENGINE-172 implemented and tested (no-sign); no-key not in yet
6 years ago
Edouard Tisserant 99fc922a19 Added stdout logging in debug mode. Moved android logging code.
6 years ago
Edouard Tisserant 5f7e8e3068 KeySync: ensure that UUID is the same for every session attached to a a sync session
6 years ago
Hussein Kasem 8201594073 add log for android to be able to see what is happening while syncing on "realtime"
6 years ago
Edouard Tisserant 38b6e9e090 SYNC added fpr/address spoofing protection
6 years ago
Volker Birk e4cfb490c6 adding license info to each file
6 years ago
Edouard Tisserant 67bd521e8d sync: distinguish management pointer (for queuing sync_messages, i.e. sync job 'management') from obj pointer (for sending email messages, notifying user, alias sync 'object'), thus following original design convention
6 years ago
Edouard Tisserant def6e4a100 ENGINE-133 added state 'payload' pointer to data attached to the state, allocated/dealocated on transitions. This state payload allows spontaneous transitions having no context (i.e. timeout) to get some context about the state. It can be used in other cases like checking that received group keys are from the partner we expect (TODO)
6 years ago
Edouard Tisserant 2c2b1fbe74 ENGINE-133 added more feedback for the app in case of handshake success or failure, because of timeout
6 years ago
Edouard Tisserant 601a5f7ce7 ENGINE-140 #comment Added own_keys table, linking pgp_keypair to identity in case user_id = PEP_OWN_USERID.
6 years ago
Edouard Tisserant 969ac0b290 ENGINE-140: now send all keys that have been at some point used as own key _on that device_
6 years ago
Edouard Tisserant db02af6131 ENGINE-121 #comment keep (i.e. not consume) updateRequests until expiry. added inhibit time on some event to prevent re-uptake of updateRequests and cannotDecrypt, otherwise looping and flooding mailbox
7 years ago
Krista Grothoff 64906852a6 ENGINE-112: #comment Fixed empty fpr problems in stored identities which occurred due to blacklisting. When adding other keys, we now check to see if there is a matching identity entry which lacks an fpr and, if so, we update it instead of adding a new one. Also fixed elect_pubkey NOT to return blacklisted pubkeys.
7 years ago
Edouard Tisserant 93cb3b6ea2 sync : attach_sync_session
7 years ago
Edouard Tisserant 1f946d3bfe sync : added get_device_group sql stuff
7 years ago
Edouard Tisserant 031eb7ac43 sync : added set_device_group sql stuff
7 years ago
Volker Birk fdf780bc31 implementing keep_sync_msg flag
7 years ago
Volker Birk 722b461274 that's default anyway
7 years ago
Volker Birk e3f505b57c fixes
7 years ago
Volker Birk fa01104f3c filtering owns
7 years ago
Volker Birk 1458119c84 sequence update
7 years ago
Volker Birk 66bb4020a0 sequences
7 years ago
Volker Birk 5cc75371ae restructuring things (will not build)
7 years ago
Volker Birk eae4c92185 adding get_own_addresses()
7 years ago
Volker Birk becce8c271 empty address allowed for myself()
7 years ago
Volker Birk c8fd579fca ...
7 years ago
Volker Birk ff6283c288 adding set_identity_flags()
7 years ago
Volker Birk 58ea3b10be updatable management.db
7 years ago
Krista Grothoff 5e5552a279 revised for 3-number revisions. So this is 0.7.0. Only version format changed.
7 years ago
Krista Grothoff 405028c440 Updated version number
7 years ago
Volker Birk 3a305b4e8d limit size of key attachements and their number per mail for import
7 years ago
Volker Birk c85cc62757 keysync ...
7 years ago
Edouard Tisserant cdc6a9d4a1 added use_only_own_private_keys (testing)
7 years ago
Edouard Tisserant fd93f8e74a merge
7 years ago
Volker Birk 940f9ece25 adding sending
7 years ago
Edouard Tisserant 610ef11dab Added rovoked_keys SQL table and C getter and setter.
7 years ago
Edouard Tisserant 12a7477ed6 Remove own_keys table, added PEP_OWN_USERID, unique person userId for any own identities and keys.
7 years ago
Volker Birk 24d3737328 better ASN.1
7 years ago
Volker Birk b4fd263a22 sequence
7 years ago
Volker Birk 5a3552b573 adding error status
7 years ago
Volker Birk d1e2a4aeb7 adding obj handle
7 years ago
Edouard Tisserant 8e953a1aa7 Own keys (SQL and accessors functions)
7 years ago
fdik 61df159a25 Added blacklist
7 years ago
Volker Birk b8f9f413ca peptest_hack added
7 years ago
Volker Birk 7fc0737b74 config values
7 years ago
Volker Birk a144239cc4 adding some i18n support
7 years ago
Volker Birk f7d38661e7 DDL for blacklist_keys
7 years ago
Volker Birk e7f3e262fc adding get_crashdump_log()
7 years ago
Edouard Tisserant 4a708ef1bf Added reset_trust
7 years ago
Volker Birk b18b0ee923 key_compromized() added
8 years ago
Volker Birk 4408dbb1dd examine callback
8 years ago
Edouard Tisserant db7f88e249 merge
8 years ago
Volker Birk 21925e7e4b completing rating
8 years ago
Edouard Tisserant 5a82b43086 netpgp : pEp session->ctx not anymore of type netpgp_t. netpgp_t instance is now static, protected by a single pthread_mutex. pEp session->ctx is now a struct containing per session resources such as curl handle.
8 years ago
Volker Birk 128186c2d8 renaming safeword into trustword
8 years ago
Volker Birk 9f8b44bfbb fixing preprocessor
8 years ago
Volker Birk 6217a2f22b DEBUG_LOG() for keymanagement
8 years ago
Edouard Tisserant 33cc75806c #ifdef USE_GPG | USE_NETPGP + make [OPENPGP=GPG|NETPGP]
8 years ago
Volker Birk f7233d42ab modifications for Windoze
8 years ago
Volker Birk 550a6c8ba5 Windoze fixes
8 years ago
Edouard Tisserant 8e20a396af useless include
8 years ago
vb 0be24286ce ...
8 years ago
vb 35368d2549 signal() and init()
8 years ago
vb 238b2d914d ...
8 years ago
vb 079cd03b56 BUGFIX: init of transports wrong
8 years ago
vb ad8baae8fe ...
9 years ago
vb 4b94f3c410 ...
9 years ago