From 133e7804c8e3675de42735ba1e4cf0b4ae98c33d Mon Sep 17 00:00:00 2001 From: Kathryn Baldauf Date: Fri, 11 Jul 2025 15:45:17 -0700 Subject: [PATCH] Make KeychainQuery errors type public (#210) There have been a few issues filed in container [here](https://github.com/apple/container/issues/254) and [here](https://github.com/apple/container/issues/321), where people are unable to pull or push to registries despite a successful login to that registry. Making this enum public so that we can get the error in container and handle it correctly. Signed-off-by: Kathryn Baldauf --- Sources/ContainerizationOS/Keychain/KeychainQuery.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ContainerizationOS/Keychain/KeychainQuery.swift b/Sources/ContainerizationOS/Keychain/KeychainQuery.swift index 9ab8b629..3ee6f8dd 100644 --- a/Sources/ContainerizationOS/Keychain/KeychainQuery.swift +++ b/Sources/ContainerizationOS/Keychain/KeychainQuery.swift @@ -135,7 +135,7 @@ public struct KeychainQuery { } extension KeychainQuery { - enum Error: Swift.Error { + public enum Error: Swift.Error { case unhandledError(status: Int32) case unexpectedDataFetched case keyNotPresent(key: String)