Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Rename SharedCredentialStore to VaultStore, add readmes (#771)
Leendert de Borstb747161b24d9
diff --git a/mobile-app/ios/Autofill/CredentialProviderView.swift b/mobile-app/ios/Autofill/CredentialProviderView.swiftindex 5c8bc8c89..1520d9f08 100644--- a/mobile-app/ios/Autofill/CredentialProviderView.swift+++ b/mobile-app/ios/Autofill/CredentialProviderView.swift@@ -174,8 +174,8 @@ class CredentialProviderViewModel: ObservableObject {isLoading = truedo {- let sharedCredentialStore = SharedCredentialStore()- credentials = try sharedCredentialStore.getAllCredentials()+ let vaultStore = VaultStore()+ credentials = try vaultStore.getAllCredentials()filteredCredentials = credentialsTask {@@ -217,8 +217,8 @@ class CredentialProviderViewModel: ObservableObject {service: newService)do {- let sharedCredentialStore = SharedCredentialStore()- try sharedCredentialStore.addCredential(credential)+ let vaultStore = VaultStore()+ try vaultStore.addCredential(credential)Task {try await CredentialIdentityStore.shared.saveCredentialIdentities([credential])}diff --git a/mobile-app/ios/Autofill/CredentialProviderViewController.swift b/mobile-app/ios/Autofill/CredentialProviderViewController.swiftindex 80031b04d..44377fc47 100644--- a/mobile-app/ios/Autofill/CredentialProviderViewController.swift+++ b/mobile-app/ios/Autofill/CredentialProviderViewController.swift@@ -41,8 +41,12 @@ class CredentialProviderViewController: ASCredentialProviderViewController {override func provideCredentialWithoutUserInteraction(for credentialIdentity: ASPasswordCredentialIdentity) {// Get credentials and return the first one that matches the identity+ // TODO: how do we handle authentication here? We need Face ID access before we can access credentials..+ // so we probably actually need to have a .shared instance in the autofill extension where after one unlock+ // it stays unlocked? Or should we cache usernames locally and still require faceid as soon as user tries to+ // autofill the username? Check how this should work functionally.do {- let credentials = try SharedCredentialStore.shared.getAllCredentials()+ let credentials = try VaultStore.shared.getAllCredentials()if let matchingCredential = credentials.first(where: { $0.service == credentialIdentity.serviceIdentifier.identifier }) {let passwordCredential = ASPasswordCredential(user: matchingCredential.username,diff --git a/mobile-app/ios/Autofill/README.md b/mobile-app/ios/Autofill/README.mdnew file mode 100644index 000000000..46239093a--- /dev/null+++ b/mobile-app/ios/Autofill/README.md@@ -0,0 +1,16 @@+# iOS Autofill Extension++This directory contains the native iOS Autofill extension that enables native password autofill functionality on iOS devices. The extension works in conjunction with the main React Native application through a shared data model.++## Architecture++The Autofill extension and the React Native app both access the same `VaultStore`, which serves as a shared data model between the native iOS components and the React Native application. This architecture allows for seamless communication between:++- Native iOS Autofill functionality+- React Native application components+- Shared data storage and access++## Integration++The extension is designed to work alongside the React Native app while maintaining native iOS autofill capabilities.+diff --git a/mobile-app/ios/NativeVaultManager/RCTNativeVaultManager.mm b/mobile-app/ios/NativeVaultManager/RCTNativeVaultManager.mmindex 2f2b73a5f..452626b01 100644--- a/mobile-app/ios/NativeVaultManager/RCTNativeVaultManager.mm+++ b/mobile-app/ios/NativeVaultManager/RCTNativeVaultManager.mm@@ -14,8 +14,8 @@/*** This objective-c class is used as a bridge to allow React Native to interact with the CredentialManager class.- * The underlying CredentialManager class is implemented in Swift and used by both React Native and the- * native iOS Autofill extension.+ * The underlying VaultManager class is implemented in Swift and communicates with the VaultStore+ * that is used by both React Native and the native iOS Autofill extension.** This class should implement all methods defined in the specs/NativeVaultManager.ts TurboModule.* When adding a new method, make sure to update the spec .ts file first and then run `pod install` todiff --git a/mobile-app/ios/NativeVaultManager/README.md b/mobile-app/ios/NativeVaultManager/README.mdnew file mode 100644index 000000000..a9d58ee32--- /dev/null+++ b/mobile-app/ios/NativeVaultManager/README.md@@ -0,0 +1,18 @@+# NativeVaultManager++This folder contains the React Native bridge implementation for iOS, written in Objective-C and Swift. These files serve as the communication layer between the React Native mobile app and the shared `VaultStore` logic.++## Purpose++The NativeVaultManager enables:+- React Native to make calls to the shared VaultStore functionality+- Integration with the native iOS autofill extension+- Secure communication between the React Native layer and native iOS code++## Key Components++- Objective-C bridge files for React Native integration that can talk to Swift+- Swift bridge files that can talk to the VaultStore swift logic where the data is securely stored++This bridge ensures that both the React Native app and the native iOS autofill extension can securely access and manage vault data through a common interface.+diff --git a/mobile-app/ios/NativeVaultManager/VaultManager.swift b/mobile-app/ios/NativeVaultManager/VaultManager.swiftindex 611d970b9..de5b63417 100644--- a/mobile-app/ios/NativeVaultManager/VaultManager.swift+++ b/mobile-app/ios/NativeVaultManager/VaultManager.swift@@ -3,13 +3,13 @@ import SQLiteimport LocalAuthentication/**- * This class is used as a bridge to allow React Native to interact with the SharedCredentialStore class.- * The SharedCredentialStore class is implemented in Swift and used by both React Native and the native iOS+ * This class is used as a bridge to allow React Native to interact with the VaultStore class.+ * The VaultStore class is implemented in Swift and used by both React Native and the native iOS* Autofill extension.*/@objc(VaultManager)public class VaultManager: NSObject {- private let credentialStore = SharedCredentialStore.shared+ private let vaultStore = VaultStore.sharedoverride init() {super.init()@@ -21,7 +21,7 @@ public class VaultManager: NSObject {resolver resolve: @escaping RCTPromiseResolveBlock,rejecter reject: @escaping RCTPromiseRejectBlock) {do {- try credentialStore.storeEncryptedDatabase(base64EncryptedDb, metadata: metadata)+ try vaultStore.storeEncryptedDatabase(base64EncryptedDb, metadata: metadata)resolve(nil)} catch {reject("DB_ERROR", "Failed to store database: \(error.localizedDescription)", error)@@ -47,7 +47,7 @@ public class VaultManager: NSObject {}}- try credentialStore.setAuthMethods(methods)+ try vaultStore.setAuthMethods(methods)resolve(nil)} catch {reject("AUTH_METHOD_ERROR", "Failed to set authentication methods: \(error.localizedDescription)", error)@@ -59,7 +59,7 @@ public class VaultManager: NSObject {resolver resolve: @escaping RCTPromiseResolveBlock,rejecter reject: @escaping RCTPromiseRejectBlock) {do {- try credentialStore.storeEncryptionKey(base64Key: base64EncryptionKey)+ try vaultStore.storeEncryptionKey(base64Key: base64EncryptionKey)resolve(nil)} catch {reject("KEYCHAIN_ERROR", "Failed to store encryption key: \(error.localizedDescription)", error)@@ -77,8 +77,8 @@ public class VaultManager: NSObject {return String(describing: param)}- // Execute the query through the credential store- let results = try credentialStore.executeQuery(query, params: bindingParams)+ // Execute the query through the vault store+ let results = try vaultStore.executeQuery(query, params: bindingParams)resolve(results)} catch {reject("QUERY_ERROR", "Failed to execute query: \(error.localizedDescription)", error)@@ -96,8 +96,8 @@ public class VaultManager: NSObject {return String(describing: param)}- // Execute the update through the credential store- let changes = try credentialStore.executeUpdate(query, params: bindingParams)+ // Execute the update through the vault store+ let changes = try vaultStore.executeUpdate(query, params: bindingParams)resolve(changes)} catch {reject("UPDATE_ERROR", "Failed to execute update: \(error.localizedDescription)", error)@@ -108,7 +108,7 @@ public class VaultManager: NSObject {func addCredential(_ username: String, password: String, service: String) {do {let credential = Credential(username: username, password: password, service: service)- try credentialStore.addCredential(credential)+ try vaultStore.addCredential(credential)} catch {print("Failed to add credential: \(error)")}@@ -117,7 +117,7 @@ public class VaultManager: NSObject {@objcfunc getCredentials() -> [String: Any] {do {- let credentials = try credentialStore.getAllCredentials()+ let credentials = try vaultStore.getAllCredentials()let credentialDicts = credentials.map { credential inreturn ["username": credential.username,@@ -135,7 +135,7 @@ public class VaultManager: NSObject {@objcfunc clearVault() {do {- try credentialStore.clearVault()+ try vaultStore.clearVault()} catch {print("Failed to clear vault: \(error)")}@@ -145,7 +145,7 @@ public class VaultManager: NSObject {func isVaultInitialized(_ resolve: @escaping RCTPromiseResolveBlock,rejecter reject: @escaping RCTPromiseRejectBlock) {do {- let isInitialized = try credentialStore.isVaultInitialized()+ let isInitialized = try vaultStore.isVaultInitialized()resolve(isInitialized)} catch {reject("VAULT_ERROR", "Failed to check vault initialization: \(error.localizedDescription)", error)@@ -155,7 +155,7 @@ public class VaultManager: NSObject {@objcfunc isVaultUnlocked(_ resolve: @escaping RCTPromiseResolveBlock,rejecter reject: @escaping RCTPromiseRejectBlock) {- let isUnlocked = try credentialStore.isVaultUnlocked()+ let isUnlocked = try vaultStore.isVaultUnlocked()resolve(isUnlocked)}@@ -163,7 +163,7 @@ public class VaultManager: NSObject {func getVaultMetadata(_ resolve: @escaping RCTPromiseResolveBlock,rejecter reject: @escaping RCTPromiseRejectBlock) {do {- let metadata = try credentialStore.getVaultMetadata()+ let metadata = try vaultStore.getVaultMetadata()resolve(metadata)} catch {reject("METADATA_ERROR", "Failed to get vault metadata: \(error.localizedDescription)", error)@@ -177,12 +177,12 @@ public class VaultManager: NSObject {// TODO: rename this to unlockvault? so meaning is: initialized means it exists, and unlock means// we're decrypting the encrypted database (that exists) and try to load it into memory. If unlocking// fails, user is redirected to the unlock screen in the react native app.- try credentialStore.initializeDatabase()+ try vaultStore.initializeDatabase()resolve(true)} catch {// Check if the error is related to Face ID or decryptionif let nsError = error as NSError? {- if nsError.domain == "SharedCredentialStore" {+ if nsError.domain == "VaultStore" {// These are our known error codes for initialization failuresif nsError.code == 1 || nsError.code == 2 || nsError.code == 8 || nsError.code == 10 {resolve(false)@@ -203,14 +203,14 @@ public class VaultManager: NSObject {func setAutoLockTimeout(_ timeout: Int,resolver resolve: @escaping RCTPromiseResolveBlock,rejecter reject: @escaping RCTPromiseRejectBlock) {- credentialStore.setAutoLockTimeout(timeout)+ vaultStore.setAutoLockTimeout(timeout)resolve(nil)}@objcfunc getAutoLockTimeout(_ resolve: @escaping RCTPromiseResolveBlock,rejecter reject: @escaping RCTPromiseRejectBlock) {- let timeout = credentialStore.getAutoLockTimeout()+ let timeout = vaultStore.getAutoLockTimeout()resolve(timeout)}@@ -218,7 +218,7 @@ public class VaultManager: NSObject {func getAuthMethods(_ resolve: @escaping RCTPromiseResolveBlock,rejecter reject: @escaping RCTPromiseRejectBlock) {do {- let methods = try credentialStore.getAuthMethods()+ let methods = try vaultStore.getAuthMethods()var methodStrings: [String] = []if methods.contains(.faceID) {diff --git a/mobile-app/ios/VaultStore/Models/AuthMethods.swift b/mobile-app/ios/VaultStore/Models/AuthMethods.swiftnew file mode 100644index 000000000..9a4025d6b--- /dev/null+++ b/mobile-app/ios/VaultStore/Models/AuthMethods.swift@@ -0,0 +1,15 @@+import Foundation++public struct AuthMethods: OptionSet {+ public let rawValue: Int++ public init(rawValue: Int) {+ self.rawValue = rawValue+ }++ public static let faceID = AuthMethods(rawValue: 1 << 0)+ public static let password = AuthMethods(rawValue: 1 << 1)++ public static let all: AuthMethods = [.faceID, .password]+ public static let none: AuthMethods = []+}diff --git a/mobile-app/ios/CredentialManager/Credential.swift b/mobile-app/ios/VaultStore/Models/Credential.swiftsimilarity index 100%rename from mobile-app/ios/CredentialManager/Credential.swiftrename to mobile-app/ios/VaultStore/Models/Credential.swiftdiff --git a/mobile-app/ios/VaultStore/README.md b/mobile-app/ios/VaultStore/README.mdnew file mode 100644index 000000000..fe81ce15b--- /dev/null+++ b/mobile-app/ios/VaultStore/README.md@@ -0,0 +1,22 @@+# VaultStore++The VaultStore is the core native iOS module for AliasVault that handles all critical data operations. This module serves as the deepest level of data management in the iOS app, providing secure and efficient access to sensitive information.++## Key Components++- **Encrypted Vault**: Stores and manages encrypted user data+- **SQLite Client**: Handles local database operations+- **Native iOS Keychain integration**: This module directly integrates with the native iOS Keychain features which protects important data such as stored encryption keys with Face ID / Touch ID.++## Architecture++The VaultStore is accessed by the React Native layer through Turbo Modules, which provide a high-performance bridge between JavaScript and native code. This architecture ensures:++- Secure data handling at the native level+- Optimal performance for critical operations+- Seamless integration with React Native components++## Integration++The module is designed to be accessed exclusively through the Turbo Module interface, ensuring proper encapsulation of sensitive operations while maintaining the benefits of cross-platform development.+diff --git a/mobile-app/ios/CredentialManager/SharedCredentialStore.swift b/mobile-app/ios/VaultStore/VaultStore.swiftsimilarity index 87%rename from mobile-app/ios/CredentialManager/SharedCredentialStore.swiftrename to mobile-app/ios/VaultStore/VaultStore.swiftindex 4702c047f..8ed1ef472 100644--- a/mobile-app/ios/CredentialManager/SharedCredentialStore.swift+++ b/mobile-app/ios/VaultStore/VaultStore.swift@@ -5,18 +5,15 @@ import LocalAuthenticationimport CryptoKitimport CommonCrypto-struct AuthMethods: OptionSet {- let rawValue: Int-- static let faceID = AuthMethods(rawValue: 1 << 0)- static let password = AuthMethods(rawValue: 1 << 1)-- static let all: AuthMethods = [.faceID, .password]- static let none: AuthMethods = []-}--class SharedCredentialStore {- static let shared = SharedCredentialStore()+/**+ * This class is used to store and retrieve the encrypted AliasVault database and encryption key.+ * It also handles executing queries against the SQLite database and biometric authentication.+ *+ * This class is used by both the iOS Autofill extension and the React Native app and is the lowest+ * level where all important data is stored and retrieved from.+ */+class VaultStore {+ static let shared = VaultStore()private let keychain = Keychain(service: "net.aliasvault.autofill", accessGroup: "group.net.aliasvault.autofill").accessibility(.whenPasscodeSetThisDeviceOnly, authenticationPolicy: .biometryAny)@@ -155,7 +152,7 @@ class SharedCredentialStore {var error: NSError?guard context.canEvaluatePolicy(.deviceOwnerAuthenticationWithBiometrics, error: &error) else {- throw NSError(domain: "SharedCredentialStore", code: 2, userInfo: [NSLocalizedDescriptionKey: "Face ID not available: \(error?.localizedDescription ?? "Unknown error")"])+ throw NSError(domain: "VaultStore", code: 2, userInfo: [NSLocalizedDescriptionKey: "Face ID not available: \(error?.localizedDescription ?? "Unknown error")"])}// Get the encryption key from keychain@@ -164,7 +161,7 @@ class SharedCredentialStore {guard let keyData = try keychain.authenticationPrompt("Authenticate to unlock your vault").getData(encryptionKeyKey) else {- throw NSError(domain: "SharedCredentialStore", code: 2, userInfo: [NSLocalizedDescriptionKey: "No encryption key found"])+ throw NSError(domain: "VaultStore", code: 2, userInfo: [NSLocalizedDescriptionKey: "No encryption key found"])}encryptionKey = keyDatareturn keyData@@ -172,30 +169,30 @@ class SharedCredentialStore {// Handle specific keychain errorsswitch keychainError {case .itemNotFound:- throw NSError(domain: "SharedCredentialStore", code: 2, userInfo: [NSLocalizedDescriptionKey: "No encryption key found"])+ throw NSError(domain: "VaultStore", code: 2, userInfo: [NSLocalizedDescriptionKey: "No encryption key found"])case .authFailed:- throw NSError(domain: "SharedCredentialStore", code: 8, userInfo: [NSLocalizedDescriptionKey: "Authentication failed"])+ throw NSError(domain: "VaultStore", code: 8, userInfo: [NSLocalizedDescriptionKey: "Authentication failed"])default:- throw NSError(domain: "SharedCredentialStore", code: 9, userInfo: [NSLocalizedDescriptionKey: "Keychain access error: \(keychainError.localizedDescription)"])+ throw NSError(domain: "VaultStore", code: 9, userInfo: [NSLocalizedDescriptionKey: "Keychain access error: \(keychainError.localizedDescription)"])}} catch {- throw NSError(domain: "SharedCredentialStore", code: 9, userInfo: [NSLocalizedDescriptionKey: "Unexpected error accessing keychain: \(error.localizedDescription)"])+ throw NSError(domain: "VaultStore", code: 9, userInfo: [NSLocalizedDescriptionKey: "Unexpected error accessing keychain: \(error.localizedDescription)"])}}// If Face ID is not enabled and we don't have a key in memory, throw an error- throw NSError(domain: "SharedCredentialStore", code: 3, userInfo: [NSLocalizedDescriptionKey: "No encryption key found in memory"])+ throw NSError(domain: "VaultStore", code: 3, userInfo: [NSLocalizedDescriptionKey: "No encryption key found in memory"])}func storeEncryptionKey(base64Key: String) throws {// Convert base64 string to bytesguard let keyData = Data(base64Encoded: base64Key) else {- throw NSError(domain: "SharedCredentialStore", code: 6, userInfo: [NSLocalizedDescriptionKey: "Invalid base64 key"])+ throw NSError(domain: "VaultStore", code: 6, userInfo: [NSLocalizedDescriptionKey: "Invalid base64 key"])}// Validate key length (AES-256 requires 32 bytes)guard keyData.count == 32 else {- throw NSError(domain: "SharedCredentialStore", code: 7, userInfo: [NSLocalizedDescriptionKey: "Invalid key length. Expected 32 bytes"])+ throw NSError(domain: "VaultStore", code: 7, userInfo: [NSLocalizedDescriptionKey: "Invalid key length. Expected 32 bytes"])}// Store the key in memory@@ -265,7 +262,7 @@ class SharedCredentialStore {func initializeDatabase() throws {// Get the encrypted databaseguard let encryptedDbBase64 = getEncryptedDatabase() else {- throw NSError(domain: "SharedCredentialStore", code: 1, userInfo: [NSLocalizedDescriptionKey: "No encrypted database found"])+ throw NSError(domain: "VaultStore", code: 1, userInfo: [NSLocalizedDescriptionKey: "No encrypted database found"])}let encryptedDbData = Data(base64Encoded: encryptedDbBase64)!@@ -276,7 +273,7 @@ class SharedCredentialStore {// The decrypted data is still base64 encoded, so decode itguard let decryptedDbData = Data(base64Encoded: decryptedDbBase64) else {- throw NSError(domain: "SharedCredentialStore", code: 10, userInfo: [NSLocalizedDescriptionKey: "Failed to decode base64 data after decryption"])+ throw NSError(domain: "VaultStore", code: 10, userInfo: [NSLocalizedDescriptionKey: "Failed to decode base64 data after decryption"])}// Create a temporary file for the decrypted database in the same directory as the encrypted one@@ -329,7 +326,7 @@ class SharedCredentialStore {func addCredential(_ credential: Credential) throws {// After initialization attempt, check if db is still nilguard let db = db else {- throw NSError(domain: "SharedCredentialStore", code: 4, userInfo: [NSLocalizedDescriptionKey: "Database not initialized"])+ throw NSError(domain: "VaultStore", code: 4, userInfo: [NSLocalizedDescriptionKey: "Database not initialized"])}// TODO: update this to use the actual database schema.@@ -355,7 +352,7 @@ class SharedCredentialStore {func getAllCredentials() throws -> [Credential] {// After initialization attempt, check if db is still nilguard let db = db else {- throw NSError(domain: "SharedCredentialStore", code: 4, userInfo: [NSLocalizedDescriptionKey: "Database not initialized"])+ throw NSError(domain: "VaultStore", code: 4, userInfo: [NSLocalizedDescriptionKey: "Database not initialized"])}let query = """@@ -432,7 +429,7 @@ class SharedCredentialStore {func executeQuery(_ query: String, params: [Binding?]) throws -> [[String: Any]] {guard let db = db else {- throw NSError(domain: "SharedCredentialStore", code: 4, userInfo: [NSLocalizedDescriptionKey: "Database not initialized"])+ throw NSError(domain: "VaultStore", code: 4, userInfo: [NSLocalizedDescriptionKey: "Database not initialized"])}let statement = try db.prepare(query)@@ -470,7 +467,7 @@ class SharedCredentialStore {func executeUpdate(_ query: String, params: [Binding?]) throws -> Int {guard let db = db else {- throw NSError(domain: "SharedCredentialStore", code: 4, userInfo: [NSLocalizedDescriptionKey: "Database not initialized"])+ throw NSError(domain: "VaultStore", code: 4, userInfo: [NSLocalizedDescriptionKey: "Database not initialized"])}let statement = try db.prepare(query)@@ -485,7 +482,7 @@ class SharedCredentialStore {var error: NSError?guard context.canEvaluatePolicy(.deviceOwnerAuthenticationWithBiometrics, error: &error) else {- throw error ?? NSError(domain: "SharedCredentialStore", code: 5, userInfo: [NSLocalizedDescriptionKey: "Biometrics not available"])+ throw error ?? NSError(domain: "VaultStore", code: 5, userInfo: [NSLocalizedDescriptionKey: "Biometrics not available"])}return try await withCheckedThrowingContinuation { continuation indiff --git a/mobile-app/ios/aliasvault.xcodeproj/project.pbxproj b/mobile-app/ios/aliasvault.xcodeproj/project.pbxprojindex 2a7ddac79..0b2b4c555 100644--- a/mobile-app/ios/aliasvault.xcodeproj/project.pbxproj+++ b/mobile-app/ios/aliasvault.xcodeproj/project.pbxproj@@ -15,13 +15,14 @@ABF77E25420BBBD13D0438F2 /* libPods-AliasVault.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D3105EF00E7F103157A21E09 /* libPods-AliasVault.a */; };B18059E884C0ABDD17F3DC3D /* ExpoModulesProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAC715A2D49A985799AEE119 /* ExpoModulesProvider.swift */; };BB2F792D24A3F905000567C9 /* Expo.plist in Resources */ = {isa = PBXBuildFile; fileRef = BB2F792C24A3F905000567C9 /* Expo.plist */; };- CE26D68E2DA7FCD2006DC04D /* SharedCredentialStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE26D68D2DA7FCD2006DC04D /* SharedCredentialStore.swift */; };+ CE26D68E2DA7FCD2006DC04D /* VaultStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE26D68D2DA7FCD2006DC04D /* VaultStore.swift */; };CE26D68F2DA7FCD2006DC04D /* VaultManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE26D68C2DA7FCD2006DC04D /* VaultManager.swift */; };- CE26D6912DA7FCD2006DC04D /* SharedCredentialStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE26D68D2DA7FCD2006DC04D /* SharedCredentialStore.swift */; };- CE9A55EA2DA8039F00CB0A4C /* Credential.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE9A55E92DA8039F00CB0A4C /* Credential.swift */; };- CE9A55EB2DA8039F00CB0A4C /* Credential.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE9A55E92DA8039F00CB0A4C /* Credential.swift */; };+ CE26D6912DA7FCD2006DC04D /* VaultStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE26D68D2DA7FCD2006DC04D /* VaultStore.swift */; };CE9A58FC2DBA982100CB0A4C /* RCTNativeVaultManager.mm in Sources */ = {isa = PBXBuildFile; fileRef = CE9A58FB2DBA982100CB0A4C /* RCTNativeVaultManager.mm */; };CE9A5A022DBAAE5000CB0A4C /* RCTNativeVaultManager.h in Sources */ = {isa = PBXBuildFile; fileRef = CE9A58FA2DBA982100CB0A4C /* RCTNativeVaultManager.h */; };+ CE9A5B602DBAE31D00CB0A4C /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = CE9A5B5F2DBAE31D00CB0A4C /* README.md */; };+ CE9A5B612DBAE31D00CB0A4C /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = CE9A5B5F2DBAE31D00CB0A4C /* README.md */; };+ CE9A5B672DBAE42B00CB0A4C /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = CE9A5B662DBAE42B00CB0A4C /* README.md */; };CEE909802DA548C7008D568F /* AuthenticationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEE9097F2DA548C7008D568F /* AuthenticationServices.framework */; };CEE9098B2DA548C7008D568F /* Autofill.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = CEE9097E2DA548C7008D568F /* Autofill.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };D6E19ADE0A608FA46984C60D /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = BA88D6CB4FD656C7180FE9F7 /* PrivacyInfo.xcprivacy */; };@@ -69,10 +70,11 @@BA88D6CB4FD656C7180FE9F7 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = AliasVault/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };BB2F792C24A3F905000567C9 /* Expo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Expo.plist; sourceTree = "<group>"; };CE26D68C2DA7FCD2006DC04D /* VaultManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VaultManager.swift; sourceTree = "<group>"; };- CE26D68D2DA7FCD2006DC04D /* SharedCredentialStore.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SharedCredentialStore.swift; sourceTree = "<group>"; };- CE9A55E92DA8039F00CB0A4C /* Credential.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Credential.swift; sourceTree = "<group>"; };+ CE26D68D2DA7FCD2006DC04D /* VaultStore.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VaultStore.swift; sourceTree = "<group>"; };CE9A58FA2DBA982100CB0A4C /* RCTNativeVaultManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTNativeVaultManager.h; sourceTree = "<group>"; };CE9A58FB2DBA982100CB0A4C /* RCTNativeVaultManager.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RCTNativeVaultManager.mm; sourceTree = "<group>"; };+ CE9A5B5F2DBAE31D00CB0A4C /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };+ CE9A5B662DBAE42B00CB0A4C /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };CEE9097E2DA548C7008D568F /* Autofill.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = Autofill.appex; sourceTree = BUILT_PRODUCTS_DIR; };CEE9097F2DA548C7008D568F /* AuthenticationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AuthenticationServices.framework; path = System/Library/Frameworks/AuthenticationServices.framework; sourceTree = SDKROOT; };D3105EF00E7F103157A21E09 /* libPods-AliasVault.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AliasVault.a"; sourceTree = BUILT_PRODUCTS_DIR; };@@ -92,6 +94,17 @@/* End PBXFileSystemSynchronizedBuildFileExceptionSet section *//* Begin PBXFileSystemSynchronizedRootGroup section */+ CE9A5B592DBAE06400CB0A4C /* Models */ = {+ isa = PBXFileSystemSynchronizedRootGroup;+ exceptions = (+ );+ explicitFileTypes = {+ };+ explicitFolders = (+ );+ path = Models;+ sourceTree = "<group>";+ };CEE909812DA548C7008D568F /* Autofill */ = {isa = PBXFileSystemSynchronizedRootGroup;exceptions = (@@ -168,7 +181,7 @@CE9A58F92DBA97D500CB0A4C /* NativeVaultManager */,13B07FAE1A68108700A75B9A /* AliasVault */,CEE909812DA548C7008D568F /* Autofill */,- CE26D68A2DA7FCB5006DC04D /* CredentialManager */,+ CE26D68A2DA7FCB5006DC04D /* VaultStore */,D7E4C46ADA2E9064B798F356 /* ExpoModulesProviders */,2D16E6871FA4F8E400B85C8A /* Frameworks */,832341AE1AAA6A7D00B99B32 /* Libraries */,@@ -206,13 +219,14 @@path = AliasVault/Supporting;sourceTree = "<group>";};- CE26D68A2DA7FCB5006DC04D /* CredentialManager */ = {+ CE26D68A2DA7FCB5006DC04D /* VaultStore */ = {isa = PBXGroup;children = (- CE9A55E92DA8039F00CB0A4C /* Credential.swift */,- CE26D68D2DA7FCD2006DC04D /* SharedCredentialStore.swift */,+ CE9A5B592DBAE06400CB0A4C /* Models */,+ CE26D68D2DA7FCD2006DC04D /* VaultStore.swift */,+ CE9A5B5F2DBAE31D00CB0A4C /* README.md */,);- path = CredentialManager;+ path = VaultStore;sourceTree = "<group>";};CE9A58F92DBA97D500CB0A4C /* NativeVaultManager */ = {@@ -221,6 +235,7 @@CE26D68C2DA7FCD2006DC04D /* VaultManager.swift */,CE9A58FA2DBA982100CB0A4C /* RCTNativeVaultManager.h */,CE9A58FB2DBA982100CB0A4C /* RCTNativeVaultManager.mm */,+ CE9A5B662DBAE42B00CB0A4C /* README.md */,);path = NativeVaultManager;sourceTree = "<group>";@@ -266,6 +281,9 @@dependencies = (CEE9098A2DA548C7008D568F /* PBXTargetDependency */,);+ fileSystemSynchronizedGroups = (+ CE9A5B592DBAE06400CB0A4C /* Models */,+ );name = AliasVault;productName = AliasVault;productReference = 13B07F961A680F5B00A75B9A /* AliasVault.app */;@@ -285,6 +303,7 @@dependencies = ();fileSystemSynchronizedGroups = (+ CE9A5B592DBAE06400CB0A4C /* Models */,CEE909812DA548C7008D568F /* Autofill */,);name = Autofill;@@ -502,12 +521,11 @@files = (CE9A5A022DBAAE5000CB0A4C /* RCTNativeVaultManager.h in Sources */,13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */,- CE26D68E2DA7FCD2006DC04D /* SharedCredentialStore.swift in Sources */,+ CE26D68E2DA7FCD2006DC04D /* VaultStore.swift in Sources */,CE26D68F2DA7FCD2006DC04D /* VaultManager.swift in Sources */,13B07FC11A68108700A75B9A /* main.m in Sources */,CE9A58FC2DBA982100CB0A4C /* RCTNativeVaultManager.mm in Sources */,B18059E884C0ABDD17F3DC3D /* ExpoModulesProvider.swift in Sources */,- CE9A55EA2DA8039F00CB0A4C /* Credential.swift in Sources */,E8FD7000523F4549908941A2 /* noop-file.swift in Sources */,);runOnlyForDeploymentPostprocessing = 0;@@ -516,8 +534,7 @@isa = PBXSourcesBuildPhase;buildActionMask = 2147483647;files = (- CE9A55EB2DA8039F00CB0A4C /* Credential.swift in Sources */,- CE26D6912DA7FCD2006DC04D /* SharedCredentialStore.swift in Sources */,+ CE26D6912DA7FCD2006DC04D /* VaultStore.swift in Sources */,);runOnlyForDeploymentPostprocessing = 0;};