Skip to content
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

redesigned the framework to make it less vulnerable to native exceptions. #951

Closed
wants to merge 23 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
300e0fa
improve the code with the help of new try-catch
radetsky Sep 2, 2022
8d2eb52
integrate isBase64 into code
radetsky Sep 15, 2022
a47fad8
review Obj-C code to make all try-catch and error checks
radetsky Sep 16, 2022
9a27632
fix an errors
radetsky Sep 16, 2022
241e0ac
review Java code
radetsky Sep 21, 2022
9907cb5
review Obj-C code
radetsky Sep 21, 2022
ecb3457
review Javascript code
radetsky Sep 21, 2022
0d9de20
moved old example and add ThemisTest for RN app
radetsky Sep 22, 2022
9c8377f
new Android Studio support file
radetsky Sep 22, 2022
90a0401
failed/passed fixes in order
radetsky Sep 23, 2022
c4eecd6
comparator can return nil without an error
radetsky Sep 23, 2022
6ecbec4
update example app
radetsky Sep 23, 2022
19496ce
Merge branch 'release/0.14' into rad-dev
radetsky Sep 23, 2022
e3a0322
changelog update
radetsky Sep 23, 2022
84218b2
check int value before casting to unsigned char
radetsky Sep 26, 2022
cdd443f
fix the compare procedure; var naming due the suggestion;
radetsky Sep 26, 2022
480702a
remove privateKey from secureMessageVerify functions
radetsky Sep 26, 2022
99342d1
remove publicKey from secureMessageSign64
radetsky Sep 26, 2022
297c93d
rewrite Obj-C code to use NSError instead of try/catch
radetsky Sep 29, 2022
cc5c3bb
fix the tests. The issue was in incorrect display of error
radetsky Sep 29, 2022
aa72af2
updated the code according to the comments
radetsky Sep 29, 2022
35ec1e9
updated the code according to the comments
radetsky Oct 2, 2022
913fec3
move examples to the previous state
radetsky Oct 2, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"cmake.configureOnOpen": false
}
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@

Changes that are currently in development and have not been released yet.

## [0.14.10](https://github.com/cossacklabs/themis/releases/tag/0.14.10), Sep 23th 2022

### Hotfix for react-native-themis

- Redesigned the code to make it less vulnerable to native exceptions
- Removed unused public key from secureMessageSign64(message, privateKey) function
- Removed unused private key from secureMessageVerify64(message, publicKey) function
- Updated and moved to different directory previous react-native-example
- Written the 'app of 70 tests of react-native-themis' and well tested it on debug, release, and TestFlight modes.
- Fixed found issues after running the app


([#951](https://github.com/cossacklabs/themis/pull/951
))

## [0.14.9](https://github.com/cossacklabs/themis/releases/tag/0.14.9), Sep 12th 2022

### Hotfix for macOS Themis installed via SPM
Expand Down
261 changes: 134 additions & 127 deletions docs/examples/react-native/App.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/examples/react-native/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ PODS:
- React-jsinspector (0.67.3)
- React-logger (0.67.3):
- glog
- react-native-themis (0.14.3):
- react-native-themis (0.14.10):
- React-Core
- React-perflogger (0.67.3)
- React-RCTActionSheet (0.67.3):
Expand Down Expand Up @@ -512,7 +512,7 @@ SPEC CHECKSUMS:
React-jsiexecutor: 15ea57ead631a11fad57634ff69f78e797113a39
React-jsinspector: 1e1e03345cf6d47779e2061d679d0a87d9ae73d8
React-logger: 1e10789cb84f99288479ba5f20822ce43ced6ffe
react-native-themis: 9f5e239751941b31a8870ba807999fab2a17b7c5
react-native-themis: ca42bd4e6c8c3204805b593aea1d959cf96a7e07
React-perflogger: 93d3f142d6d9a46e635f09ba0518027215a41098
React-RCTActionSheet: 87327c3722203cc79cf79d02fb83e7332aeedd18
React-RCTAnimation: 009c87c018d50e0b38692699405ebe631ff4872d
Expand All @@ -530,4 +530,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: f24fceb07b512098a1c639ff61301c6be594ad83

COCOAPODS: 1.11.2
COCOAPODS: 1.11.3

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

121 changes: 121 additions & 0 deletions docs/examples/react-native/ios/Pods/CocoaAsyncSocket/README.markdown

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading