-
Notifications
You must be signed in to change notification settings - Fork 3
Webcrypto Polyfill package #23
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
Merged
Merged
Changes from 15 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
716eafe
initial commit
jaredperreault-okta 43e995c
progress
jaredperreault-okta 43e8267
progress
jaredperreault-okta 302e2d4
progress
jaredperreault-okta 51df65b
progress
jaredperreault-okta 944accf
progress
jaredperreault-okta d0d6649
progress
jaredperreault-okta 7987ca3
progress
jaredperreault-okta 79af38e
progress
jaredperreault-okta 48c49ea
functional baseline
jaredperreault-okta 474b9da
cleanup
jaredperreault-okta 572e589
progress: WORKING
jaredperreault-okta ddcc08b
updates Android bridge with Base64 URL encoding updates
jaredperreault-okta f4d9c4f
first pass at @okta/react-native-platform
jaredperreault-okta 5bbfbcb
fix
jaredperreault-okta 83352e8
fix(webcrypto-bridge): harden native crypto bridge with security, cor…
AlexNachbaur 2fd97ee
Merge pull request #25 from AlexNachbaur/an-rn-webcrypto
jaredperreault-okta fb56ffa
update the android components.
FeiChen-okta 4f619d3
Merge pull request #29 from okta/fc-android-webcrypto-impl
jaredperreault-okta c010dc9
kotlin first pass
jaredperreault-okta ebd8b56
android working build
jaredperreault-okta 7eb295d
updates ios code
jaredperreault-okta c2b2fb5
android feedback
jaredperreault-okta c35d929
functioning Android unit tests
jaredperreault-okta 5a3a370
adds android unit/integ tests
jaredperreault-okta 61cd93d
added concurrency tests
jaredperreault-okta 1c74261
adds ios unit/integ tests
jaredperreault-okta 1039a05
Add CircleCI configuration for Android and iOS testing
jaredperreault-okta 2c6011a
Fix CircleCI macOS executor Xcode version format
jaredperreault-okta e68679c
Fix CircleCI macOS resource class configuration
jaredperreault-okta 0662bc7
Update Android Docker image to specific version
jaredperreault-okta 2b6983b
progress
jaredperreault-okta 409d7b6
progress
jaredperreault-okta cd339bd
progress
jaredperreault-okta 496cb92
progress
jaredperreault-okta 49b378d
Revert to custom executors; keep orbs for future use
jaredperreault-okta abe0bb3
progress
jaredperreault-okta 6d6ea74
progress
jaredperreault-okta 8d49b7f
progress
jaredperreault-okta 43b0c04
progress
jaredperreault-okta 307a619
progress
jaredperreault-okta 6bd4cc1
progress
jaredperreault-okta 1b60869
adds jest tests
jaredperreault-okta 322073d
linter fixes
jaredperreault-okta 83706b9
ci fix
jaredperreault-okta 07e0d2c
publish fix
jaredperreault-okta 5464599
feedback
jaredperreault-okta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| module.exports = function (api) { | ||
| api.cache(true); | ||
|
|
||
| return { | ||
| presets: ['babel-preset-expo'], | ||
| plugins: [ | ||
| '@babel/plugin-transform-class-static-block', | ||
| ], | ||
| }; | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| import '@expo/metro-runtime'; | ||
| import 'expo-router/entry'; | ||
|
|
||
| import { Platform, installWebCryptoPolyfill } from '@okta/react-native-platform'; | ||
| installWebCryptoPolyfill(); | ||
|
|
||
| console.log('Plat', Platform, Platform.TimeCoordinator) | ||
| console.log("globalThis.crypto", globalThis.crypto); | ||
| // global.crypto = global.crypto ?? globalThis.crypto; | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| const path = require('path'); | ||
|
|
||
| module.exports = { | ||
| dependencies: { | ||
| '@okta/react-native-webcrypto-bridge': { | ||
| root: path.resolve(__dirname, '../../packages/react-native-webcrypto-bridge'), | ||
| }, | ||
| }, | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,7 @@ | |
| }, | ||
| "include": [ | ||
| "**/*.ts", | ||
| "**/*.tsx" | ||
| "**/*.tsx", | ||
| "index.js" | ||
| ] | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented-out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just test app code - I'll clean this up in a follow up PR