Skip to content

Commit

Permalink
Merge pull request #62 from jamf/Remove-deletion-of-keychain-credenti…
Browse files Browse the repository at this point in the history
…als-on-mounting-failure

Remove deletion of keychain credentials on mounting failure
  • Loading branch information
HarryStrandJamf authored Feb 14, 2025
2 parents b7715c6 + 81320af commit 4f494f9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.5.1] - 2025-2-10
### Bug fixes
- No longer delete keychain credentials when mounting a file share fails.

## [1.5.0] - 2025-1-29
### Features
- 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)
Expand Down
4 changes: 2 additions & 2 deletions Jamf Sync.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 1.5.0;
MARKETING_VERSION = 1.5.1;
PRODUCT_BUNDLE_IDENTIFIER = com.jamf.jamfsync;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down Expand Up @@ -905,7 +905,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 1.5.0;
MARKETING_VERSION = 1.5.1;
PRODUCT_BUNDLE_IDENTIFIER = com.jamf.jamfsync;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down
1 change: 0 additions & 1 deletion JamfSync/Model/FileShareDp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ class FileShareDp: DistributionPoint {
}
} catch {
let serviceName = keychainHelper.fileShareServiceName(username: readWriteUsername, urlString: address)
try await keychainHelper.deleteKeychainItem(serviceName: serviceName, key: readWriteUsername)
Task { @MainActor in
DataModel.shared.dpToPromptForPassword = self
DataModel.shared.shouldPromptForDpPassword = true
Expand Down

0 comments on commit 4f494f9

Please sign in to comment.