Skip to content

Commit b8612b9

Browse files
authored
Merge branch 'master' into master
2 parents 7fc8b69 + cc9209d commit b8612b9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060

6161
- name: Upload coverage report
6262
if: ${{ matrix.platform.os == 'iOS' }}
63-
uses: codecov/codecov-action@5a605bd92782ce0810fa3b8acc235c921b497052 # pin@5.2.0
63+
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # pin@5.3.1
6464
with:
6565
token: ${{ secrets.CODECOV_TOKEN }}
6666

SimpleKeychain/Accessibility.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Security
22

33
/// Represents the accessibility types of Keychain items. It's a mirror of `kSecAttrAccessible` values.
4-
public enum Accessibility: RawRepresentable {
4+
public enum Accessibility: RawRepresentable, @unchecked Sendable {
55

66
/// The data in the Keychain item can be accessed only while the device is unlocked by the user.
77
/// See [kSecAttrAccessibleWhenUnlocked](https://developer.apple.com/documentation/security/ksecattraccessiblewhenunlocked).

SimpleKeychain/SimpleKeychain.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Foundation
22
import Security
33
#if canImport(LocalAuthentication)
4-
import LocalAuthentication
4+
@preconcurrency import LocalAuthentication
55
#endif
66

77
typealias RetrieveFunction = (_ query: CFDictionary, _ result: UnsafeMutablePointer<CFTypeRef?>?) -> OSStatus
@@ -10,7 +10,7 @@ typealias RemoveFunction = (_ query: CFDictionary) -> OSStatus
1010
/// A simple Keychain wrapper for iOS, macOS, tvOS, and watchOS.
1111
/// Supports sharing credentials with an **access group** or through **iCloud**, and integrating
1212
/// **Touch ID / Face ID**.
13-
public struct SimpleKeychain {
13+
public struct SimpleKeychain: @unchecked Sendable {
1414
let service: String
1515
let accessGroup: String?
1616
let accessibility: Accessibility

0 commit comments

Comments
 (0)