-
Notifications
You must be signed in to change notification settings - Fork 110
Background config update #208
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
base: develop
Are you sure you want to change the base?
Conversation
…o tokens can be accessible in background after first unlock (helps with apple watch notification response when device is locked).
…o tokens can be accessible in background after first unlock (helps with apple watch notification response when device is locked).
| kSecAttrService as String: kOTPService as NSString, | ||
|
|
||
| // Allow keychain access in the background after first unlock. | ||
| kSecAttrAccessible as String: kSecAttrAccessibleAfterFirstUnlock as NSString |
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.
Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
| kSecAttrGeneric as String: data as NSData, | ||
| kSecValueData as String: generator.secret as NSData, | ||
| kSecAttrService as String: kOTPService as NSString, | ||
|
|
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.
Trailing Whitespace Violation: Lines should not have trailing whitespace. (trailing_whitespace)
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #208 +/- ##
===========================================
+ Coverage 97.22% 99.34% +2.11%
===========================================
Files 6 6
Lines 397 153 -244
===========================================
- Hits 386 152 -234
+ Misses 11 1 -10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
•Added kSecAttrAccessible:kSecAttrAccessibleAfterFirstUnlock keychain attribute so tokens can be accessible in background after first unlock. This helps with apple watch notification response when device is locked.
•Also made the HMAC func public