Volker Birk
2cd53655e7
publish import_key_with_fpr_return()
1 year ago
Krista Bennett
c0d9704475
ENGINE-928: Ported set_comm_partner_key() from Release_2.1
1 year ago
Krista Bennett
eb139d2a76
ENGINE-878: added force set username on unencrypted messages and doesn't break anything new
1 year ago
Krista Bennett
2ed07d4364
ENGINE-878: setting now in on the sql side, but needs to be coordinated with https://dev.pep.foundation/Engine/UserPseudonymity in the identity management functions.
1 year ago
Krista Bennett
e560a80d3e
ENGINE-606 squash commit
1 year ago
Krista Bennett
2efcf46516
Cherry pick didn't quite work, so manual removal of the rest.
1 year ago
Krista Bennett
95f4e63495
Removed commit-hash tracking at Volker's request
1 year ago
Krista Bennett
4c6efbdc21
Config hash define fix, ENGINE-885 function for commit hash, and fix for semicolon in codegen from Release_2.1
1 year ago
Krista Bennett
6329bae204
Cherry pick didn't quite work, so manual removal of the rest.
1 year ago
Krista Bennett
2c24ce0b9a
Removed commit-hash tracking at Volker's request
1 year ago
Sofia
cf9f8a4c61
more comments
1 year ago
Krista Bennett
dc09909b9e
Config hash define fix, ENGINE-885 function for commit hash, and fix for semicolon in codegen from Release_2.1
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
Krista Bennett
c52f4d39fb
Added sql separate from ENGINE-606/ENGINE-822 so that the DDLs don't diverge any further (merges are difficult without this being separated this way in master as well). This means that some of the groups sql logic is present here, but it won't get used until the branch code makes it in here. If you have problems merging a branch, let me know. Better now than later.
1 year ago
Sofia Balicka
77f0ec5a9f
more comments
2 years ago
Sofia Balicka
094e77d6ff
make doxygen in pEpEngine.h more compleate
2 years ago
Krista 'DarthMama' Bennett
c454df0521
ENGINE-800: semantics for stringlist_append are now that if the second pointer is sequal to the first, we copy the list and append it. This matches the copy semantics of other-pointer appends.
2 years ago
Krista 'DarthMama' Bennett
1df4dcfb85
ENGINE-840: Make identity_dup great again, ish, kinda
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
e1ab12e744
ENGINE-838: Well well well, turns out if you learned C in 1996, you might not know all the tricks from C99.
2 years ago
Krista 'DarthMama' Bennett
3b3cd39357
ENGINE-838: stack allocation instead of heap in fix function
2 years ago
Krista 'DarthMama' Bennett
c1e05b2937
ENGINE-839: Age old problem of assert-based debugging - if it's important enough to want an assert during debug, it's important enough to change the code path and give the right status return - OR DOCUMENT IT, PLEASE (this is the exception rather than the rule in our code)
2 years ago
Krista 'DarthMama' Bennett
e3ef506142
is_own_key fixes
2 years ago
Krista 'DarthMama' Bennett
febfe12cd6
Committing is_own_key changes, but key reset code needs to be modified a bit more and I wanted to make sure the new function was available. Use at your own risk.
2 years ago
Krista 'DarthMama' Bennett
42e6bee7fb
Hopefully rest of generated function blocks in. It's definitely a mess and not well-formatted at this point, so don't freak out. It's just the placeholders to fill in.
2 years ago
Krista 'DarthMama' Bennett
8a7fc79a3a
internal function comment stubs
2 years ago
Krista 'DarthMama' Bennett
9f22625d72
ENGINE-633: refactoring and correction
2 years ago
Volker Birk
d0a9f9f6e9
enable the possibility that passphrases are required for new keys but a passphrase is not yet known
2 years ago
Krista 'DarthMama' Bennett
24c535387e
removed parameter asserts so that we can test failure cases in pEpEngine.c
2 years ago
Krista 'DarthMama' Bennett
a06718c070
removed parameter assert checks
2 years ago
Krista 'DarthMama' Bennett
4b685a9fa8
removed errorstack cruft
2 years ago
Krista 'DarthMama' Bennett
1c6289922c
ENGINE-781: tests and memory fun!
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
d0fd825b5e
ENGINE-775: encrypt_message, identity_rating, set_own_key, trust_personal_key, update_identity, get_valid_pubkey
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
3489d2aa41
ENGINE-768: bad assert
2 years ago
Krista 'DarthMama' Bennett
69bee0184e
Reverting to default to start other ENGINE-633 work.
2 years ago
Krista 'DarthMama' Bennett
32eff0b25b
ENGINE-767: exposed set_ident_enc_format in case it's needed at account setup to set own defaults for later sync-based key_reset goodness/badness
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
d91a343c75
ENGINE-767: well, at least it didn't break anything. Yet.
2 years ago
Krista 'DarthMama' Bennett
6d33475435
some doxygen stuff. might not be kept.
2 years ago
Krista 'DarthMama' Bennett
f168d79190
ENGINE-757: changed signatures and more test stuff (not all correct yet) - checking in for heck
2 years ago
Krista 'DarthMama' Bennett
099d9cee7a
ENGINE-757: put in passphrase enable functions
2 years ago
Krista 'DarthMama' Bennett
49d5a2c4fb
ENGINE-630: ENGINE-760: Restored old top-level API - new functionality is bound to cryptotech under internal API command _import_key_with_fpr_return
2 years ago
Krista 'DarthMama' Bennett
d0fbeaf43e
Now hashing blobs instead of ASCII keys. Old tests run, yay.
2 years ago
Krista 'DarthMama' Bennett
d77dbdd10c
import_key 2.1 changes - API change without substance XD (headers and calls)
2 years ago
Krista 'DarthMama' Bennett
bfaac483f5
ENGINE-750: MOAR left joins, plus small tests
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
5f6f67fe5a
radicale
2 years ago