Commit Graph

89 Commits

Author SHA1 Message Date
Pelle Stenild Coltau 32c5caff39 Refactored implementation to support various encryption algorithms and key storage depending on API level. 2017-06-18 11:38:00 +04:00
Pelle Stenild Coltau 808a7000da Added support for API levels lower than 23 using Facebook’s conceal. 2017-06-15 16:20:33 +04:00
Pelle Stenild Coltau 025aab835a Refactored methods regarding the SharedPreferences and moved them to a utility class. 2017-06-15 10:09:59 +04:00
Pelle Stenild Coltau 544b92f262 Addressed review comments: Fixed copy-paste error, fixed migration from Facebook conceal and removed unused variable. 2017-06-15 09:01:09 +04:00
Pelle Stenild Coltau 10463e693d Replaced RSA implementation with AES-CBC (256 bit) encryption. 2017-06-04 13:01:15 +04:00
Pelle Stenild Coltau 25c1334d0e Fixing issue where legacy values stored with a NULL service would not be migrated.
Signed-off-by: Pelle Stenild Coltau <pcoltau@gmail.com>
2017-05-21 09:57:53 +04:00
Pelle Stenild Coltau a097053fe1 Splitting resetGenericPasswordForOptionsWithDelimiter() into two different methods: resetGenericPasswordForOptions() and resetGenericPasswordForOptionsLegacy(), in order to make it easier to remove legacy code.
Signed-off-by: Pelle Stenild Coltau <pcoltau@gmail.com>
2017-05-18 14:04:58 +04:00
Pelle Stenild Coltau 145a0983cb Changed KeychainModule to use Android’s KeyStore for creating and storing encryption keys. Also added functionality to automatically migrate existing encrypted data from Facebook’s conceal to encryption using KeyStore keys.
Signed-off-by: Pelle Stenild Coltau <pcoltau@gmail.com>
2017-05-18 10:40:14 +04:00
Joel Arvidsson d3282cdbca Released 1.2.0 2017-04-04 23:22:36 +02:00
Vojtech Novak 7bf6b1a650 Update README.md 2017-03-27 01:29:36 +02:00
Vojtech Novak 33d1816272 [android] return false instead of exception when entry not present (#57)
* Update KeychainModule.java

this will return false when a keychain entry is not present, so it'll behave same as on ios

* do not throw on entry reset
2017-03-17 21:00:32 +01:00
Mark Dawson 0e350a9bfe Update TypeScript definitions (#60) 2017-03-17 20:59:35 +01:00
Joel Arvidsson e5af53bbc8 Released 1.1.0 2017-02-10 11:39:50 +01:00
Joel Arvidsson 45799d5aa1 Add support for accessGroup option on iOS #4 #54 2017-02-10 11:26:38 +01:00
Joel Arvidsson eeeb703278 Fix warning in Example project when failing to load credentials 2017-02-10 10:59:39 +01:00
Joel Arvidsson fcd76decbf Bump flow config 2017-02-10 10:58:52 +01:00
Joel Arvidsson 6eb0a35037 Refactor accessible argument into options 2017-02-10 10:58:39 +01:00
Alexander Jarvis 1c4562a421 Add accessible argument for iOS (#51)
* Fix accessible

* Make accessible configurable

* Fix semicolon

* Remove unused function
2017-02-10 09:34:58 +01:00
Joel Arvidsson 7119425ce8 Released 1.0.0 2017-01-10 23:12:27 +01:00
Joel Arvidsson 962a9e38c5 Update README with new API documentation and year bump 2017-01-10 23:12:20 +01:00
Joel Arvidsson 28232bf029 Update type script definitions 2017-01-10 23:07:11 +01:00
Joel Arvidsson eb9093aed7 Refactors native methods to use promises and deprecate callback argument 2017-01-10 23:00:51 +01:00
Joel Arvidsson 157e290a78 Add android version of KeychainExample 2017-01-10 22:56:19 +01:00
Joel Arvidsson 8e2b53ce93 Bump KeychainExample project to RN 0.40 2017-01-10 22:27:47 +01:00
Joel Arvidsson e6cc3aa9f4 Add shared web credentials support (#40) 2017-01-10 22:25:04 +01:00
Andrey 7280e924ef Use absolute references (#50)
Adopts this e1577df1fd
2017-01-10 20:35:04 +01:00
Vojtech Novak 732b765c7a minor refactoring 2016-12-30 10:00:33 +01:00
Vojtech Novak c19efe56c5 remove a log message, inform if crypto not available 2016-12-16 13:32:54 +01:00
Vojtech Novak 7e3b8642bd Update KeychainModule.java 2016-12-11 16:30:50 +01:00
Joel Arvidsson e335c69ce9 Refactor to es2016 2016-11-04 11:42:12 +01:00
Joel Arvidsson e507c99b99 Update example to RN 0.36 & ES 2016 2016-11-02 21:58:27 +01:00
dryganets fd8663a8ec Add Typescript definitions and adapt callback interface fixed to match de facto usage (#38) 2016-10-27 10:58:02 +02:00
Sven dad6421045 Add a note about iOS 10 keychain sharing entitlement to the README (#33)
* Add a note about iOS 10 keychain sharing entitlement to the README

* Update README.md
2016-09-18 16:30:07 +02:00
Vojtech Novak 0eadf5061e removed a message that is too annoying in the log 2016-08-26 13:48:57 +02:00
Vojtech Novak 6bd55d7946 removed a message that is too annoying in the log 2016-08-26 13:45:46 +02:00
Vojtech Novak c93f9943d6 update readme 2016-08-26 08:40:09 +02:00
Joel Arvidsson 754b15075a Released 0.3.2. 2016-06-20 20:48:20 +02:00
Vojtech Novak 2d4e620f43 Merge pull request #28 from yagottahavehart/master
Use Charset instead of StandardCharset for UTF-8 to support sdk < 19
2016-06-17 22:11:48 +02:00
Andy Hartwell 6b9eabae01 Use Charset instead of StandardCharset for UTF-8 to support sdk < 19 2016-06-17 11:08:40 -07:00
Daniel Winter 1ef171d799 Update README.md (#26)
Added a catch block for a get request to show how a potential error could get caught.
2016-06-08 23:21:06 +02:00
Vojtech Novak 050cc84c46 Update README.md 2016-06-05 19:17:48 +02:00
Joel Arvidsson 7bce19f9d7 Released 0.3.1 2016-06-02 22:40:28 +02:00
Joel Arvidsson 34f2471418 Makes podspec use version from package.json. 2016-06-02 22:40:16 +02:00
Vojtech Novak 040b2c2128 Fixes callback on saving and resetting the password on android (#24)
* invoke callback after saving

* invoke callback after pw reset
2016-06-02 22:35:46 +02:00
Vojtech Novak 60455e88ce Fixes broken error handling (#22) 2016-06-02 11:54:39 +02:00
Vojtech Novak 008ee03b76 Update README.md (#20)
this one detail...
2016-06-01 01:52:10 +02:00
Joel Arvidsson a2d32fe35a Released 0.3.0. 2016-06-01 00:30:18 +02:00
Vojtech Novak d05b20c904 Added Android support w/ Facebook Conceal (#19)
Updates to Android storage

use password

added android support

readme update

implemented internet credentials on android

Merge Android and iOS index into 1 file.

Update flow version

Make error handling more consistent between Android and iOS

removing unneccessary binaries
2016-06-01 00:25:51 +02:00
Joel Arvidsson 15120d9a8d Released 0.2.7. 2016-01-19 11:20:39 -06:00
Joel Arvidsson 85b5f2fc6e Removes unused enum definitions. 2016-01-19 11:19:22 -06:00