-
Notifications
You must be signed in to change notification settings - Fork 4
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
Feat/integrate smile security module #286
base: main
Are you sure you want to change the base?
Conversation
Generated by 🚫 Danger Swift against e038402 |
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.
Hey @robin-ankele looking good
- Let's undo signing
- I think the info from the secure sdk can be logged, can we not move some operations we've been doing lower level like upload and zip
Sources/SmileID/Classes/BiometricKYC/OrchestratedBiometricKycViewModel.swift
Outdated
Show resolved
Hide resolved
* import example-objc project into the workspace. * code formatting. * add a readme file for some notes. * Update Example-Objc/README.md Co-authored-by: robin <[email protected]> * code formatting. * update readme to include link to documentation. --------- Co-authored-by: robin <[email protected]>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Great job. I tested the jobs and worked fine. The request headers were present. I left a comment around preventing job submission when header is missing. |
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
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.
Small nits nothing to block this
@@ -108,6 +111,32 @@ extension ServiceRunnable { | |||
headers.append(.timestamp(value: timestamp)) | |||
headers.append(.sourceSDK(value: "iOS")) | |||
headers.append(.sourceSDKVersion(value: SmileID.version)) | |||
let timestamp = Date().toISO8601WithMilliseconds() |
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.
util func? I see it used in multiple places
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 an extension to the Date object. Don't think we need an extra util function for that. Extensions are the way to do those things on iOS side as far as I am aware.
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.
Please fix lint
Story: https://app.shortcut.com/smileid/story/14751/sign-entire-request-payload-on-the-ios-v10-sdk
Summary
Integrates the SmileIDSecurity module to ensure protection of sensitive information
Known Issues
Test Instructions
Set
useSandbox = true
inios/Example/SmileID/Home/HomeViewModel.swift
Line 37 in e1c4a59
smile_config.json
from https://portal.dev.smileid.co/ (the backend change is currently deployed to the dev server). Then:Screenshot