Krista 'DarthMama' Bennett
|
50fb8ebaf6
|
ENGINE-522: removed all unqualified hard-coded instances of PEP_OWN_USERID (those that remain are for first-use instances where no extant own-id is in the DB, and any new own ids coming from the app after there use will be aliased to it, so they are ok)
|
3 years ago |
Krista 'DarthMama' Bennett
|
98eac74e41
|
Argh, cut-and-paste error broke all the things.
|
3 years ago |
Krista 'DarthMama' Bennett
|
685bcbe69d
|
Fixed sql bind in loop problem that has been languishing in hiding.
|
3 years ago |
Krista 'DarthMama' Bennett
|
7702ab6d5b
|
ENGINE-527: update_identity will now also not write when it has an own address, but no user_id
|
3 years ago |
Krista 'DarthMama' Bennett
|
f62197e900
|
ENGINE-527: update_identity will now also not write when it has an own address, but no user_id
|
3 years ago |
Krista 'DarthMama' Bennett
|
b19931457e
|
ENGINE-527: part 1, myself now doesn't write when called from decrypt_message (directly or, hoepfully, indirectly)
|
3 years ago |
Volker Birk
|
61f2741591
|
commenting unused functions and checking in some code
|
3 years ago |
Krista 'DarthMama' Bennett
|
4b7e2505bc
|
ENGINE-507: trust_own_key now in; read documentation
|
3 years ago |
Krista 'DarthMama' Bennett
|
2c5b7db338
|
Removed allowed calls to trust_personal_key with an own_identity. Trusting a pubkey from the same user and another device will require using a different user_id or calling set_own_key (on a pub/priv keypair)
|
3 years ago |
Krista 'DarthMama' Bennett
|
8629295188
|
Removed allowed calls to trust_personal_key with an own_identity. Trusting a pubkey from the same user and another device will require using a different user_id or calling set_own_key (on a pub/priv keypair)
|
3 years ago |
Krista 'DarthMama' Bennett
|
64dc736e21
|
Myself was returning OK, even when it needed to and could not generate a key. Fixed.
|
3 years ago |
Krista 'DarthMama' Bennett
|
b6d718e4bb
|
Myself was returning OK, even when it needed to and could not generate a key. Fixed.
|
3 years ago |
Krista Bennett
|
4072188437
|
ENGINE-458: removed set_own_key from trust_personal_key
|
4 years ago |
Krista Bennett
|
5098a33557
|
ENGINE-495: Stopped key_mistrust (which had changed only in this branch) from trying to revoke non-own keys
|
4 years ago |
Krista Bennett
|
f685decf24
|
Through the power of revert, fixed the modes I messed up in the last commit (sorry, new machine and dorking around caused an unintended large-scale mode reset)
|
4 years ago |
Krista Bennett
|
673c9876d0
|
Fixed weird little test bug, also part of the ENGINE-476 in here
|
4 years ago |
Krista Bennett
|
9a0dc9f018
|
Little bits of cleanup fun
|
4 years ago |
Krista Bennett
|
7fa9e64cbc
|
Little bits of cleanup fun
|
4 years ago |
Volker Birk
|
961a67e065
|
in case of out of memory break
|
4 years ago |
Krista Bennett
|
32ed0e2f4a
|
ENGINE-473: all's well that ends well. We now keep track of trust bits when expiring and restore them when the key is renewed.
|
4 years ago |
Krista Bennett
|
0b5f1d4d5f
|
ENGINE-473: have the DB update partially fixed on renewal, but trust status is still not sticky. MOAR DEBUGGING!
|
4 years ago |
Volker Birk
|
201ac3144c
|
build and have init() inside
|
4 years ago |
Volker Birk
|
5b3b174ae0
|
deleting undo_last_mistrust() from header
|
4 years ago |
Krista Bennett
|
8a08da66b0
|
ENGINE-459: Well, that was easy.
|
4 years ago |
Krista Bennett
|
85ec467dd4
|
ENGINE-463: the code seems to work, but I've broken the tests that force the error condition I want to examine, and I'm too tired to fix them this late without breaking more things. Use at your own risk atm.
|
4 years ago |
Krista Bennett
|
f838018dfd
|
ENGINE-463: incoming TOFU and stored real defaults to stored real; may have removed problem with TOFU_ TOFU_ clash in update_identity
|
4 years ago |
Volker Birk
|
a52ab025ce
|
omit unused parameter from do_keymanagement()
|
4 years ago |
Krista Bennett
|
158f6efbd6
|
ENGINE-398: removed key_reset functionality from key_mistrust; need to adjust a test or two.
|
4 years ago |
Krista Bennett
|
727abbbbd0
|
ENGINE-398: bug fixes
|
4 years ago |
Krista Bennett
|
886f8bb94a
|
ENGINE-398:key_reset in, and compiling again.
|
4 years ago |
Volker Birk
|
5eed70d884
|
...
|
4 years ago |
Volker Birk
|
c6c73fef61
|
...
|
4 years ago |
Volker Birk
|
dc0a6e7325
|
...
|
4 years ago |
Krista Bennett
|
08f096189b
|
Put in private key check in set_own_key.
|
4 years ago |
Krista Bennett
|
097b196755
|
ENGINE-423: partial implementation of reencrypt functionality. Stashing changes to check another bug.
|
4 years ago |
Krista Bennett
|
e1b33d0def
|
ENGINE-420: fixed bug in key_reset_trust when key corresponds to an own identity (this case: public-key-only), plus test expansion and bug fixes on encrypt_message_and_add_private_key
|
4 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.
|
4 years ago |
Krista Bennett
|
6fe4ffb5e9
|
ENGINE-409: fixed key_reset_trust
|
4 years ago |
Volker Birk
|
a943d520fd
|
fixing ENGINE-404
|
4 years ago |
Volker Birk
|
93ac1d3230
|
fixing ENGINE-403
|
4 years ago |
Krista Bennett
|
d8c758ca56
|
Fixed call to _myself in trust_personal_key (should now be set_own_key), and also made sure that when an own identity comes in but the key is public only, that it gets verified but never set as the default when being trusted.
|
4 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.
|
4 years ago |
Krista Bennett
|
c9cffaea4e
|
ENGINE-294: basic code is in to remove blacklisting from anything but encrypt_message and outgoing_message_rating, but tests need to be extended, and have to switch to ENGINE-397 and fix that to keep the keyring clean.
|
4 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
|
4 years ago |
Volker Birk
|
51e93ea4af
|
MSVC wants init
|
4 years ago |
Volker Birk
|
6d76b00af0
|
slightly reworking initial PGP key import in case of GnuPG
|
4 years ago |
Krista Bennett
|
59b9f4be61
|
ENGINE-394: Add case in update_identity for identities which have an address and username, where retrieved user_id is TOFU and usernames don't match
|
4 years ago |
Volker Birk
|
e445c7b807
|
SEMANTIC CHANGE in myself(): .fpr is never used; to set fpr now use set_own_key()
|
4 years ago |
Krista Bennett
|
21b154008e
|
ENGINE-DIRKSAIDSO: strdup(NULL) is bad, mmmkay?
|
4 years ago |
Krista Bennett
|
ec531ea126
|
ENGINE-354: fixed bad call to is_pep_user
|
4 years ago |