80 Commits (7c7e80dd893a07b6651a0cf658f9ae4407058c23)

Author SHA1 Message Date
  Krista Grothoff 7c7e80dd89 ENGINE-27: blacklist_is_listed will no longer be called with empty/null strings in update_identity (caused assert failure) 6 years ago
  Krista Grothoff 399c421c5e ENGINE-27: #comment I forgot one possible blacklist case. If you still get an assertion fail, I'd appreciate capturing the error type if you can so I can follow the logic. Please pull and try again... 6 years ago
  Krista Grothoff 2e4b7f75f3 ENGINE-27: type 6 years ago
  Krista Grothoff a11b7e7ee1 ENGINE-27: setting fpr to empty string, not NULL, so set_identity doesn't crash. 6 years ago
  Krista Grothoff 34fa1f2a83 ENGINE-27: intermittent commit, update_identity should now never try to set or return a blacklisted key 6 years ago
  Krista Grothoff acad8e0a08 ENGINE-27: update_identity no longer pays attention to the input identity's fpr, but pulls one from elect_pubkey. 6 years ago
  Edouard Tisserant 66a97e2c20 ENGINE-94 Workaround key-election not being stored in case of expired key 6 years ago
  Volker Birk 97711e429c BUGFIX: user_id cropped 6 years ago
  Volker Birk 7474af98bf adding set_identity_flags_test 6 years ago
  Volker Birk ff6283c288 adding set_identity_flags() 6 years ago
  Volker Birk e767049511 missing assert 6 years ago
  Edouard Tisserant 87b67659c3 fix #30 : memleak in myself(): stored_identity is never freed in keymanagement.c 6 years ago
  Edouard Tisserant 444cc650ac Myself() : elect another pre-existing private key if stored own identity key have been removed from GPG keyring (Outlook+GPA case) 6 years ago
  Edouard Tisserant 7ec1bdf077 Moved myself() own key election to a separate function 6 years ago
  Edouard Tisserant 76a01b7f9e trying to get a better key in update_identity, when existing key has been revoked 6 years ago
  Edouard Tisserant 6a9f9bb0f5 fixing use_only_own_private_keys build 6 years ago
  Edouard Tisserant cdc6a9d4a1 added use_only_own_private_keys (testing) 6 years ago
  Edouard Tisserant ce79f22bda Test for expiry one week before it happens 6 years ago
  Edouard Tisserant 438a873575 Revocation-related fixes 6 years ago
  Edouard Tisserant 1b14e9b72d Myself records replaced revoked key when generating a new key to replace revoked key 6 years ago
  Edouard Tisserant 7fd416a99e Attach_own_key also attach revoke for some time after revocation 6 years ago
  Volker Birk d40a4dee65 no if no typo :-P 6 years ago
  Volker Birk c09351c9c8 typo 6 years ago
  Volker Birk ae2bd5c4a8 bugfix 6 years ago
  Edouard Tisserant 12a7477ed6 Remove own_keys table, added PEP_OWN_USERID, unique person userId for any own identities and keys. 6 years ago
  Volker Birk 8ce0490ab8 remove size fields of pEp_identity 6 years ago
  Edouard Tisserant d5708d03a2 Own keys, now filled and used by myself() 6 years ago
  Edouard Tisserant 8e953a1aa7 Own keys (SQL and accessors functions) 6 years ago
  Edouard Tisserant 1f5fd47a86 Removed get_best_user, leading to unexpected behaviour when user_id is made null again, for example when corresponding app contact is deleted 6 years ago
  Edouard Tisserant a926501109 Made myself() re-use already selected fpr from pre-existing identity if not explicitely given. More restriction while selecting gpg ring's key should still be enforced. 6 years ago
  Edouard Tisserant c3e8184c7e Fixed Primary Key of identity table. Was (address) and know is (address, user_id). Added 'virtual' user_id (const string + address) as a side effect, in case user_id isn't given and no user have been created with same address. 6 years ago
  Edouard Tisserant b96e16d1c9 Fixed infinite loop in keymanagement.c/_same_fpr(), when fingerprints are different 6 years ago
  Volker Birk ab96ae5b31 delete from stringlist 6 years ago
  Edouard Tisserant 8d097207fb Comparing fingerprints now accepts spaces and upper and lower case 6 years ago
  Volker Birk 9335495d8f delete key references if key is added to blacklist 6 years ago
  Lars Rohwedder 7133bd5d71 remove unused MIN, fix () on EMPTYSTR macro 7 years ago
  Edouard Tisserant ba77eb0409 Fixed #32 : assert(keylist) without if in keymanagement.c:238 7 years ago
  Edouard Tisserant 30bcdcae0a Ticket #28 : improvement: keymanagement.c: update_identity(): strndup instead of strdup (size is known) 7 years ago
  Volker Birk 7fc7f3989d SNAFU 7 years ago
  Edouard Tisserant b24bcf1b72 Prevent changing identity's fpr when new fpr trust level is lower 7 years ago
  Edouard Tisserant ec50919ebd Reworked logic in update_identity, when identity->fpr is provided 7 years ago
  Edouard Tisserant e1f50fc25d Backed out changeset a460b5ce0d6e 7 years ago
  Edouard Tisserant 0f97e81397 update_identity doesn't try to apply given comm_type anymore. 7 years ago
  Edouard Tisserant c1cfc761f2 intermediate state, implementing mistrust 7 years ago
  Edouard Tisserant 8805497f69 Renamed EMPTY macro to EMPTYSTR, conflicting with some apple includes, and then being always 0 7 years ago
  Volker Birk be58c17c0c sparing a call 7 years ago
  Volker Birk 1c9399e8d1 An undo is possible for keys we don't own, and therefore have not revoked. 7 years ago
  Volker Birk afe4a07cd7 key_reset_trust() can reset trust_personal_key() only. 7 years ago
  Edouard Tisserant 3ca28f148f Added key_reset_trust, accepting identity instead of fpr 7 years ago
  Edouard Tisserant 7a8d043aa9 Fixed typo. Are all *_size members of identity struct really used ? 7 years ago