Hussein Kasem
9c93feeed3
JNI-114 Make basic_api methods use passphrase cache
5 years ago
Hussein Kasem
ff5e01680c
JNI-114 Make generated methods cached
5 years ago
heck
b8b52978f0
add new public method to AbstractEngineInterface "public void setPassphraseRequiredCallback(Sync.PassphraseRequiredCallback passphraseRequiredCallback);"
5 years ago
heck
b16a5277eb
Merge in default - this is the latest and greatest JNIAdapter (right now)
5 years ago
heck
debac03eb5
Added tag Release_2.1.0-RC10 for changeset facc79349b19
5 years ago
heck
0cf008af49
merge in JNI-114 - Callback And Retry for methods that might need a passphrase
5 years ago
heck
7b5b55b27b
nothing for default branch...
5 years ago
heck
a45ad4c682
Removed tag PassphraseCallback_Complete1
5 years ago
heck
c6bc43c283
Removed tag PassphraseCallback
5 years ago
heck
fc06f8257b
delete DeleteLocalRef()
5 years ago
heck
56b479d0f1
Added tag PassphraseCallback_Complete1 for changeset 7b08b3200740
5 years ago
heck
04f73ec936
Added tag PassphraseCallback for changeset 91dcb9ff220f
5 years ago
heck
0240fafedb
Avoid retry if callback not set is still ...dirty. the commit comment goes on, REMEMBER TO USE hg log -v now and then again :)
// if this happens (no callback registered
// we simply return ""
// it will fail
// this repeats MaxRetries times (currentluy hardcoded to 3)
// Then the orig call will return with the PEP_STATUS (most likely PEP_PASSPHRASE_REQUIRED)
5 years ago
heck
282cbf437d
Tests updated, encrypt fails, then register callback, encrypt success after callback returned the correct passphrase
5 years ago
heck
70f90f61b6
Tests updated, now using the new callback to provide the passphrase
5 years ago
heck
64e12d7774
Java register callback method "Engine.setPassphraseRequired()" done and tested.
5 years ago
heck
095eb8075b
JNI code done, now passphrase comes from java level throug callback
5 years ago
heck
7c7a8f4121
Improved retry code / now passphrase from AbstractEngine level.
5 years ago
heck
9b949e7f28
Test case added, importKey(), setOwnKey(), NO config_passphrase(), THEN encryptMessage(). (No callback yet)
5 years ago
heck
12fa07bc4a
Passphrase retry after application callback (callback still dummy, but works). For ALL "cached" methods :)
5 years ago
heck
3b5366b7ed
_if_ we should throw here, we need to do it differently...
5 years ago
heck
96f1e9eb88
Backed out changeset 0efc85ba691e
that was the wrong file to commit
5 years ago
heck
39f3b5fb45
_if_ we should throw here, we need to do it differently...
5 years ago
heck
863892ccf3
Added tag Release_2.1.0-RC9 for changeset 8257d8742596
5 years ago
heck
0bdb5ec0a4
merge in JNI-111 : notityHandshake fixes
5 years ago
Hussein Kasem
8bb506c94c
JNI-111 Accept null partner during notifyHandshake
5 years ago
Hussein Kasem
921d77cad3
JNI-111 Rethrow Java exceptions to the JVM during notifyHandshake.
5 years ago
Hussein Kasem
fb38830afa
JNI-111 Add missing sync signal
5 years ago
heck
28aa52f821
Merge in default
5 years ago
heck
d74d6aaa32
Added tag Release_2.1.0-RC8 for changeset c083ce4caa4f
5 years ago
heck
8849e8f1dc
merge in JNI-111 : tests and fixes
5 years ago
heck
e6fdbd081d
Fix for failing Test: "encrypt msg to self using imported key with passphrase"
5 years ago
heck
0eb4e3469b
Tests: "encrypt msg to self using imported key with passphrase"
5 years ago
heck
41a1c9d899
this "return" is not correct
5 years ago
heck
4a335a12fb
Integrate CallbackDispatcher between registered callbacks and engine. (engine -> dispatcher -> jniadapter_cxx -> java_messagetosendCallbackfromC -> java_callback_messagetosend)
start_sync() / stop_sync() using CallbackDispatcher
JNISync changed from class to namespace
5 years ago
heck
41d8232be2
config_passphrase_for_new_keys() using cache.add_stored()
5 years ago
heck
57af93047a
merge in default branch
5 years ago
Volker Birk
4dc5b30d6c
merging
5 years ago
Volker Birk
377fcc940b
using new libpEpAdapter
5 years ago
heck
e22afe2c2c
Moved all java sources under src/java
5 years ago
heck
c5ae320e7a
move all cxx sources/headers into src/cxx
5 years ago
heck
935f3b58ca
move java interfaces into own subpkg "foundation.pep.interfaces"
5 years ago
heck
c1e9f69985
.hgignore can now just ignore parallel build hierarchy instead of file types, and dist folder
5 years ago
heck
0f04448905
add Makefile targets install/uninstall (to $PREFIX)
update local.conf.example
5 years ago
heck
f991fd2dd3
Separate output dir for .d and .o files.
5 years ago
heck
80c0b1e542
Move all yml2 into own src folder "codegen"
5 years ago
heck
0f33979a72
Build info and lib-name
5 years ago
heck
047baa52b7
Total overhaul/redesign of project filesystem structure / Makefile
- Separate build folder (so far for all class files)
- Separate dist folder (so folks dont have to dig for the build results)
- Improved incremental build
- Implicit rules and automatic dependency using gcc/clang features (.d files)
- YML2 CodeGen incremental build support using marker files
- Tests are using dist folder
5 years ago
heck
60a260720f
Update tests - Engine.getId() has been made private/protected
5 years ago
heck
e5f3aa6b8a
Generate marker files for make
Move exceptions into own subpkg foundation.pEp.jniadapter.exceptions
5 years ago