-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyStoreAPI Upgrade (Encrypt/Decrypt + more) #556
Open
EduardDurech
wants to merge
9
commits into
termux:master
Choose a base branch
from
EduardDurech:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Sep 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 40f51ba - Browse repository at this point
Copy the full SHA 40f51baView commit details -
Encrypt/Decrypt + more Keystore Support
+ Receiver receives context, sent to list, delete, encrypt, and decrypt for shared preferences + listKeys is now listData and supports showing secret keys and preferences + printKey supports secret keys and more KeyInfo parameters + deleteKey is now deleteData and supports deleting preferences + deleteData deletes all key-associated preferences upon deletion + generateKey supports more key parameters (mode, padding, purposes, unlocked, invalidate, auths) + generateKey supports secret keys + generateKey refactored + encryptData added + encryptData supports Keystore Ciphers + encryptData supports reading from path or stdin + encryptData supports writing to shared preferences or stdout + encryptData writes output in the form [IV.length][IV][Encrypted Data], if IV.length is 0 then IV omitted + encryptedData never exposes data to Strings, stays as byte arrays and is flushed with zeroes after use + encryptedData supports a quiet flag so encrypted data does not show in stdout + encryptedData supports multiple shared preferences stored as a JSON with a key, value pair + encryptedData encodes output to Base64 + decryptData added + decryptData supports Keystore Ciphers + decryptData supports reading from path, shared preferences, or stdin + decryptData supports writing to stdout + decryptData reads output in the form [IV.length][IV][Encrypted Data], if IV.length is 0 then IV omitted + decryptedData never exposes data to Strings, stays as byte arrays and is flushed with zeroes after use + decryptedData supports a quiet flag so decrypted data does not show in stdout + decryptedData supports reading from JSON shared preferences with a key, value pair + decryptedData encodes output to Base64 + decomposeBinary (for purposes and authorizations) + getPrefsJSON and setPrefJSON (preferences as JSON) + getIVSpec (support different AlgorithmParameterSpecs) + getKey (get Public or Secret key for encryption, Private or Secret key for decryption) + readFile (also supports Android < 8.0) + Replaced ECGenParameterSpec and RSAKeyGenParameterSpec with AlgorithmParameterSpec - Removed unnecessary imports and casts
Configuration menu - View commit details
-
Copy full SHA for 3263d3c - Browse repository at this point
Copy the full SHA 3263d3cView commit details
Commits on Oct 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e34589b - Browse repository at this point
Copy the full SHA e34589bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 601caf7 - Browse repository at this point
Copy the full SHA 601caf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28822be - Browse repository at this point
Copy the full SHA 28822beView commit details
Commits on Oct 15, 2022
-
Support for authentication call
FingerprintAPI + Support for `authenticationTimeout` extra + Supports `EXTRA_LOCK_ACTION` which locks FingerprintAPI call until Authentication Callback + Supports specifying authentication scheme(s) KeystoreAPI + Supports retrying authentication + Code optimization (cipherCall(), getKey(), getKeyInfo(), string compares)
Configuration menu - View commit details
-
Copy full SHA for e8aaf70 - Browse repository at this point
Copy the full SHA e8aaf70View commit details
Commits on Oct 18, 2022
-
For API<=29 (unfortunately, had to stop support for device credentials <=29 as there is inconsistent callback behaviour)
Configuration menu - View commit details
-
Copy full SHA for 4cb2388 - Browse repository at this point
Copy the full SHA 4cb2388View commit details
Commits on Oct 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c378dd8 - Browse repository at this point
Copy the full SHA c378dd8View commit details
Commits on Oct 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 04e1f1a - Browse repository at this point
Copy the full SHA 04e1f1aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.