feat: copper accent theme, always-expanded group filter, app icon; rename MyPass to KeeVault

- Custom copper AccentColor and warm VaultBackground color assets (light/dark),
  applied to both the main app and the AutoFill extension (which needed its own
  copy of the asset catalog plus ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME
  and an explicit .tint() modifier, since extensions don't pick up the app-wide
  accent color the same way a full SwiftUI App/Scene does).
- GroupFilterView no longer uses DisclosureGroup for subgroups -- the whole tree
  renders always-expanded (indented per depth) so active filters are visible at
  a glance instead of requiring tap-to-expand.
- Added a placeholder app icon (padlock glyph, light/dark/tinted variants plus
  macOS sizes) -- previously the icon slot existed but had no actual images,
  which blocks App Store/TestFlight archive validation.
- Added ITSAppUsesNonExemptEncryption = NO (standard encryption only, via
  KeePassKit) to skip the export-compliance prompt on each upload.
- Renamed the app from MyPass to KeeVault throughout: Xcode project/targets/
  schemes, the MyPassCore package (now KeeVaultCore) and every import site,
  folder and file names, bundle identifiers (org.antiloop222.keevault) and
  their App Group/Keychain-group entitlements, and remaining UI/string
  references -- MyPass was already taken as an App Store app name.
This commit is contained in:
2026-09-20 15:05:19 +02:00
parent a8d612f745
commit 8bba64076f
74 changed files with 363 additions and 176 deletions
@@ -0,0 +1,38 @@
{
"colors" : [
{
"idiom" : "universal",
"color" : {
"color-space" : "srgb",
"components" : {
"red" : "0.710",
"green" : "0.396",
"blue" : "0.114",
"alpha" : "1.000"
}
}
},
{
"idiom" : "universal",
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"red" : "0.890",
"green" : "0.635",
"blue" : "0.357",
"alpha" : "1.000"
}
}
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
+6
View File
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
@@ -0,0 +1,38 @@
{
"colors" : [
{
"idiom" : "universal",
"color" : {
"color-space" : "srgb",
"components" : {
"red" : "0.980",
"green" : "0.957",
"blue" : "0.925",
"alpha" : "1.000"
}
}
},
{
"idiom" : "universal",
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"red" : "0.141",
"green" : "0.125",
"blue" : "0.094",
"alpha" : "1.000"
}
}
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
+2 -2
View File
@@ -6,11 +6,11 @@
<true/>
<key>com.apple.security.application-groups</key>
<array>
<string>group.org.antiloop222.mypass</string>
<string>group.org.antiloop222.keevault</string>
</array>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)org.antiloop222.mypass</string>
<string>$(AppIdentifierPrefix)org.antiloop222.keevault</string>
</array>
</dict>
</plist>
@@ -7,16 +7,16 @@
import AuthenticationServices
import SwiftUI
import MyPassCore
import KeeVaultCore
final class CredentialProviderViewController: ASCredentialProviderViewController {
private let session = VaultSession()
private let bookmarkService = FileBookmarkService()
private let keychainStore = KeychainStore(accessGroup: "F2KB6W8N4R.org.antiloop222.mypass")
private let keychainStore = KeychainStore(accessGroup: "F2KB6W8N4R.org.antiloop222.keevault")
private let biometricService = BiometricAuthService()
// Called when the user selects MyPass from the QuickType bar.
// Called when the user selects KeeVault from the QuickType bar.
override func prepareCredentialList(for serviceIdentifiers: [ASCredentialServiceIdentifier]) {
let ids = serviceIdentifiers.map(\.identifier)
showUI(serviceIdentifiers: ids)
+3 -1
View File
@@ -1,6 +1,6 @@
// AutoFill/Views/CredentialListView.swift
import SwiftUI
import MyPassCore
import KeeVaultCore
struct CredentialListView: View {
@ObservedObject var vm: ExtensionViewModel
@@ -40,6 +40,8 @@ struct CredentialListView: View {
}
}
}
.scrollContentBackground(.hidden)
.background(Color("VaultBackground"))
.searchable(text: $searchQuery, prompt: "Search…")
}
}
+7 -5
View File
@@ -1,7 +1,7 @@
// AutoFill/Views/ExtensionUnlockView.swift
import SwiftUI
import Combine
import MyPassCore
import KeeVaultCore
/// Root view for the extension -- shows unlock screen or credential list depending on state.
struct ExtensionRootView: View {
@@ -36,7 +36,8 @@ struct ExtensionRootView: View {
CredentialListView(vm: vm)
}
}
.navigationTitle("MyPass")
.background(Color("VaultBackground"))
.navigationTitle("KeeVault")
.navigationBarTitleDisplayMode(.inline)
.toolbar {
ToolbarItem(placement: .cancellationAction) {
@@ -44,6 +45,7 @@ struct ExtensionRootView: View {
}
}
}
.tint(Color("AccentColor"))
.task { await vm.tryBiometricUnlock() }
}
@@ -74,8 +76,8 @@ struct ExtensionRootView: View {
}
if !vm.hasVault || vm.errorMessage != nil {
Link(destination: URL(string: "mypass://unlock")!) {
Label("Open MyPass to set up vault", systemImage: "arrow.up.right")
Link(destination: URL(string: "keevault://unlock")!) {
Label("Open KeeVault to set up vault", systemImage: "arrow.up.right")
.font(.caption)
}
}
@@ -140,7 +142,7 @@ final class ExtensionViewModel: ObservableObject {
guard canUseBiometrics, session.isLocked else { return }
isUnlocking = true
do {
try await biometricService.authenticate(reason: "Unlock MyPass")
try await biometricService.authenticate(reason: "Unlock KeeVault")
try performUnlockFromKeychain()
} catch {
errorMessage = error.localizedDescription