Commit Graph

123 Commits

Author SHA1 Message Date
Vojtech Novak 7efae775e1
Update README.md 2018-02-25 22:18:26 +01:00
Joel Arvidsson f596fa68bd Upgrade example to RN 0.53 and add tvOS target 2018-02-25 20:21:47 +01:00
Joel Arvidsson 9455bac5e9 Fix tvOS support 2018-02-25 20:21:01 +01:00
Joel Arvidsson 8a30ba0341 Update example app with biometric features 2018-02-25 19:24:35 +01:00
Joel Arvidsson 0b1b1d3395 Return null instead of throwing for getSupportedBiometryType on android 2018-02-25 19:23:36 +01:00
Joel Arvidsson d6544520f2 Rename *SecurePassword to *PasswordWithAuthentication and unify arguments 2018-02-25 19:20:49 +01:00
Joel Arvidsson ecaa3f0041 Fix resetGenericPassword to also clear those with authentication 2018-02-25 19:16:07 +01:00
Joel Arvidsson d6a00596c4 Export enum options 2018-02-25 17:48:43 +01:00
Joel Arvidsson b9fad8768e Fix formatting of iOS code 2018-02-25 17:21:12 +01:00
Joel Arvidsson b227c59406 Don't throw in canImplyAuthentication 2018-02-25 17:07:18 +01:00
Joel Arvidsson aac2d3d8c4 Add getSupportedBiometryType 2018-02-25 17:05:33 +01:00
Joel Arvidsson 1497383434 Throw on methods not yet supported on android 2018-02-25 16:29:33 +01:00
Joel Arvidsson 126c69266e Fix android related bugs in example app 2018-02-25 16:16:22 +01:00
Joel Arvidsson a751670b92 Format with prettier and add .prettierrc 2018-02-25 16:14:17 +01:00
Steff 172368f2fd Protect the data stored in keychain by TouchId or Passcode (#65)
* First draft of implementing secured storage support (TouchId or Passcode)

* minor improvements

* improving the implementation; Support for AppDelegate-notification

* minor changes and improvements

* provding requested constant as usability feature; added documentation to canImplyAuthentication

* updating .d.ts-file

* when fetching stored items using the traditional modality (not TouchId or Passcode protected) ignore any items that need authentication.
2018-02-25 15:55:17 +01:00
Joel Arvidsson 55681fa8e8
Add logo to README 2018-02-25 15:12:36 +01:00
Joel Arvidsson 06e0ea8678 Release 2.0.0 2018-01-08 22:23:24 +01:00
Joel Arvidsson 0619004744
Add travis config and release to npm automatically (#97) 2018-01-08 20:25:20 +01:00
Joel Arvidsson c84f9517ca Bump RN version in KeychainExample 2018-01-08 20:15:36 +01:00
Kevin Barrett 0c9d6d6ab8 Update README to include proguard note (#88)
Add note on proguard exception rule to fix conceal error.
2017-11-19 13:54:38 +01:00
Vojtech Novak 610ad80134 do not specify RN version in gradle
previously this would cause gradle to fetch old rn version even though it wasn't needed
2017-09-06 15:34:50 +02:00
Julien K 712679ff89 Add react-native-keychain on tvOS (#78)
* [tvOS] Update podspec

* [tvOS] Add target

* [SecRequestSharedWebCredential] is only available on iOS and not tvOS

* [Security] Move into the same folder Framework

* [RNKeychainManager.m] Change indentation
2017-08-24 23:21:36 +02:00
Andrey Konstantinov 99ae5252ca Change path for iOS module linking via CocoaPods in README (#81) 2017-08-24 23:12:34 +02:00
Andrew Jack fbd9fb996a Support React Native 0.47 (#80) 2017-08-24 23:10:17 +02:00
Joel Arvidsson 0cb91883c3 Add maintainers section to README (#75) 2017-07-21 22:36:20 +02:00
Vojtech Novak b9c0aee20e rewite README.md
add note on security, reformat the entire readme
2017-07-21 22:33:19 +02:00
Joel Arvidsson f2760aafad Release 2.0.0 release candidate 2017-07-05 21:26:30 +02:00
Joel Arvidsson a9ee69fce8 Bump flow version 2017-07-05 21:25:04 +02:00
Vojtech Novak c4b2b4dcfe Merge pull request #67 from TeletronicsDotAe/feature/change_to_android_keystore
use KeyStore on Android >= 6.0
2017-06-30 13:20:51 +02:00
Pelle Stenild Coltau ef9b5256ef Moving null checks from CipherStorageFacebookConceal and PrefsStorage to KeychainModule and introducing checks for empty service in CipherStorageKeystoreAESCBC. 2017-06-29 09:49:35 +02:00
Pelle Stenild Coltau 71f567d65a Renaming PrefsStorage.resetPassword() to .removeEntry() 2017-06-28 15:40:56 +02:00
Pelle Stenild Coltau e07e571e63 Upgrading to Facebook Conceal 1.1.3. 2017-06-26 10:18:39 +02:00
Pelle Stenild Coltau a45f1351c2 Refactoring based on review: CipherStorage.getAPILevel() renamed to getMinSupportedApiLevel(). Fixed issue with no handling of null service in PrefsStorage. Throwing of CryptoFailedException moved to getCipherStorageForCurrentAPILevel(). Removed unused constructor. 2017-06-26 10:06:46 +02:00
Pelle Stenild Coltau 1c0552f88b Fixed issue with missing cipher storage name. Also did some small refactorings and adding to comments. 2017-06-18 12:55:48 +04:00
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