Skip to content

Commit 4f494f9

Browse files
Merge pull request #62 from jamf/Remove-deletion-of-keychain-credentials-on-mounting-failure
Remove deletion of keychain credentials on mounting failure
2 parents b7715c6 + 81320af commit 4f494f9

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.5.1] - 2025-2-10
8+
### Bug fixes
9+
- No longer delete keychain credentials when mounting a file share fails.
10+
711
## [1.5.0] - 2025-1-29
812
### Features
913
- Added the option in settings to restrict deletions after synchronization and manual deletions either entirely or to allow only deleting files or allowing deletion of both files and packages. (Issue #42)

Jamf Sync.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@
873873
"@executable_path/../Frameworks",
874874
);
875875
MACOSX_DEPLOYMENT_TARGET = 14.0;
876-
MARKETING_VERSION = 1.5.0;
876+
MARKETING_VERSION = 1.5.1;
877877
PRODUCT_BUNDLE_IDENTIFIER = com.jamf.jamfsync;
878878
PRODUCT_NAME = "$(TARGET_NAME)";
879879
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -905,7 +905,7 @@
905905
"@executable_path/../Frameworks",
906906
);
907907
MACOSX_DEPLOYMENT_TARGET = 14.0;
908-
MARKETING_VERSION = 1.5.0;
908+
MARKETING_VERSION = 1.5.1;
909909
PRODUCT_BUNDLE_IDENTIFIER = com.jamf.jamfsync;
910910
PRODUCT_NAME = "$(TARGET_NAME)";
911911
SWIFT_EMIT_LOC_STRINGS = YES;

JamfSync/Model/FileShareDp.swift

-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ class FileShareDp: DistributionPoint {
130130
}
131131
} catch {
132132
let serviceName = keychainHelper.fileShareServiceName(username: readWriteUsername, urlString: address)
133-
try await keychainHelper.deleteKeychainItem(serviceName: serviceName, key: readWriteUsername)
134133
Task { @MainActor in
135134
DataModel.shared.dpToPromptForPassword = self
136135
DataModel.shared.shouldPromptForDpPassword = true

0 commit comments

Comments
 (0)