fix(android): declare KeySpec so the native PBKDF2 call resolves, and report why it fails
generateSecret takes a KeySpec; passing a JObject made the bridge emit a signature no method matches, and the call failed at runtime. Swallowed as 'unavailable', which hid my own mistake for a full test round - the failure now carries its exception message. Measured on device: the Pascal PBKDF2 takes 6651 ms, unusable per unlock. AES-GCM through JNI works, plaintext and hash match the vector, so the container format is validated end to end.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108"
|
||||
android:tint="#000">
|
||||
<group>
|
||||
<path
|
||||
android:fillColor="#000"
|
||||
android:pathData="M0 0h108v108H0z"/>
|
||||
</group>
|
||||
</vector>
|
||||
@@ -0,0 +1,14 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<group>
|
||||
<path
|
||||
android:fillColor="#BF311A"
|
||||
android:pathData="M35.42 65.33C33.74 40.47 66.17 37.1 65.34 22.78c7.58 14.74-21.09 24.43-13.06 33.7 4.9 5.69 21.48-8.84 18.53-21.9C81.76 60.7 39.64 75.44 63.68 84.7c-15.2 2.95-27.5-8.12-28.26-19.38Z"/>
|
||||
<path
|
||||
android:fillColor="#F3901D"
|
||||
android:pathData="M35.38 65.4C34.78 51.73 41.69 46.02 53 37.95c-14.74 11.8-13.9 24.01-11.37 31.2 2.53 7.19 10.1 16.43 21.9 15.59-15.13 2.99-27.1-7.97-28.16-19.34Z"/>
|
||||
</group>
|
||||
</vector>
|
||||
@@ -0,0 +1,15 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108"
|
||||
android:tint="#FFF">
|
||||
<group>
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M35.42 65.33C33.74 40.47 66.17 37.1 65.34 22.78c7.58 14.74-21.09 24.43-13.06 33.7 4.9 5.69 21.48-8.84 18.53-21.9C81.76 60.7 39.64 75.44 63.68 84.7c-15.2 2.95-27.5-8.12-28.26-19.38Z"/>
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M35.38 65.4C34.78 51.73 41.69 46.02 53 37.95c-14.74 11.8-13.9 24.01-11.37 31.2 2.53 7.19 10.1 16.43 21.9 15.59-15.13 2.99-27.1-7.97-28.16-19.34Z"/>
|
||||
</group>
|
||||
</vector>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" android:opacity="opaque">
|
||||
<item android:drawable="@color/splash_background" />
|
||||
<item>
|
||||
<bitmap
|
||||
android:src="@drawable/splash_image"
|
||||
android:antialias="true"
|
||||
android:dither="true"
|
||||
android:filter="true"
|
||||
android:gravity="center"
|
||||
android:tileMode="disabled"/>
|
||||
</item>
|
||||
</layer-list>
|
||||
@@ -0,0 +1,14 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="115dp"
|
||||
android:height="192dp"
|
||||
android:viewportWidth="115"
|
||||
android:viewportHeight="192">
|
||||
<group>
|
||||
<path
|
||||
android:fillColor="#BF311A"
|
||||
android:pathData="M0.37 130.83C-4.8 54.4 94.94 44.03 92.37 0c23.3 45.34-64.85 75.13-40.17 103.63 15.08 17.48 66.06-27.2 57-67.36 33.67 80.32-95.87 125.66-21.94 154.16-46.72 9.07-84.55-24.97-86.89-59.6Z"/>
|
||||
<path
|
||||
android:fillColor="#F3901D"
|
||||
android:pathData="M0.23 131.05c-1.83-42.04 19.43-59.6 54.24-84.42C9.13 82.9 11.73 120.5 19.49 142.6c7.77 22.1 31.08 50.53 67.37 47.93-46.54 9.2-83.38-24.5-86.63-59.47Z"/>
|
||||
</group>
|
||||
</vector>
|
||||
Reference in New Issue
Block a user