Luca Saiu
b41ca61b91
change the Python API to follow the engine API after ENGINE-959
The decrypt method of the message class now returns a tuple of three elements
instead of four:
* message
* keys
* flags
There is no more rating among the results, as the rating is now a property of
the message -- and can be easily accessed as message.rating .
Update examples and tests.
4 years ago
heck
89613b713e
test: sync_test.py - add --debuglog -d
4 years ago
heck
a80a18f027
test: sync_handshake.py - add --debuglog -d option
4 years ago
Volker Birk
35a83abf14
always have three keys
4 years ago
Volker Birk
7f2d884f6e
add disable_all_sync_channels() and test with extra identity
4 years ago
heck
d94e5881f4
PYADPT-111: sync_handshake.py, now support single- and mutlithreaded again. but through libpEpAdapter
4 years ago
heck
5738a2ea33
PYADPT-111: a little bit of testing
4 years ago
Volker Birk
5c4dcdba4a
the sync thread will continue, don't change directory
4 years ago
heck
58cff017ff
PYADPT-110: Add a test for start_sync() / stop_sync() repeatedly
4 years ago
heck
3a6058e4b5
PYADPT-110: Update sync testing (sync_handshake.py) to work with new sync impl
4 years ago
heck
e8e46cbbad
Test: README.md - add link to more sync testing doc.
4 years ago
heck
dcea22558b
basic_doctest.py: rewrite as pytest, move to pytests
5 years ago
heck
8b202b6bf7
basic_doctest.py: rewrite as pytest
5 years ago
heck
73666d8437
Mutli-threading support for native libs calling python code added
mixing UserInterface replaced with pEp.notify_handshake() to be overwritten (just like message_to_send())
5 years ago
heck
74dcc6f7a7
test pyadpt-81.py: test start/stop sync, default/user callback impl. of pEp.message_to_send()
5 years ago
heck
50ebe60221
Includes/namespace/using cleanup
5 years ago
heck
07d2130bf0
hybrid C++/Python package / Add Makefile
5 years ago
heck
efbf1f270e
Test for key_mistrusted()
5 years ago
heck
8da45b4e96
Test for export_secret_key()
5 years ago
heck
7256e87f93
Test for export_key(Identity)
5 years ago
heck
89f9c96e90
Add test/data/keys containing Alice and Bob pub/sec keysfiles. (for import/export tests)
5 years ago
heck
47913909df
Why not make all executable python scripts executable using:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
5 years ago
heck
25c977ff57
Update tests to work with the new and shiny ENUM names (359:12f3d59c25de, "nice enums")
5 years ago
Volker Birk
92113d3eb3
removing uname, because this is breaking Windows builds
5 years ago
heck
b3b725fc2e
Add doctest_PYADPT-55.py: Test for equal resolution of colors using int (OLD) vs using PEP_color (NEW)
5 years ago
Volker Birk
dcbbbca020
random timing for minimail
5 years ago
heck
73dd45c92e
PYADPT-54: Add codec for distribution protocol (keyreset) / adding test/codec_doctest.py
5 years ago
Volker Birk
63664c52ea
make _inject_sync_event using flag_sync_enabled
6 years ago
Krista 'DarthMama' Bennett
dcc4f75b14
not having a decoder shouldn't be a fatal error.
6 years ago
Volker Birk
892cc86396
adding leave_device_group() test case
6 years ago
Volker Birk
14d1ed4d90
simulator timing
6 years ago
Volker Birk
e4fd5e24e3
run with mixed number of identities
6 years ago
David
aa39990b3b
clean code
6 years ago
David
09abd3e5f2
add own-identities to imap sync_handsjake
6 years ago
David
65a573ad6a
handle correctly non-bytes messages - PYADAPT52
6 years ago
Volker Birk
f14544d489
create number of own identities
6 years ago
David
2cc27ebcbf
Add backup and restore for IMAP + fix bug + clean prints - PYADPT-47
6 years ago
David
f4e755af0c
remove settings file
6 years ago
David
3b07321501
added imap module for sync_test and sync_handshake PYADPT-47
6 years ago
Volker Birk
e3dc1efaa9
option -n: no end
6 years ago
Volker Birk
f7af6ebb21
add new notify
6 years ago
Volker Birk
14e0e458f1
yellow color for notify
6 years ago
Volker Birk
cabf730cae
add engine debug color
6 years ago
David
9236031b16
update readme with IMAP settings instructions
6 years ago
David
4e3e195043
imap for sync
6 years ago
Volker Birk
e5d893d8d4
we have sweet texts now instead of numbers
6 years ago
Volker Birk
61ac5cda5a
adding shutdown_sync()
6 years ago
Volker Birk
5e65588af0
even more color
6 years ago
Volker Birk
c4475e27ce
minimail update
6 years ago
Volker Birk
82d98176f8
...
6 years ago