Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket authored Jan 31, 2025
2 parents 7fc8b69 + cc9209d commit b8612b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

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

Expand Down
2 changes: 1 addition & 1 deletion SimpleKeychain/Accessibility.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Security

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

/// The data in the Keychain item can be accessed only while the device is unlocked by the user.
/// See [kSecAttrAccessibleWhenUnlocked](https://developer.apple.com/documentation/security/ksecattraccessiblewhenunlocked).
Expand Down
4 changes: 2 additions & 2 deletions SimpleKeychain/SimpleKeychain.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation
import Security
#if canImport(LocalAuthentication)
import LocalAuthentication
@preconcurrency import LocalAuthentication
#endif

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

0 comments on commit b8612b9

Please sign in to comment.