Neal Walfield
6146a73daa
Update pgp_sequoia.c to latest sequoia version.
- Use the 'pep-engine' branch.
3 years ago
Neal Walfield
f2d86e3ced
Avoid a memory leak.
3 years ago
Neal Walfield
b7044a37e1
Correct call to calloc.
3 years ago
Thomas
f95511337a
Write also to stderr on Windows
3 years ago
Thomas
50ccb91555
Fix Sequoia tracing
3 years ago
Krista 'DarthMama' Bennett
04161caa5c
removed spinlock
3 years ago
Volker Birk
25a1600a9f
key of comm partner
3 years ago
Volker Birk
07ec56f42e
better three device mode
3 years ago
Krista 'DarthMama' Bennett
cfb9bbb77f
if 1 is not exactly the best PP directive...
3 years ago
Krista 'DarthMama' Bennett
571f09a7a1
sequoia sqlite debug stuff
3 years ago
Hussein Kasem
e64337bf52
ENGINE-638 Apply pgp_sequoia Justus path.
3 years ago
Krista 'DarthMama' Bennett
5811015687
reverting changes
3 years ago
Volker Birk
cfb5a4c954
Create ~/.pEp/ directory on *NIX platforms and move management.db and keys.db there
3 years ago
Krista 'DarthMama' Bennett
6a939f3af9
ENGINE-583: removed the cert check (neal says this is the right thing to do) and refactored pgp_key_expired
3 years ago
Krista 'DarthMama' Bennett
8b604adb65
ENGINE-583: removed the cert check (neal says this is the right thing to do) and refactored pgp_key_expired
3 years ago
Krista 'DarthMama' Bennett
c3bf50b3d3
ENGINE-583: ensure checks for expiration follow the same path.
3 years ago
Krista 'DarthMama' Bennett
749369e2d5
ENGINE-583: ensure checks for expiration follow the same path.
3 years ago
Thomas
a5a773e4c9
Send Sequoia tracing to Visual Studio debug output
3 years ago
Neal Walfield
5f12c29bad
pgp_sequoia: Improve tracing output
- When verifying a detached signature output information about the
text's size and the number of crlfs, crs and lfs.
3 years ago
Krista 'DarthMama' Bennett
82689b3aa6
ENGINE-588: put strnstr into the keycount for pgp_sequoia.c - because of this count, the strstr in the function which uses it is ok and doesn't have to depend on null termination (it will terminate with the count)
3 years ago
Krista 'DarthMama' Bennett
3f353d1227
ENGINE-588: same adjustment to the import function
3 years ago
Krista 'DarthMama' Bennett
b1e33a5b96
ENGINE-588 - put in a strlen, but seems like iOS has a different strstr impl? Dirk, check this out in the AM.
3 years ago
Neal Walfield
81bbb79355
sequoia: Improve tracing output for pgp_key_expired
3 years ago
Krista 'DarthMama' Bennett
26329e9b5f
Sequoia fix - we can now import multiple concatenated armoured keys. Returns PEP_SOME_KEYS_IMPORTED if only some keyfiles work out.
3 years ago
Krista 'DarthMama' Bennett
c9c5da8bd6
Reverting back to sync to start afresh
3 years ago
Krista 'DarthMama' Bennett
566581b798
exclusive transaction instead of locking_mode - still not sure it does anything, but...
3 years ago
Krista 'DarthMama' Bennett
4c8ded2a83
exclusive mode lock on tpk_save
3 years ago
Krista 'DarthMama' Bennett
e1273b53b5
Force WAL checkpoint in sequoia after key import
3 years ago
Thomas
fc0173604d
ENGINE-579: save management.db and keys.db to different folder if env variable PEP_APPDATA is set
3 years ago
Neal Walfield
6cfe178260
sequoia: All sequoia free functions can be safely called with a NULL pointer
- There is no need to do things like:
if (foo)
pgp_foo_free(foo)
as all Sequoia free functions check if the argument is NULL.
3 years ago
Neal Walfield
23c4f99982
sequoia: Improve pgp_delete_keypair
- Execute the SQL in the same way as everywhere else.
- Note: the comment that the keydata was not being deleted was
inaccurate: the "ON DELETE CASCADE"s ensures that the key and all
associated data is removed from the database.
3 years ago
Neal Walfield
ba5b2df15f
sequoia: Quote the name in and more carefully extract URIs from User ID
- When creating a new key, quote the name part of the User ID. This
is essential to support names with @ characters and commas, which
are often used by pEp.
- More carefully extract URIs from User IDs.
- Don't forget to extract them in email_cmp.
3 years ago
Thomas
56f4511605
Fix spacing
3 years ago
Volker Birk
54e24f3578
typo
3 years ago
Volker Birk
ac425bd139
FIX of pgp_sequoia: size off by one
3 years ago
Volker Birk
cfc78a0012
cast not optional
3 years ago
Neal Walfield
f29306e3dc
sequoia: Correctly NUL terminate returned strings
3 years ago
Krista 'DarthMama' Bennett
a516f16dd3
heap overflow - my bad for not using the returned length and instead assuming NULL termination :(.
3 years ago
Volker Birk
d4f11f8257
spinlock implementation for dealing with write locks
3 years ago
Thomas
5ce2773de0
Save Sequoia key db to %LOCALAPPDATA%\pEp
3 years ago
Thomas
05c32a0adb
Remove DYNAMIC_API from pgp_config_cipher_suite
3 years ago
Neal Walfield
00487e65ec
Use more descriptive names for global identifiers. DRY.
- Don't repeat yourself.
- Don't repeat yourself.
3 years ago
Neal Walfield
809647407d
Also no optional arguments.
- To kill the preceding comma when __VA_ARGS__ is empty, we need to
preface __VA_ARGS__ with ##.
- Fix indentation.
3 years ago
Volker Birk
2c6e9c6884
always identical spelling
3 years ago
Neal Walfield
ce658ba366
sequoia: Save any filename stored in the literal data packet
3 years ago
Volker Birk
95ec41fa6c
add config_cipher_suite() implementation
3 years ago
Volker Birk
a6f04af40f
add config_cipher_suite()
3 years ago
Neal Walfield
ecc35ce559
sequoia: Use 2k RSA keys instead of 3k RSA keys
3 years ago
Hussein Kasem
0116e57edc
Use android log system on Sequoia Tracing
3 years ago
Krista 'DarthMama' Bennett
d0aa7ba6f2
ENGINE-557: crap, had checked in some bad stuff from before I understood the problem that I didn't know was still there. Anyway, we're good AFAICS now.
3 years ago